1 |
On Thu, Jul 29, 2010 at 3:14 PM, Kyle Bader <kyle.bader@×××××.com> wrote: |
2 |
|
3 |
> > * Starting apache2 ... |
4 |
> > (98)Address already in use: make_sock: could not bind to address |
5 |
> > 64.166.164.49:80 |
6 |
> > no listening sockets available, shutting down |
7 |
> > Unable to open |
8 |
> > logs [ |
9 |
> ok |
10 |
> > ] |
11 |
> |
12 |
> Make sure an interface is listening on that address: |
13 |
> |
14 |
> ip a |grep 64.166.164.49 |
15 |
> |
16 |
> treat apache2 # ip a | grep 64.166.164.49 |
17 |
inet 64.166.164.49/29 brd 64.166.164.55 scope global eth0 |
18 |
treat apache2 # |
19 |
That's no listener. |
20 |
|
21 |
Check for bound processes: |
22 |
> |
23 |
> lsof -i @64.166.164.49 |
24 |
> |
25 |
|
26 |
treat apache2 # lsof -i @64.166.164.49 |
27 |
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME |
28 |
named 4725 named 21u IPv4 8406 0t0 TCP treat.kosmanor.com:domain |
29 |
(LISTEN) |
30 |
named 4725 named 513u IPv4 8405 0t0 UDP treat.kosmanor.com:domain |
31 |
|
32 |
ntpd 5117 ntp 18u IPv4 9045 0t0 UDP treat.kosmanor.com:ntp |
33 |
firefox 7832 kevin 27u IPv4 29522 0t0 TCP treat.kosmanor.com:57043 |
34 |
->nuq04s01-in-f83.1e100.net:https (ESTABLISHED) |
35 |
firefox 7832 kevin 56u IPv4 29352 0t0 TCP treat.kosmanor.com:57034 |
36 |
->nuq04s01-in-f83.1e100.net:https (ESTABLISHED) |
37 |
firefox 7832 kevin 58u IPv4 29453 0t0 TCP treat.kosmanor.com:54324 |
38 |
->nuq04s01-in-f18.1e100.net:https (ESTABLISHED) |
39 |
firefox 7832 kevin 63u IPv4 29536 0t0 TCP treat.kosmanor.com:59436 |
40 |
->nuq04s01-in-f102.1e100.net:http (ESTABLISHED) |
41 |
firefox 7832 kevin 66u IPv4 29538 0t0 TCP treat.kosmanor.com:56773 |
42 |
->74.125.164.30:http (ESTABLISHED) |
43 |
firefox 7832 kevin 72u IPv4 29475 0t0 TCP treat.kosmanor.com:37415 |
44 |
->mg201a.mail.vip.mud.yahoo.com:http (CLOSE_WAIT) |
45 |
treat apache2 # |
46 |
|
47 |
And that's a DNS listener, an NTP listener, and firefox as a client, not a |
48 |
listener. Though it makes me want to track down 1e100.net and find out who |
49 |
they are. |
50 |
|
51 |
I'll see about strace. |
52 |
|
53 |
|
54 |
> If that fails I'd strace the startup manually. |
55 |
> |
56 |
> -- |
57 |
> |
58 |
> Kyle |
59 |
> |
60 |
|
61 |
|
62 |
|
63 |
-- |
64 |
Kevin O'Gorman, PhD |