le dahut wrote: > Here you can find it > http://eole.orion.education.fr/depot/listing.php?repname=Eole&path=%2FOutils%2Feole-bacula%2Ftrunk%2Fbacula%2F&rev=0&sc=0 > > take a look at baculaservice.sh which is a the script used to manage > pre/post-backup/restore (services stop and start)
Okay, so you're actually calling the baculaservice.sh script (which does the actual service start/stop commands) from within Bacula python events. At this point, the simplest thing to try would be to rework your setup such that the start and stop actions are done using run script directives defined within the job, just to rule out the additional complexity of the python environment. If that fixes the problem, check to see if the getservbyname system call is working from within python, and from within the python environment in Bacula. Something is screwing it up by the time your deamons call it to find out what ports to bind to. -- Frank Sweetser fs at wpi.edu | For every problem, there is a solution that WPI Senior Network Engineer | is simple, elegant, and wrong. - HL Mencken GPG fingerprint = 6174 1257 129E 0D21 D8D4 E8A3 8E39 29E3 E2E8 8CEC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users