Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I've set up a couple of test sites to run on my desktop Mandriva 2010, some of them fetch part of their content from the www (i.e. Wordpress RSS plugins, Twitter API, etc).

However, at every boot they're unable to connect and retrieve data: I have to restart the httpd service to make them work.

Nothing serious, but a little frustrating. Any idea?

share|improve this question
    
Can you post the boot order of your services? –  Rilindo Jul 1 '11 at 2:09
add comment

3 Answers 3

Have a look where in your init apache is being started. You may just need to knock it down a few places to make it start later in the boot process.

Another (less beautiful) way could be to add someting to /etc/rc.local to kick apache once the rest of init has finished.

share|improve this answer
add comment

Sounds like apache might be coming up before networking has been fully established. You probably need to add a delay to the apache startup sequence. That could be as simple as adding a sleep 15 statement to the "start" clause of the apache init script.

share|improve this answer
add comment

Also check log files:

  1. /var/log/
  2. /var/log/httpd
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.