On Wed, 2006-01-25 at 14:47, Martin Simmons wrote: > > Sorry, I don't know how svc interacts with bacula. > What reports 208 and how > do you know that it is definitely the exit status from bacula-fd?
# ./bacula-fd stop Stopping the Bacula File daemon: # echo $? 208 > I would use gdb or truss to find out more. > > __Martin Here's the tail end of the output of truss -p PID after executing ./bacula-fd stop /2: lwp_park(0xD1979F40, 0) (sleeping...) /2: lwp_park(0xD1979F40, 0) Err#62 ETIME /2: time() = 1138329419 /2: time() = 1138329419 /2: lwp_park(0xD1979F40, 0) (sleeping...) /1: Received signal #15, SIGTERM, in pollsys() [caught] /1: pollsys(0x08045FC0, 1, 0x00000000, 0x00000000) Err#4 EINTR /1: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF] /1: unlink("/opt/local/var/bacula/working/bacula-fd.9102.state") = 0 /1: open64("/opt/local/var/bacula/working/bacula-fd.9102.state", O_WRONLY|O_CREAT, 0640) = 4 /1: write(4, " B a c u l a S t a t e".., 188) = 188 /1: llseek(4, 188, SEEK_SET) = 188 /1: write(4, "\0\0\0\0", 4) = 4 /1: llseek(4, 0, SEEK_CUR) = 192 /1: llseek(4, 0, SEEK_SET) = 0 /1: write(4, " B a c u l a S t a t e".., 188) = 188 /1: close(4) = 0 /1: unlink("/opt/local/var/run/bacula/bacula-fd.9102.pid") = 0 /1: lwp_unpark(2) = 0 /2: lwp_park(0xD1979F40, 0) = 0 /2: lwp_sigmask(SIG_SETMASK, 0xFFBFFEFF, 0x0000FFF7) = 0xFFBFFEFF [0x0000FFFF] /2: lwp_exit() /1: lwp_wait(2, 0x08045B98) = 0 /1: _exit(15) I don't know if this is helpful. Thanks, Robert ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users