httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Watson <mi...@crucis.net>
Subject Re: [users@httpd] HTTPD won't start. Fails with error message.
Date Sat, 16 Feb 2008 01:50:20 GMT
Now that I'm staring at this.  I see that I've a different IP address on 
eth0.  However, I still get the same error message with

Listen   80

in httpd.conf than if I specified the IP.

mw

--

"Lose not thy airspeed, lest the ground rises up and smites thee."
  -- William Kershner



Mike Watson wrote:
>  Here it is...
>
>  [root@cygni ~]# ifconfig -a
>  eth0      Link encap:Ethernet  HWaddr 00:26:54:0E:AD:87
>          inet addr:192.168.1.30  Bcast:192.168.1.255  Mask:255.255.255.0
>          inet6 addr: fe80::226:54ff:fe0e:ad87/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:9877 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:9009 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:10449817 (9.9 MiB)  TX bytes:695273 (678.9 KiB)
>
>  eth1      Link encap:Ethernet  HWaddr 00:0C:6E:6A:AA:D7
>          BROADCAST MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>          Interrupt:5 Base address:0xa000
>
>  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:417 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:417 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:104080 (101.6 KiB)  TX bytes:104080 (101.6 KiB)
>
>  peth0     Link encap:Ethernet  HWaddr 00:26:54:0E:AD:87
>          inet6 addr: fe80::226:54ff:fe0e:ad87/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:9997 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:9202 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:1000
>          RX bytes:10611433 (10.1 MiB)  TX bytes:738761 (721.4 KiB)
>          Interrupt:11 Base address:0x6000
>
>  virbr0    Link encap:Ethernet  HWaddr 00:00:00:00:00:00
>          inet addr:192.168.122.1  Bcast:192.168.122.255  Mask:255.255.255.0
>          inet6 addr: fe80::200:ff:fe00:0/64 Scope:Link
>          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>          TX packets:73 errors:0 dropped:0 overruns:0 carrier:0
>          collisions:0 txqueuelen:0
>          RX bytes:0 (0.0 b)  TX bytes:12924 (12.6 KiB)
>
>  Dan_Mitton@ymp.gov wrote:
> >  Ok, how about:
> >
> >  ifconfig -a
> >
> >
> >
> >  Please respond to users@httpd.apache.org
> >
> >  To:     users@httpd.apache.org
> >  cc:      (bcc: Dan Mitton/YD/RWDOE)
> >  Subject:        Re: [users@httpd] HTTPD won't start. Fails with error
> >  message.
> >  LSN: Not Relevant
> >  User Filed as: Not a Record
> >
> >  I fat fingered it when I wrote the e-mail.  Here's the LISTEN statement
> >  in httpd
> >
> >  Listen     192.168.1.200:80
> >
> >  In this particular config, I'm not using VirtualHost.  They are
> >  commented out.  I simplified the config greatly trying to find the
> >  problem.
> >
> >  mw
> >
> >  "Lose not thy airspeed lest the ground rises up and smites thee." - 
Anon.
> >
> >
> >
> >  Dan_Mitton@ymp.gov wrote:
> > > You fat fingered it when you cut and pasted from the error log??  What
> >  do
> > > your "Listen" and "VirtualHost" directives look like?
> > >
> > >
> > >
> > > Please respond to users@httpd.apache.org
> > >
> > > To:     users@httpd.apache.org
> > > cc:      (bcc: Dan Mitton/YD/RWDOE)
> > > Subject:        Re: [users@httpd] HTTPD won't start. Fails with error
> > > message.
> > > LSN: Not Relevant
> > > User Filed as: Not a Record
> > >
> > > Here's the netstat output.  There isn't any difference from my other
> > > servers.
> > >
> > > netstat -a | grep LISTEN
> > >
> > > [root@cygni ~]# netstat -a | grep LISTEN
> > > tcp        0      0 localhost6.localdomai:irdmi *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain:2208 *:*
> > > LISTEN
> > > tcp        0      0 *:mysql                     *:*
> > > LISTEN
> > > tcp        0      0 *:netbios-ssn               *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain6:783 *:*
> > > LISTEN
> > > tcp        0      0 *:sunrpc                    *:*
> > > LISTEN
> > > tcp        0      0 *:x11                       *:*
> > > LISTEN
> > > tcp        0      0 *:ndmp                      *:*
> > > LISTEN
> > > tcp        0      0 192.168.122.1:domain        *:*
> > > LISTEN
> > > tcp        0      0 *:ftp                       *:*
> > > LISTEN
> > > tcp        0      0 cygni.crucis.net:domain     *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdoma:domain *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain6:ipp *:*
> > > LISTEN
> > > tcp        0      0 *:smtp                      *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain:rndc *:*
> > > LISTEN
> > > tcp        0      0 *:microsoft-ds              *:*
> > > LISTEN
> > > tcp        0      0 *:38078                     *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain:2207 *:*
> > > LISTEN
> > > tcp        0      0 *:imaps                     *:*
> > > LISTEN
> > > tcp        0      0 *:pop3s                     *:*
> > > LISTEN
> > > tcp        0      0 *:pop3                      *:*
> > > LISTEN
> > > tcp        0      0 *:imap                      *:*
> > > LISTEN
> > > tcp        0      0 *:x11                       *:*
> > > LISTEN
> > > tcp        0      0 *:ssh                       *:*
> > > LISTEN
> > > tcp        0      0 localhost6.localdomain:rndc *:*
> > > LISTEN
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 10528  /var/lib/xend/relocation-socket
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 9111   /tmp/.font-unix/fs7100
> > > unix  2      [ ACC ]     STREAM     LISTENING     11456 
/tmp/.gdm_socket
> > > unix  2      [ ACC ]     STREAM     LISTENING     14183
> >  /tmp/.X11-unix/X0
> > > unix  2      [ ACC ]     STREAM     LISTENING     9606
> > > @/var/run/hald/dbus-jS9QIg74Wf
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 10995  /var/lib/xend/xend-socket
> > > unix  2      [ ACC ]     STREAM     LISTENING     6605
> > > /var/run/audit_events
> > > unix  2      [ ACC ]     STREAM     LISTENING     9609
> > > @/var/run/hald/dbus-5cU9CstUJr
> > > unix  2      [ ACC ]     STREAM     LISTENING     6904
> > > /var/run/rpcbind.sock
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 7261   /var/run/dbus/system_bus_socket
> > > unix  2      [ ACC ]     STREAM     LISTENING     7359
> >  /var/run/pcscd.comm
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 7741   /var/run/cups/cups.sock
> > > unix  2      [ ACC ]     STREAM     LISTENING     14701
> > > /tmp/.ICE-unix/4195
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 8236   /var/run/dovecot/dict-server
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 8244   /var/run/dovecot/login/default
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 8249   /var/run/dovecot/auth-worker.2482
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14496  /tmp/ssh-dOmAfO4013/agent.4013
> > > unix  2      [ ACC ]     STREAM     LISTENING     8935
> > > /var/run/nasd/audio0
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14552  /tmp/gpg-c4W3VG/S.gpg-agent
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14591  /tmp/ksocket-mikew/kdeinit__0
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 9528   /var/run/libvirt/libvirt-sock
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14593  /tmp/ksocket-mikew/kdeinit-:0
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14600  /tmp/.ICE-unix/dcop4184-1203118537
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 9530   /var/run/libvirt/libvirt-sock-ro
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14828  /tmp/ksocket-mikew/cygni.crucis.net-1072-47b621cb
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 10501  /var/run/xenstored/socket
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 14621  /tmp/ksocket-mikew/klauncheroUZLib.slave-socket
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 10502  /var/run/xenstored/socket_ro
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 10998  /var/run/xend/xen-api.sock
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 11001  /var/run/xend/xmlrpc.sock
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15204  /tmp/orbit-mikew/linc-10bc-0-6843d7155114c
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15227  /tmp/orbit-mikew/linc-10b6-0-2f2803c352bfa
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15320  /tmp/keyring-SiBydd/socket
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15370  /tmp/orbit-mikew/linc-10b8-0-179db4e0a36f1
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15375  /tmp/orbit-mikew/linc-10ce-0-743de388abdcd
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 15379  /tmp/orbit-mikew/linc-10aa-0-1eb199d3ac4cc
> > > unix  2      [ ACC ]     STREAM     LISTENING
> > > 8096   /var/lib/mysql/mysql.sock
> > > unix  2      [ ACC ]     STREAM     LISTENING     14507
> > > @/tmp/dbus-uWiegdZHqF
> > >
> > >
> > > "Lose not thy airspeed lest the ground rises up and smites thee." -
> >  Anon.
> > >
> > >
> > > Dan_Mitton@ymp.gov wrote:
> > >
> > >> How about the output from:
> > >>
> > >> netstat -na | grep LISTEN
> > >>
> > >> How many "Listen" commands do you have in your httpd.conf ?
> > >>
> > >>
> > >>
> > >> Please respond to users@httpd.apache.org
> > >>
> > >> To:     users@httpd.apache.org
> > >> cc:      (bcc: Dan Mitton/YD/RWDOE)
> > >> Subject:        Re: [users@httpd] HTTPD won't start.  Fails with error
> > >> message.
> > >> LSN: Not Relevant
> > >> User Filed as: Not a Record
> > >>
> > >> Connect to address 127.0.0.1 Connection refused.
> > >>
> > >> "Lose not thy airspeed lest the ground rises up and smites thee." -
> > >>
> > > Anon.
> > >
> > >> Richard de Vries wrote:
> > >>
> > >>
> > >>> It appears something else is already listening on port 80 and as such
> > >>>
> > >>>
> > >> Apache is unable to bind to that port.
> > >>
> > >>
> > >>> What happens when you do a "telnet localhost 80". Do you get
> >  connected?
> > >>> ----- Original Message ----
> > >>> From: Mike - W0TMW <mikew@crucis.net>
> > >>> To: users@httpd.apache.org
> > >>> Sent: Friday, February 15, 2008 5:19:43 PM
> > >>> Subject: [users@httpd] HTTPD won't start. Fails with error message.
> > >>>
> > >>> I'm building a server based on Fedora 7 and httpd won't start.  I'm
> > >>> running out of space on another server and this one is intended as
a
> > >>> replacement.  I've looked through the archives, FAQs and while this
> > >>> issue is mentioned, that's all I can find---a mention with no 
help for
> >
> > >>> resolution.
> > >>>
> > >>> The error is:
> > >>>
> > >>> Starting httpd: (98)Address already in use: make_sock: could not bind
> > >>>
> > > to
> > >
> > >>> address 192.168.1.300:80 No listening sockets available, shutting
> >  down.
> > >>> Unable to open logs              [Failed]
> > >>>
> > >>> I have another webserver that works just fine.  The log directories
>  have identical owners/groups permissions so there shouldn't a permissions
> > >>> problem for the logfiles.  Plus the httpd.conf is identical. One
>  works the other servers doesn't.
> > >>>
> > >>> Could anyone point me towards resolving this?
> > >>>
> > >>> Mike W
> > >>>
> >
>
>
>  ---------------------------------------------------------------------
>  The official User-To-User support forum of the Apache HTTP Server Project.
>  See <URL:http://httpd.apache.org/userslist.html> for more info.
>  To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>  For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message