Re: [Bacula-users] Run before job = permission denied

2006-09-20 Thread Diego
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

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread Diego
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 

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread Diego
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   

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread R.I. Pienaar
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

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread Arno Lehmann
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. >

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread Diego
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

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread Arno Lehmann
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"

Re: [Bacula-users] Run before job = permission denied

2006-09-19 Thread R.I. Pienaar
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

[Bacula-users] Run before job = permission denied

2006-09-19 Thread Diego
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