[101856] in RedHat Linux List

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

Re: Error rotating logs

daemon@ATHENA.MIT.EDU (Chris Dodd)
Mon Nov 30 00:40:17 1998

Reply-To: "Chris Dodd" <cdodd@kemperjapan.com>
From: "Chris Dodd" <cdodd@kemperjapan.com>
To: "Fred W. Noltie Jr." <criterion-consulting@usinternet.com>,
  "RedHat List" <redhat-list@redhat.com>
Date: Mon, 30 Nov 1998 14:37:30 +0900
Resent-From: redhat-list@redhat.com

Thanks for the information.  Is there another way to check?  I'm telnetting
into my box to do everything now, since I'm in a different country than the
server is :)

Chris
-----Original Message-----
From: Fred W. Noltie Jr. <criterion-consulting@usinternet.com>
To: Chris Dodd <cdodd@kemperjapan.com>; RedHat List <redhat-list@redhat.com>
Date: Monday, November 30, 1998 9:05 AM
Subject: RE: Error rotating logs


>-----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