[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't start service and log doesn't help

From: Eric Pailleau
Subject: Re: Can't start service and log doesn't help
Date: Wed, 22 Sep 2010 09:47:06 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv: Gecko/20100624 Mandriva/3.0.5-0.1mdv2009.1 (2009.1) Thunderbird/3.0.5

Le 22/09/2010 09:41, Daniel Maher a écrit :
On 09/21/2010 06:35 PM, Rubén Dávila wrote:

[CDT Sep 21 10:45:24] debug : restart service
' <>' on user
[CDT Sep 21 10:45:24] info : monit daemon at 5482 awakened
[CDT Sep 21 10:45:24] info : Awakened by User defined signal 1
[CDT Sep 21 10:45:24] info : '
<>' trying to restart
[CDT Sep 21 10:45:24] info : '
<>' stop: /etc/init.d/unicorn
[CDT Sep 21 10:45:26] info : '
<>' start: /etc/init.d/unicorn
[CDT Sep 21 10:45:56] error : '
<>' failed to start

I can't find the reason for this problem, although the start program
command "/etc/init.d/unicorn start /etc/unicorn/" starts the
service fine, please any idea for this issue?

Does "/etc/init.d/unicorn start /etc/unicorn/" return 0 ?

monit exec comes without any environnement variable neither path.
you have to load an environnement either by login or by sourcing a file.

try  " su - user '/etc/init.d/unicorn start /etc/unicorn/' "
where user is usual user that run the program.
Even it is root, you need this to load the root environnement.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]