Let me explain it all again : - bacula-dir uses DirStartUp.py - Dirstartup.py stop/starts services (samba, ldap, mysql) before/after backup - sometimes on '/etc/init.d/bacula-dir restart' I get "Cannot bind port 9101: ERR=Address already in use"
'netstat -anpe|grep 9101' shows that one of the stopped/started service by Dirstartup.py has taken the port 9101. When I restart the service, let's say for example samba, the port is again available. Sometimes I have to restart several services because after I restarted samba, ldap ot another service (always one of those which are managed by DirStartUp.py) has taken the port. And finally, I get port 9101 free and can restart bacula-dir. As long as I don't do any backup, I can restart manually every service without any problem. The file /etc/services is available here : ftp://dev-eole.ac-dijon.fr/Dev/services but I'm sure it is not the source of this problem. Frank Sweetser a écrit : > le dahut wrote: >> It happens again during some quick test (several bacula-dir restart). >> >> I've written a DirStartUp.py that stops services before and starts them >> after backup. It seems that the services that take the bacula port are >> those which are stopped/started by DirStartUp.py. > > Do the programs still exhibit the same behavior when started manually, rather > than from within DirStartUp.py? > ------------------------------------------------------------------------- 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