[GLLUG] Apache help?

Benjamin Cathey benjamincathey at catheycompany.com
Thu Jun 21 08:23:24 EDT 2007


Folks,

I have an Apache issue here.  Maybe someone can help me?

httpd won't start.  I get this error:

"[root at mercury httpd]# httpd
(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
[root at mercury httpd]#"

Here is the netstat:

[root at mercury httpd]# netstat -plant
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name
tcp        0      0 127.0.0.1:2208              0.0.0.0:*                   LISTEN      2297/hpiod
tcp        0      0 192.168.1.200:993           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:995           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:389           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 0.0.0.0:998                 0.0.0.0:*                   LISTEN      2088/rpc.statd
tcp        0      0 192.168.1.200:110           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:143           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      2054/portmap
tcp        0      0 192.168.1.200:80            0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:465           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 0.0.0.0:44337               0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:563           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:119           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:25            0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:443           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 192.168.1.200:636           0.0.0.0:*                   LISTEN      3946/mailserver
tcp        0      0 127.0.0.1:2207              0.0.0.0:*                   LISTEN      2302/python
tcp        0      0 192.168.1.200:443           192.168.0.164:1088          FIN_WAIT2   -
tcp        0      0 192.168.1.200:443           192.168.0.164:1089          FIN_WAIT2   -
tcp        1      0 192.168.1.200:40411         209.132.176.120:80          CLOSE_WAIT  2473/python
tcp        0      0 :::22                       :::*                        LISTEN      2328/sshd
tcp        0      0 ::1:631                     :::*                        LISTEN      2314/cupsd
tcp        0    148 ::ffff:192.168.1.200:22     ::ffff:192.168.0.250:2208   ESTABLISHED 2760/1
[root at mercury httpd]#

The way it is SUPPOSED to be setup is our mailserver software is monitoring 192.168.1.200 and the other server is supposed to me 192.168.1.205 as is evident if you run ifconfig:

[root at mercury httpd]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:13:72:0B:D7:5A
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::213:72ff:fe0b:d75a/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26388 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20734 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:26912288 (25.6 MiB)  TX bytes:4231709 (4.0 MiB)
          Interrupt:17

eth0:0    Link encap:Ethernet  HWaddr 00:13:72:0B:D7:5A
          inet addr:192.168.1.205  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Interrupt:17

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2249 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2249 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6018160 (5.7 MiB)  TX bytes:6018160 (5.7 MiB)

[root at mercury httpd]#


Now I configured httpd using the fedora tool to configure it.  I am not all that familiar with the in's and outs of apache.  If someone can help (PLEASE) I would appreciate it - we need to have another server running on this box.  

Thanks,

Benjamin Cathey
System Administrator
Cathey Company
4917 Tranter St.
Lansing, MI 48910 USA
Phone:     517.393.4720
Fax:       517.393.4225
Toll Free: 800.333.1972
"Service is Our Profession"

**********************
** LEGAL DISCLAIMER **
**********************

This E-mail message and any attachments may contain legally privileged, confidential or proprietary information. If you are not the intended recipient(s), or the employee or agent responsible for delivery of this message to the intended recipient(s), you are hereby notified that any dissemination, distribution or copying of this E-mail message is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete this E-mail message from your computer. 




More information about the linux-user mailing list