On Thu, Jul 29, 2010 at 3:14 PM, Kyle Bader <[email protected]> wrote:
> > * Starting apache2 ...
> > (98)Address already in use: make_sock: could not bind to address
> > 64.166.164.49:80
> > no listening sockets available, shutting down
> > Unable to open
> > logs [
> ok
> > ]
>
> Make sure an interface is listening on that address:
>
> ip a |grep 64.166.164.49
>
> treat apache2 # ip a | grep 64.166.164.49
inet 64.166.164.49/29 brd 64.166.164.55 scope global eth0
treat apache2 #
That's no listener.
Check for bound processes:
>
> lsof -i @64.166.164.49
>
treat apache2 # lsof -i @64.166.164.49
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
named 4725 named 21u IPv4 8406 0t0 TCP treat.kosmanor.com:domain
(LISTEN)
named 4725 named 513u IPv4 8405 0t0 UDP treat.kosmanor.com:domain
ntpd 5117 ntp 18u IPv4 9045 0t0 UDP treat.kosmanor.com:ntp
firefox 7832 kevin 27u IPv4 29522 0t0 TCP treat.kosmanor.com:57043
->nuq04s01-in-f83.1e100.net:https (ESTABLISHED)
firefox 7832 kevin 56u IPv4 29352 0t0 TCP treat.kosmanor.com:57034
->nuq04s01-in-f83.1e100.net:https (ESTABLISHED)
firefox 7832 kevin 58u IPv4 29453 0t0 TCP treat.kosmanor.com:54324
->nuq04s01-in-f18.1e100.net:https (ESTABLISHED)
firefox 7832 kevin 63u IPv4 29536 0t0 TCP treat.kosmanor.com:59436
->nuq04s01-in-f102.1e100.net:http (ESTABLISHED)
firefox 7832 kevin 66u IPv4 29538 0t0 TCP treat.kosmanor.com:56773
->74.125.164.30:http (ESTABLISHED)
firefox 7832 kevin 72u IPv4 29475 0t0 TCP treat.kosmanor.com:37415
->mg201a.mail.vip.mud.yahoo.com:http (CLOSE_WAIT)
treat apache2 #
And that's a DNS listener, an NTP listener, and firefox as a client, not a
listener. Though it makes me want to track down 1e100.net and find out who
they are.
I'll see about strace.
> If that fails I'd strace the startup manually.
>
> --
>
> Kyle
>
--
Kevin O'Gorman, PhD