From:
Alessandro Bianchi <alex AT skynet DOT it>
To:
bacula-users AT lists.sourceforge DOT net
Cc:
bill.damage AT yahoo DOT com
Sent: Thu,
14 July, 2011 12:50:14
Subject:
Re: Bconsole hangs when connecting to SD after upgrade
from Fed 14 to Fed 15
Il 14/07/2011 13:29,
bacula-users-request AT lists.sourceforge DOT net
ha scritto:
Hi - the upgrade wasn't without trouble - we had to preserve the bacula config,
do a clean installation and restore the config/cats etc. So its almost
definitely not a "bacula doesn't work with Fed15 problem" ;-)
What happens is if I restart the services I can see them running fine and the sd
is running as the user "bacula". If I try anything with touches the sd, say in
bconsole even a "status all", the display stops at the first "Connecting to
Storage daemon..." message. However, if I kill the sd process and run it from
root with "bacula-sd -f -v" in another console all is well. There's nothing in
any logs I can see. Whats gives please? Thanks.
Hi
I faced a very similar problem after upgrading from F14 to
F15
I had the SD hanging on every operation
I tracked it to a permission problem.
It seems to have some sort of trouble while dropping
privileges.
I "fixed" it editing the /etc/syscongif/bacula-sd file and
setting it like follows:
SD_USER=root
SD_GROUP=bacula
I don't like having the SD running as root so before doing
that I worked on permissions on the bacula SD storage area
(I'm using the File storage) with no luck.
Hope this points you in some useful direction.