- From: Jacobo García <
>
- To:
- Subject: [chef] Re: Re: Problem when starting and stoping chef-client as init service
- Date: Tue, 13 Jul 2010 16:27:46 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=ZIQIs0mZ3+6X5mYb91xf08hP1puCMpFiswV+OSSs1Ygn2zg5lKycAPGKBC4CM9PHpi RJzAtZ6xcWHLIyoLoRLw34E+utHNoT00GWqiPSJL5IKb2BJNd2q1Z4++U7IJpFB5Hm8f DeOetizYh4w5e+CFTDWGOn3gUK4O01lEKYAcY=
That worked fine.
Thanks!
Jacobo García López de Araujo
blog:
http://robotplaysguitar.com
http://workingwithrails.com/person/13395-jacobo-garc-a
On Tue, Jul 13, 2010 at 1:07 PM, Albert Llop
<
>
wrote:
>
Hola Jacobo!
>
Check the pidfile variable in /etc/init.d/chef-client and see if it's the
>
same than in /etc/chef/client.rb. Otherwise when starting the client it will
>
create the pidfile where specified in the /etc/chef/client.rb configuration,
>
but will try to stop it checking the pidfile specified in the init.d one.
>
>
:D hope it helps
>
--
>
{ :name => "Albert Llop" }
>
>
>
On 13 July 2010 12:58, Jacobo García
>
<
>
>
wrote:
>
>
>
> Hi chefs,
>
>
>
> I'm having a problem when using chef debian init scripts. The
>
> screenshot attached explains it better. The problem is that chef init
>
> script does not behave consistently; It does not stop chef-client when
>
> you try it but returns success, you have to manually kill chef-client.
>
> It returns fail when starting it but the client is started.
>
>
>
> I've seen this behavior at least on 0.8.16 and 0.9.0 also on both
>
> ubuntu 8.04 and 10.04.
>
>
>
> Is it a bug on the script?, does anyone know about this problem?.
>
>
>
> Thanks in advance.
>
>
>
> Jacobo García López de Araujo
>
> blog: http://robotplaysguitar.com
>
> http://workingwithrails.com/person/13395-jacobo-garc-a
>
>
Archive powered by MHonArc 2.6.16.