On Thu, 28 Dec 2000 16:51:00 -0600, Tony Campisi <[EMAIL PROTECTED]>
wrote:
>
> Thanks for the Reply Larry!
>
>: What happens if you do "/etc/rc.d/init.d/httpd status" instead of
> "/etc/rc.d/init.d/httpd restart"?
>:
> I get httpd dead but pid file exists
>
>
>: Have you checked your logs for any error messages?
>
> In /var/log/httpd I have error_log, error_log.1, .2, .3.
> at the tail of error_log I have:
>
> [Thu Dec 28 13:45:30 2000] [warn] pid file /var/run/httpd.pid overwritten --
> Unclean shu
> tdown of previous Apache run?
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.1630
> [Thu Dec 28 13:45:32 2000] [warn] pid file /var/run/httpd.pid overwritten --
> Unclean shu
> tdown of previous Apache run?
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.1766
> [Thu Dec 28 08:13:35 2000] [warn] pid file /var/run/httpd.pid overwritten --
> Unclean shu
> tdown of previous Apache run?
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.2076
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.2221
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.2428
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.2576
> open: No such file or directory
> Cannot open lock file: /var/httpd/httpd.lock.694
>
> I don't know what is going on (obviously). My boss is breathing down my neck
> to get this back up. Please help me start my web stuff.
I'll try to help, but I'm not very knowledgable about apache (and my web server runs
RH6.2, not RH7 -- I think a few things changed, such as locations of files, etc) --
maybe someone else on the list who is more knowledgable about apache will jump in...
>From your error log, it sounds to me like httpd is having a problem either creating a
>lock file, or is encountering a stale lock file left over from a previous run.
Here's a few things you might try:
(1) Check out: http://httpd.apache.org/docs/mod/core.html#lockfile -- does this
describe your situation?
(2) What happens if you mannually try to start httpd, "/etc/rc.d/init.d/httpd start"?
Do you get any additional error messages which might indicate what is going wrong?
(3) Look in /var/httpd/ for any stale lock files (httpd.lock.#). Assuming httpd is
not running, delete the lock files.
(4) Are your disk(s) full? What's the output from df -h?
__
Larry Grover, PhD
Assoc Prof of Physiology
Marshall Univ Sch of Med
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list