Results 1 to 4 of 4
Hi
I am trying to do Name Base Hosting. I had done all require setting .
But when i try to restart the httpd service I am getting an error
...
- 04-20-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 2
Apache Error !!
Hi
I am trying to do Name Base Hosting. I had done all require setting .
But when i try to restart the httpd service I am getting an error
Can someone plese help me out in this issue !!
Thanks
Bhagyesh
- 04-20-2010 #2Just Joined!
- Join Date
- Apr 2010
- Posts
- 2
[root@server1 ~]# service httpd start
Starting httpd: (9
Address already in use: make_sock: could not bind to address [::]:80
(9
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
[FAILED]
[root@server1 ~]#
I did chk with port service as well
[COLOR="green"][root@server1 ]# nmap -sT localhost
Starting Nmap 4.11 ( http:------Nmap - Free Security Scanner For Network Exploration & Security Audits.] ) at 2010-04-20 16:10 IST
Interesting ports on <localhost >(127.0.0.1):
Not shown: 1663 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
25/tcp open smtp
80/tcp open http[/COLOR]
- 04-20-2010 #3
You should use 'service httpd restart' to restart your apache server; if it's already running, then the port it uses is in use, and cannot start again. Alternatively you can stop the service with 'service httpd stop' followed by 'service httpd start'.
Linux user #126863 - see http://linuxcounter.net/
- 04-23-2010 #4Just Joined!
- Join Date
- Jan 2008
- Posts
- 17
Apache : Address already in use
Your nmap shows a web server already on port 80. You need to find out what program has that port. If running 'service httpd stop' then running your nmap command again still shows something listening on port 80, you might have another program listening on port 80.


Reply With Quote