Unable to start/enable the daemons

33 views
Skip to first unread message

Evert Meulie

unread,
Feb 16, 2023, 6:14:23 AM2/16/23
to bareos-users
Hi all,

I'm checking out Bareos (on Ubuntu 22), by following the docs.


systemctl enable --now bareos-dir
systemctl enable --now bareos-sd
systemctl enable --now bareos-fd


On Ubuntu 22 this gives me:

Failed to enable unit: Refusing to operate on alias name or linked unit file: bareos-dir.service
Failed to enable unit: Refusing to operate on alias name or linked unit file: bareos-sd.service
Failed to enable unit: Refusing to operate on alias name or linked unit file: bareos-fd.service


How do I fix this?

Evert Meulie

unread,
Feb 16, 2023, 7:07:13 AM2/16/23
to bareos-users
It looks like a quick/dirty fix is:

systemctl enable  /lib/systemd/system/bareos-filedaemon.service
systemctl enable  /lib/systemd/system/bareos-storage.service
systemctl enable  /lib/systemd/system/bareos-filedaemon.service

Bruno Friedmann

unread,
Feb 16, 2023, 7:48:43 AM2/16/23
to bareos-users
Nice :-( 

Would you mind to make a PR against the documentation adding a special case for Debian and derivatives?
Thanks.

Reply all
Reply to author
Forward
0 new messages