You are not logged in.

#1 2008-07-23 22:40:52

jstech
Member
From: Baltimore
Registered: 2004-05-06
Posts: 27

Strange behavior with apache and httpd.pid on upgrade

I upgraded apache from 2.2.8-2 -> 2.2.9-4, and it gave me some strange behavior that I thought I should mention here.

After the upgrade, I reviewed my config file, then:
$ /etc/rc.d/httpd restart
:: Stopping HTTP Daemon   [DONE]
:: Starting HTTP Daemon    [FAIL]

So I looked into every log I could think of, found nothing, double-checked my config, and tried again. Same thing. For the hell of it, I went to a browser and loaded my site, www.moviestosee.net, and to my surprise it came up--so httpd was running. So I poked around some more, and I found that apachectl was looking for /var/run/httpd/httpd.pid, but the file was at /var/run/httpd.pid. I moved it into the httpd directory, restarted and everything worked fine.

So is this something that would merit a bug report? I figure it just happened because I made a big upgrade, but I thought I should say something.

Offline

#2 2008-07-24 03:03:32

usedtire
Member
Registered: 2004-02-12
Posts: 50

Re: Strange behavior with apache and httpd.pid on upgrade

Same problem.  Very weird.  If anyone has an answer I'd like to hear what's going on.

Offline

#3 2008-07-31 14:39:07

CuleX
Member
Registered: 2007-09-15
Posts: 107

Re: Strange behavior with apache and httpd.pid on upgrade

The script doesn't allow any output to the terminal per default. Please run

#/usr/sbin/apachectl start

To get some helpful output.

Offline

Board footer

Powered by FluxBB