Geeky Drupal-related bootnote: 'HTTP status request fails' - fixed

I've been having a problem for the last couple of weeks with the Drupal website I've been working on where the webserver couldn't resolve any external URLs, which meant that the website couldn't check for updates, send e-mails, or access anything on the internet because it couldn't resolve web addresses through DNS. Drupal was reporting the error "HTTP status request status: fails".

The problem was in PHP only - command line nslookups and pings were working fine, and I was completely stumped.

It turns out that the problem was caused by a DNS server failure we had a little while back and, while the server came back online very quickly, Apache wasn't able to get itself together.

To fix it, all I had to do was issue the following two commands at the command line:

  • apachectl graceful-stop
  • apachectl -k start

... and voila - all working again.

What a pain in the arse... ;o)

No comments available.

Add your comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
Please type the text in the image to prove you're a human being - this helps to prevent spam (if you cannot see an image, please reload this page)
Image CAPTCHA
Enter the characters shown in the image.

Most-mentioned in the blog