[Top][All Lists]

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

Re: Apache start command

From: Martin Pala
Subject: Re: Apache start command
Date: Mon, 27 Aug 2012 16:34:24 +0200


your start script most probably depends on some environment variable, which is 
not present when it is started via Monit. For security reasons Monit sets 
sandbox for program execution and sets only spartan PATH variable:


You can log the script output by wrapping it like this:

        start program = "/bin/bash -c '/usr/local/apache2/bin/apachectl -k 
start >> /tmp/start.log 2>&1'"


On Aug 27, 2012, at 10:48 AM, Ajay Padhi <address@hidden> wrote:

> Dear Team,
> The command for starting the apache service is 
> /usr/local/apache2/bin/apachectl -k start.
> I am using the above command to start apache service .But monit is unable to 
> start the apache
> Please let me know to start apache, using the above command.
> regards,
> Ajay Padhi
> --
> To unsubscribe:

reply via email to

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