Hi,

On 3/30/2007 10:38 PM, Jason King wrote:
> I ran into the same problem. You have to check the startup script and 
> change the user that it starts as. It's wanting to start as a user other 
> than root. Here is the line you are looking for in the rc.d script. The 
> -u flag should be changed it root.

Oh... I don't agree here. I mean, I'm running the DIR as root, but this 
is on a machine dedicated to running Bacula, no user access, no access 
from beyond my firewall, not even any user accounts that could log into it.

Generally, for security reasons, it's a good idea to run all services as 
non-root user.

In fact I do know for sure that Bacula can run as non-root user, both on 
linux and on FreeBSD.

You should make sure the acount the DIR tries to run as exists, and can 
access all the vital locations the DIR needs to access. These include 
the working directory and configuration files, and it is possible I 
forgot others :-)

> : ${bacula_dir_flags=" -u root -g wheel -v -c 
> /usr/local/etc/bacula-dir.conf"}
> 
> Kimi Ostro wrote:
>> Hi list,
>>
>> today I built bacula from FreeBSD ports.
>>
>> Now I can start both bacula-sd and bacula-fd on startup, yet I cant
>> start bacula-dir on startup. The error message I get in my log is:
>> Mar 30 21:13:16 freebsd /boot/generic/kernel: pid 42355 (bacula-dir),
>> uid 910: exited on signal 6
>>
>> I don't know why bacula-dir exits with Abort?
>>
>> I can start bacula-dir from the command line if I type this:
>> # /usr/local/sbin/bacula-fd -vt -c /usr/local/etc/bacula-fd.conf

The t options means a test of the configuration. It will not actually 
run the DIR as a daemon.

Arno

>>   
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-- 
IT-Service Lehmann                    [EMAIL PROTECTED]
Arno Lehmann                  http://www.its-lehmann.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to