Re: [Bacula-users] Bacula-dir won't start but almost
2013-03-14 10:59:58
On Thu, 14 Mar 2013 09:08:01 +0100
Julien Cochennec <julien.cochennec AT mnhn DOT fr> wrote:
> I've replaced my server recently and migrate database, from 5.0.3 to
> 5.2.? and upgraded tables from v12 to v14 (Debian Wheezy).
> When I try to start bacula by /etc/init.d/bacula-director start it
> says OK but no process appears when I do ps -lfC bacula-dir.
> Is there anything wrong with the following output?
> I'm almost there I guess because webacula works with the command line
> below. Thanks guys, bacula rocks!
>
> > bacula-dir -f -d 100 -c /etc/bacula/bacula-dir.conf
>
> bacula-dir: dird.c:185-0 Debug level = 100
> bacula-dir: bsys.c:510-0 Could not open state file. sfd=-1 size=192:
> ERR=Aucun fichier ou dossier de ce type
[...]
By the way... In Debian, Bacula Director is started like this:
/usr/sbin/bacula-dir -c /etc/bacula/bacula-dir.conf -u bacula -g bacula
That is, it's told to drop its privileges at some point during the
startup process.
Hence re-try your debug run adding "-u bacula -g bacula" to see if it
stops working if told to drop its privileges.
The next question is if the director also fails if you run it in
foreground? -- you did not tell us.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|