Hey, Check that all files under /etc/bareos are indeed owned by user bareos and group bareos. I seem to recall having this type of errors frequently when adding new configs and forgetting to change the ownership/groupship from root:root to bareos:bareos.
HTH, Benny On Tuesday, September 14, 2021 at 12:05:18 AM UTC+2 [email protected] wrote: > I'm running FreeBSD 11.2-Stable (running an older version because > IXSystems pulled support for fiber channel in TrueNAS Core). > > I'm trying to run Bareos 20.0.0_3 in an IOCage jail. > > My tape hardware is a Dell PowerVault ML6020 and all of the LTO4 tape > drives are Fiber channel. > > When I attempt: > > ========================================= > root@Bareos:/var/log/dbconfig-common # bareos start > Starting the Bareos Storage daemon > bareos-sd: ERROR TERMINATION at lib/parse_conf.cc:242 > Config error: Cannot open config file > "/usr/local/etc/bareos/bareos-sd.d/*/*.conf": > Permission denied > > Starting the Bareos File daemon > Starting the Bareos Director daemon > Checking Configuration and Database connection ... > root@Bareos:/var/log/dbconfig-common # > > ========================================= > root@Bareos:/var/log/dbconfig-common # service bareos-sd start > Starting bareos_sd. > bareos-sd: ERROR TERMINATION at lib/parse_conf.cc:242 > Config error: Cannot open config file > "/usr/local/etc/bareos/bareos-sd.d/*/*.conf": > Permission denied > > /usr/local/etc/rc.d/bareos-sd: WARNING: failed to start bareos_sd > root@Bareos:/var/log/dbconfig-common # > > ========================================= > My questions are: > > What CONF file is it trying to access? > > Does wildcards in the error even make sense? > > Do I need to edit a CONF file to remove wildcards and provide an explicit > path to a particular CONF file? > > Thanks for any help you can offer. > > John > > -- You received this message because you are subscribed to the Google Groups "bareos-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bareos-users/485bac7d-c144-4f79-8499-87740be43ee6n%40googlegroups.com.
