[101831] in RedHat Linux List

home help back first fref pref prev next nref lref last post

RE: Error rotating logs

daemon@ATHENA.MIT.EDU (Fred W. Noltie Jr.)
Sun Nov 29 19:07:39 1998

In-Reply-To: <016101be1bf0$844ea480$84cdbfa1@lap-9191919.krms.com>
Date: Sun, 29 Nov 1998 18:07:31 -0600 (CST)
From: "Fred W. Noltie Jr." <criterion-consulting@usinternet.com>
To: Chris Dodd <cdodd@kemperjapan.com>, RedHat List <redhat-list@redhat.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 29-Nov-98 Chris Dodd spluttered:
#  Hello all.
#  
#  I've been receiving this error message for a while now.  I've got
#  the system
#  setup to email me errors, and I've had these errors rotating logs
#  for
#  perhaps 2 months.  What can I do to fix it?
#  
#  1------
#  errors occured while rotating /var/log/httpd/error_log
#  
#  httpd: no process killed
#  error running postrotate script
#  2------
#  errors occured while rotating /var/log/httpd/access_log
#  
#  httpd: no process killed
#  error running postrotate script
#  
#  ----
#  
#  Apache is running, too, btw.
#  
#  Chris

I don't know that I can explain why it's happening, but when the apache
logs are rotated, logrotate tries to kill the server before actually
doing the rotation. You'll see the first entry in a log is that httpd
is restarting. Obviously it's not succeeding in killing apache, so it
can't replace the logs, so you get the error mail.

Maybe there's a missing symlink in /etc/rc.d/ somewhere? So that
logrotate doesn't know how to stop httpd? Maybe if you run tksysv
you'll find that you don't have a "Stop" symlink for httpd in your
default runlevel.

Just guessing,

Fred 

- ----------------------------------------------
"The road to tyranny, we must never forget, is
the destruction of the truth." -- Bill Clinton,
University of Connecticut speech, October 1995
- ----------------------------------------------

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNmHhw+G4uDOIy4C4EQJNhwCgvMfo6MWaJi8/y/D6/QKu1VIcJuYAnA6q
B+kfVLF8q5yLEzRHz5CRV5AF
=hGD/
-----END PGP SIGNATURE-----


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post