- From: Jon Wood <
>
- To:
- Subject: [chef] Re: Chef-Solr logrotate issues
- Date: Mon, 23 Aug 2010 10:47:55 +0100
On 22 August 2010 20:04, Ash Berlin
<
>
wrote:
>
It seems that solr is not coming back up cleanly after logrotate. I'm using
>
the opscode provided .deb packages on Ubuntu 10.04.
>
>
% cat /var/log/chef/solr.log
>
[Sun, 22 Aug 2010 06:30:03 +0100] INFO: About to change privilege to
>
chef:chef
>
[Sun, 22 Aug 2010 06:30:03 +0100] FATAL: Chef is already running pid 11974
>
>
Anyone else noticed this problem? Better yet anyone got a solution?
>
Yup, I'm looking into it at the moment. It looks like it's actually a
bug in chef-solr's init script, probably due to this:
restart|force-reload)
log_daemon_msg "Restarting $DESC" "$NAME"
errcode=0
stop_server || errcode=$?
[ -n "$DIETIME" ] && sleep $DIETIME
start_server || errcode=$?
[ -n "$STARTTIME" ] && sleep $STARTTIME
running || errcode=$?
log_end_msg $errcode
;;
I have a feeling $DIETIME is too short, but I've not been able to
track down where it's defined yet.
Archive powered by MHonArc 2.6.16.