找回密码
 注册
查看: 904|回复: 2

Apache 不能启动

[复制链接]
发表于 2006-7-5 11:10:07 | 显示全部楼层 |阅读模式
我用fc5,只是装了个Apache,就不能正常启动

[root@localhost /]# apachectl start
/usr/local/apache2/bin/httpd: error while loading shared libraries: /usr/local/apache2/lib/libapr-1.so.0: cannot restore segment prot after reloc: Permission denied

这会是哪的问题呀?


我的httpd.conf(删除了注解)


ServerRoot "/usr/local/apache2"

Listen 80

<IfModule !mpm_netware_module>
User daemon
Group daemon
</IfModule>

ServerAdmin [email protected]

DocumentRoot "/usr/local/apache2/htdocs"

<Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
</Directory>

<Directory "/usr/local/apache2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all

</Directory>

<IfModule dir_module>
    DirectoryIndex index.html
</IfModule>

<FilesMatch "^\.ht">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>

ErrorLog logs/error_log

LogLevel warn

<IfModule log_config_module>

    LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
    LogFormat "%h %l %u %t \"%r\" %>s %b" common

    <IfModule logio_module>
      LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
    </IfModule>

    CustomLog logs/access_log common

</IfModule>

<IfModule alias_module>
    ScriptAlias /cgi-bin/ "/usr/local/apache2/cgi-bin/"

</IfModule>

<IfModule cgid_module>

</IfModule>


<Directory "/usr/local/apache2/cgi-bin">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Directory>

DefaultType text/plain

<IfModule mime_module>

    TypesConfig conf/mime.types
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz

</IfModule>

<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>
发表于 2006-7-5 11:38:16 | 显示全部楼层
fc5 不带?
回复

使用道具 举报

 楼主| 发表于 2006-7-5 14:39:51 | 显示全部楼层
没注意这个问题,应该是带,但是我没选
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2025-2-12 13:48 , Processed in 0.032445 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表