|
||||||
| Forums FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Network/Internet Questions about internet applications, network configuration, usage (SAMBA, network printing, NFS) |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi all, this got me kind of stumped. I couldn't start apache on port 80 all out of sudden, it says it can't bin my adres to it:
Code:
Starting httpd2 (prefork) (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
startproc: exit status of parent of /usr/sbin/httpd2-prefork: 1
failed
Code:
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:783 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:6549 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:8089 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN tcp 0 0 :::389 :::* LISTEN tcp 0 0 :::139 :::* LISTEN tcp 0 0 :::111 :::* LISTEN tcp 0 0 :::21 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:631 :::* LISTEN tcp 0 0 :::25 :::* LISTEN tcp 0 0 :::445 :::* LISTEN |
|
|||
|
Is it repeatable? Sometimes you have to wait a while for the port to become free after a previous service has crashed.
Try and see if something is listening on the http port using lsof lsof -i | grep :http Try and see if some other apache is running: ps ax | grep httpd |
|
|||
|
it is repeatable and it apparently is bound to apache only because if I use netcat -l -p 80 it works and I can telnet to the port. So this is a problem with apache, maybe my configuration? Can anyone give me an idea where to start?
|
|
|||
|
You might have a duplicate Listen directive somewhere in your config files. Have you done any edits recently? Look over them.
Or have you activated apparmor or something like that? Think about what you changed recently. |
|
|||
|
ok i have checked my configuration and saw that gadmin-httpd changed something and backup my old. As I uninstalled gadmin I restored the old config and now everything works again. Thanks
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|