- 论坛徽章:
- 0
|
以下是版主需要的。请参考。另外,当我把httpd关了之后,想重起启动却启动不了。提示也一起发送。[asianux@localhost ~]$ /etc/init.d/httpd stop
rm: 无法删除‘/var/run/httpd.pid’: 权限不够 [失败]
[asianux@localhost ~]$ su
Password:
su: incorrect password
[asianux@localhost ~]$ su
Password:
[root@localhost asianux]# /etc/init.d/httpd stop
停止 httpd: [ 确定 ]
[root@localhost asianux]# /usr/local/apache2/bin/apachectl start
[Sat Aug 26 13:35:10 2006] [warn] module php5_module is already loaded, skipping
[root@localhost asianux]# /usr/local/apache2/bin/apachectl start
[Sat Aug 26 13:40:18 2006] [warn] module php5_module is already loaded, skipping
httpd (pid 5252) already running
关掉后,想重新启动却启动不了:
[root@localhost asianux]# /etc/init.d/httpd start
启动 httpd:(9 地址已在使用: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[失败]
[root@localhost asianux]# /etc/init.d/httpd start
启动 httpd:(9 地址已在使用: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[失败]
[root@localhost asianux]# vi /usr/local/apache2/conf/httpd.conf
[root@localhost asianux]# /etc/init.d/httpd start
启动 httpd:(9 地址已在使用: make_sock: could not bind to address [::]:80
no listening sockets available, shutting down
Unable to open logs
[失败]
[root@localhost asianux]#
错误的日志如下:
[Sat Aug 26 09:37:48 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /favicon.ico denied
[Sat Aug 26 09:55:26 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 09:56:23 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 26 09:56:38 2006] [notice] Apache/2.2.3 (Unix) PHP/5.1.4 configured -- resuming normal operations
[Sat Aug 26 09:56:44 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 09:56:47 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 09:59:04 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 26 09:59:26 2006] [notice] Apache/2.2.3 (Unix) PHP/5.1.4 configured -- resuming normal operations
[Sat Aug 26 10:05:13 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:09:55 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:09:58 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:26:05 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:26:18 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:26:45 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:28:27 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /home/asinaux/first.php denied
[Sat Aug 26 10:31:23 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 26 10:31:36 2006] [warn] module php5_module is already loaded, skipping
[Sat Aug 26 10:31:36 2006] [notice] Apache/2.2.3 (Unix) PHP/5.1.4 configured -- resuming normal operations
[Sat Aug 26 10:31:45 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /home/asinaux/first.php denied
[Sat Aug 26 10:31:56 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:32:06 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:33:15 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:40:56 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:41:05 2006] [error] [client 192.168.1.54] (13)Permission denied: access to /first.php denied
[Sat Aug 26 10:43:11 2006] [notice] caught SIGTERM, shutting down
[Sat Aug 26 13:35:10 2006] [warn] module php5_module is already loaded, skipping
[Sat Aug 26 13:35:10 2006] [notice] Apache/2.2.3 (Unix) PHP/5.1.4 configured -- resuming normal operations |
|