源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name

一、解决APR和APR-util错误:

1.1、安装APR:

[[email protected] httpd-2.2.23]# cd srclib/apr
[[email protected] apr]#  ./configure --prefix=/usr/local/apr
root@ganglia apr]# make && make install

1.2、安装APR-util:

[[email protected] apr]# cd ../apr-util/
[[email protected] apr-util]#  ./configure --prefix=/usr/local/apr-util --with-apr=/usr/local/apr
[[email protected] apr-util]# make && make install

1.3、安装apache,加入参数(--with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util)

[[email protected] httpd-2.2.23]# ./configure --prefix=/usr/local/apache2 --enable-so --enable-mods-shared=most  --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util
[[email protected] httpd-2.2.23]# make && make install

二、解决httpd: Could not reliably determine the server‘s fully qualified domain name, using问题:
    2.1、进入apache的安装目录;

Windows:D:\Program Files\Apache Software Foundation\Apache2.2\conf

Linux:/usr/local/apache/conf

2.2、修改httpd.conf

将里面的#ServerName localhost:80 注释去掉即可。

2.3、再次重启http。

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name

时间: 2024-12-28 01:11:32

源码安装Apache,报错:Cannot use an external APR with the bundled APR-util和httpd: Could not reliably determine the server's fully qualified domain name的相关文章

测试Apache服务器及httpd: Could not reliably determine the server's fully qualified domain name解决办法

测试Apache服务器: 重启apache: sudo /usr/local/apache/bin/apachectl restart 若出现错误: httpd: Could not reliably determine the server's fully qualified domain name...... 解决办法: 1)进入apache的安装目录:(视个人安装情况而不同) [[email protected]]# cd /usr/local/apache/conf 2)编辑httpd.

httpd启动报错httpd: Could not reliably determine the server's fully qualified domain name

安装完apache-httpd后,启动时报错如下: [[email protected] app]# service httpd start Starting httpd: httpd: apr_sockaddr_info_get() failed for ppt httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName  [  OK  

解决apache启动错误:httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

启动apache遇到提示: [[email protected] conf]# ../bin/apachectl -thttpd: apr_sockaddr_info_get() failed for bqh-119httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerNameSyntax OK[[email protected] conf]#

解决apache启动错误httpd: Could not reliably determine the server's fully qualified domain name

AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this messagehttpd (pid 1068) already running 编辑httpd.conf文件,搜索"#ServerName",添

如何解决apache启动时错误:Could not reliably determine the server's fully qualified domain name

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [[email protected] httpd-2.2.4]# /usr/local/apache/bin/apachectl start httpd: Could not reliably determine the server's fully qualified domain name, using 127.0

解决apache启动错误:Could not reliably determine the server's fully qualified domain name

启动apache遇到错误:httpd: Could not reliably determine the server's fully qualified domain name [[email protected] httpd-2.2.4]# /usr/local/apache2/bin/apachectl start httpd: Could not reliably determine the server's fully qualified domain name, using ::1

apache AH00558错误: Could not reliably determine the server's fully qualified domain name

/usr/local/httpd/bin/apachectl start AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message apache 启动出现这种错误的解决方法:将 apache 的配

apache启动问题: Could not reliably determine the server's fully qualified domain name

[[email protected]]# service httpd startStarting httpd: httpd: apr_sockaddr_info_get() failed for ruskyhttpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName *********************** 解决方法: 修改httpd.

重启Apache报错apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting的解决方法

启动apache提示 : apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName ... waiting apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName (1)