RE: [users@httpd] "cannot assign requested address" error onboot, but not onmanual start...?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> -----Original Message-----
> From: Robert Granvin [mailto:Robert.Granvin@xxxxxxxxxxxxxx]
> Sent: Donnerstag, 2. Juni 2005 20:15
> To: users@xxxxxxxxxxxxxxxx; Boyle Owen
> Subject: RE: [users@httpd] "cannot assign requested address" error
> onboot, but not onmanual start...?
> 
> 
> Basically, this is exactly where it is started.  In fact, 
> it's the last item started in runlevel 3.
> 
> Other network services (examples: tomcat) are started prior 
> and available (and we've also gone the route of shutting down 
> everything that might conflict at boot time, with no change).
> 
> If we run the steps manually once the server is up, it all 
> works fine, of course.  So it's only Apache failing to start 
> at that point.  It's odd.

Try binding apache to a different port eg, Listen 8080 (although, I notice you *don't* get a "port already in use" message). Also look in /var/adm/messages and var/log/syslog to see if there's anything helpful.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 


> 
> 
> \\ Robert J. Granvin                                          
>    Webmaster
>  \\ robert.granvin@xxxxxxxxxxxxxx                       Metro 
> State University
> 
> >>> Owen.Boyle@xxxxxxx 06/02/05 10:47 AM >>>
> > -----Original Message-----
> > From: Robert Granvin [mailto:Robert.Granvin@xxxxxxxxxxxxxx] 
> > Sent: Donnerstag, 2. Juni 2005 17:43
> > To: users@xxxxxxxxxxxxxxxx 
> > Subject: [users@httpd] "cannot assign requested address" 
> > error on boot,
> > but not onmanual start...?
> > 
> > 
> > I'm hoping for some insight and suggestions on this one...
> > 
> > Our apache /etc/init.d (very straightforward, by the way) 
> > works when you execute it by hand, but does not function 
> > correctly during a system boot.
> 
> When do you start it? Apache should start at least in run 
> level 3 and pretty late on (eg S90apache). It might be you 
> are starting it before TCP/IP.
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
> > 
> > During boot, we receive the following errors (only the IP 
> > address has been changed in the example)
> > 
> >    apache: starting
> >    (99)Cannot assign requested address: make_sock: could not 
> > bind to address 12.34.56.78:80
> >    no listening sockets available, shutting down
> >    Unable to open logs
> >    Done!
> > 
> > 
> > ALL other services (Coldfusion, tomcat, etc.) start up 
> > successfully during boot, which all reside in the same disk 
> > tree as well.
> > 
> > When the startup script is run immediately after boot, it 
> works great:
> > 
> >    apache: starting
> >    Done!
> > 
> > 
> > Does anyone have any ideas or suggestions for us?  Having to 
> > manually restart after a reboot is really kindof a pain.  :-)
> > 
> > 
> > \\ Robert J. Granvin                                          
> >    Webmaster
> >  \\ robert.granvin@xxxxxxxxxxxxxx                       Metro 
> > State University
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > 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@xxxxxxxxxxxxxxxx 
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx 
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx 
> > 
> > 
> Diese E-mail ist eine private und persönliche Kommunikation. 
> Sie hat keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der 
> SWX Gruppe. This e-mail is of a private and personal nature. 
> It is not related to the exchange or business activities of 
> the SWX Group. Le présent e-mail est un message privé et 
> personnel, sans rapport avec l'activité boursière du Groupe SWX.
>  
>  
> This message is for the named person's use only. It may 
> contain confidential, proprietary or legally privileged 
> information. No confidentiality or privilege is waived or 
> lost by any mistransmission. If you receive this message in 
> error, please notify the sender urgently and then immediately 
> delete the message and any copies of it from your system. 
> Please also immediately destroy any hardcopies of the 
> message. You must not, directly or indirectly, use, disclose, 
> distribute, print, or copy any part of this message if you 
> are not the intended recipient. The sender's company reserves 
> the right to monitor all e-mail communications through their 
> networks. Any views expressed in this message are those of 
> the individual sender, except where the message states 
> otherwise and the sender is authorised to state them to be 
> the views of the sender's company.
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx 
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx 
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx 
> 
> 
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux