[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Apache logs on svn.collab.net

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-10-09 23:00:48 CEST

On Tue, Oct 09, 2001 at 10:46:52PM +0200, Branko �ibej wrote:
>...
> On my Linux box, logrotate has a "postrotate" rule to send a HUP to
> Apache., and that (presumably) should cause Apache to reopen the log files.

Yup.

> Hmmm.... Yep, the logrotate rule on svn.collab.net is similar, *but*
> there's no /var/run/httpd.pid file, which is why the HUP doesn't catch.
> I wonder why ...

I configured Apache this way, but Mike blew that config away. The new config
hasn't been updated to use /var/run yet.

> Of course, logrotate is set up for /usr/sbin/httpd, not
> the apache that's actually running. Change /etc/logrotate.d/apache to
> use the right .pid file, and it should just work.

Nah. Change our pid.

> BTW, the rule on my machine runs /usr/bin/killall -HUP httpd, rather
> than relying on the .pid file.

We should have a pid, not a killall.

The latter could blast testing/staging servers.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:44 2006

This is an archived mail posted to the Subversion Dev mailing list.