Apache 重启时会有报 AH00558

AH00558: apache2: Could not reliably determine the server‘s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName‘ directive globally to suppress this message

解决的问题是:

sudo gedit /etc/apache2/apache2.conf

在文件后面加上:
#Server Name
ServerName 127.0.0.1

时间: 2024-11-05 06:12:59

Apache 重启时会有报 AH00558的相关文章

Apache重启报错原因

#Apache重启报错原因 [[email protected] /]# service httpd restart Stopping httpd:                                            [  OK  ] Starting httpd: httpd: apr_sockaddr_info_get() failed for www.example.com httpd: Could not reliably determine the server's 

Tomcat启动时org.apache.catalina.startup.VersionLoggerListener报错

启动Tomcat服务时,出现org.apache.catalina.startup.VersionLoggerListener报错,见下图: 解决办法: 打开Tomcat安装后目录,进入conf文件夹,找到配置文件server.xml,将<Listener className="org.apache.catalina.startup.VersionLoggerListener" />注释掉. 重启Tomcat服务就正常了.

Apache重启失败,提示:Job for httpd.service failed. See &#39;systemctl status httpd.service&#39; and &#39;journalctl -xn&#39; for details.

今天更新完程序,重启apache的时候,第一遍正常重启,1分钟之后第二次重启的时候报错了. 执行service httpd restart之后: 报错: Job for httpd.service failed. See 'systemctl status httpd.service' and 'journalctl -xn' for details. 此时查看apache状态已经处于stop. 执行 ps -ef | grep httpd  命令查看端口占用的时候,已经没有httpd进程,ap

apache ab压力测试报错apr_socket_recv

apache ab压力测试报错(apr_socket_recv: Connection reset by peer (104)) apache 自带的ab工具测试,当并发量达到1000多的时候报错如下: [[email protected] ~]# ab -n 100000 -c 1000 http://192.168.2.170/index.htmlThis is ApacheBench, Version 2.3 <$Revision: 655654 $>Copyright 1996 Ada

apache ab压力测试报错(apr_socket_recv: Connection reset by peer (104))

apache ab压力测试报错(apr_socket_recv: Connection reset by peer (104)) 今天用apache 自带的ab工具测试,当并发量达到1000多的时候报错如下: [[email protected]~]# This is ApacheBench, Version 2.3 <$Revision: 655654 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech

centos 下 apache 重启启动命令

apache 启动 usr/local/apache243/bin/apachectl start apache 重启 usr/local/apache243/bin/apachectl restart apache 关闭 usr/local/apache243/bin/apachectl restart apache 开机启动设置:每种服务器软件都有必要制成开机时自动启动,Apache服务器开机自动启动,只要在“/etc/rc.d/rc.local”文件,加上 Apache服务器的启动命令即可

服务器意外重启导致storm报错的问题处理

解决方法 cat /opt/storm-0.8.2/conf/storm.yaml中找到storm.local.dir设定的目录,备份supervisor和workers两个文件夹,#nohup supervise /service/storm/ &重启 错误如下 2014-06-17 12:27:05,267 INFO [main] daemon.supervisor (NO_SOURCE_FILE:invoke(0)) - Starting supervisor with id xxx at

linux下apache重启报错

重启apache报错信息如下: Could not reliably determine the server's fully qualified domain name, using localhost.localdomain. Set the 'ServerName' directive globally to suppress this message. 处理方法非常简单: 1)进入apache安装目录: 2)编辑httpd.conf文件,搜索#ServerName,在其下面添加一行--S

Linux下Apache重启遇到No space left on device错误的解决方法

解决办法:1.输入:ipcs -s 看有没有超过5个,如果有请执行下面2的命令:2.ipcs -s | perl -ane '/^0x00000000/ && `ipcrm -s $F[1]`'3.重启Apache服务.(到此问题解决!)ipcs -s | grep apache | perl -e 'while (<STDIN>) { @a=split(/\s+/); print `ipcrm sem $a[1]`}' 网上有人说用上面这条命令或者重启服务器之后也可以解决,没