- 论坛徽章:
- 0
|
这是我80端口的 /ect/rc.d/init.d/httpd
#!/bin/sh
#chkconfig:2345 10 90
#description:Activates/Deactivates Apache Web Server
#pidfile: /usr/local/apache/log/httpd.pid
#config: /usr/local/apache/conf/httpd.conf
这是我81端口的 /ect/rc.d/init.d/httpd81
#!/bin/sh
#chkconfig:2345 11 90
#description:Activates/Deactivates Apache Web Server
#pidfile: /usr/local/apache/log/httpd81.pid
#config: /usr/local/apache/conf/httpd.test.conf
为什么80的service httpd start 可以run起来,但是运行service httpd81 start 的就会提示:
( 98 ) Address already in use: make_sock: could not bind to address [::]:80
( 98 ) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
[ 本帖最后由 lookingfor 于 2008-10-25 15:18 编辑 ] |
|