Using /etc/init.d/zimbra stop don't works20-sep 09:03 ZimbraBK-dir: RunBefore: standard in must be a tty20-sep 09:03 ZimbraBK-dir:
CopiaPrueba.2006-09-20_09.03.43 Fatal error: RunBeforeJob error: ERR=Child exited with code 12006/9/19, Diego <[EMAIL PROTECTED]>:
Oh I test a ps auxw after zmcontrol
Oh I test a ps auxw after zmcontrol stop script and it doesn't stop all services too jeje ok I'll use /etc/init.d/zimbra stop Thanks2006/9/19, Diego <
[EMAIL PROTECTED]>:Because the
/etc/init.d/zimbra stop don't stop all services:[EMAIL PROTECTED] opt]# ps auxw|grep zimbraroot 28859 0.0
Because the /etc/init.d/zimbra stop don't stop all services:[EMAIL PROTECTED] opt]# ps auxw|grep zimbraroot 28859 0.0 0.1 4420 1184 pts/0 S 09:06 0:00 su zimbra
zimbra 28861 0.0 0.1 4380 1448 pts/0 S 09:06 0:00 bashroot 2000 0.0 0.1 4424 1188 pts/0 S
hello,
> Now using sudo:
>
> sudo -u zimbra -p '(withoutpassword)' '/opt/zimbra/bin/zmcontrol' stop;
>
> 19-sep 11:49 ZimbraBK-dir: RunBefore:
> 19-sep 11:49 ZimbraBK-dir: CopiaPrueba.2006-09-19_11.49.13 Fatal error:
> RunBeforeJob error: ERR=Child exited with code 1
> Where can I see a log of the
Hi,
On 9/19/2006 12:05 PM, Diego wrote:
>
> Hello,
>
> On 9/19/2006 9:54 AM, Diego wrote:
> > Hi, I need to run a script to stop a service before do the
> backup. Only
> > one user can stop this service, this user not need password for
> run the
> > stop command.
>
Hello,On 9/19/2006 9:54 AM, Diego wrote:> Hi, I need to run a script to stop a service before do the backup. Only
> one user can stop this service, this user not need password for run the> stop command.> In my bacula-dir.config I have:>> run before job = "/opt/bacula/script_stop_service"
>> In the
Hello,
On 9/19/2006 9:54 AM, Diego wrote:
> Hi, I need to run a script to stop a service before do the backup. Only
> one user can stop this service, this user not need password for run the
> stop command.
> In my bacula-dir.config I have:
>
> run before job = "/opt/bacula/script_stop_service"
It seems something in your "command_service stop" has problems running
without a terminal - when a program invokes it rather than a human
from a working terminal, it's not a permissions problem
On 19/09/06, Diego <[EMAIL PROTECTED]> wrote:
> Hi, I need to run a script to stop a service before do t
Hi, I need to run a script to stop a service before do the backup. Only one user can stop this service, this user not need password for run the stop command. In my bacula-dir.config I have:
run before job = "/opt/bacula/script_stop_service"In the script_stop_service I have:su - service_user -c "co