centos5.5 上无法启动httpd

centos5.5 上无法启动httpd

我无法启动我的 httpd 服务器。

当我尝试启动它时,我得到了这个输出:

Starting httpd: httpd:apr_sockaddr_info_get() failed for coyote.localdomain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

我在网上看到第一条消息可能是由 /etc/hosts 文件配置错误引起的。虽然我的文件似乎没有问题:

127.0.0.1    localhost
my.vm.i.p    coyote

我还运行了 apachectl -S,它给出了以下输出:

httpd: apr_sockaddr_info_get() failed for coyote.localdomain
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:443                  is a NameVirtualHost
     default server 127.0.0.1 (/etc/httpd/conf.d/ssl.conf:81)
     port 443 namevhost 127.0.0.1 (/etc/httpd/conf.d/ssl.conf:81)
*:80                   is a NameVirtualHost
     default server a1.template.company.net (/etc/httpd/conf.d/a1.template.conf:1)
     port 80 namevhost a1.template.company.net (/etc/httpd/conf.d/a1.template.conf:1)
     port 80 namevhost a2.template.company.net (/etc/httpd/conf.d/a2.template.conf:1)
Syntax OK

当我尝试以调试模式启动服务器时,除了模块的完整列表(正确加载)之外,没有比正常启动模式更有用的信息

您知道可能出了什么问题吗?

谢谢

干杯

相关内容