View Issue Details

IDProjectCategoryView StatusLast Update
0000717bareos-coreGeneralpublic2016-11-14 15:07
Reporterc.monty Assigned Tojoergs  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSDebianOS Version8
Product Version16.2.4 
Summary0000717: Daemons bareos-dir bareos-sd bareos-fd fail to start
DescriptionHi!

I have installed bareos from repository, but I cannot start any daemon.
All daemons are marked as 'masked':
thomas@vm6-bareos:~$ systemctl list-unit-files | grep masked
bareos-dir.service masked
bareos-director.service masked
bareos-fd.service masked
bareos-filedaemon.service masked
bareos-sd.service masked
bareos-storage.service masked

And I cannot unmask any of them.
Steps To Reproducethomas@vm6-bareos:~$ sudo service bareos-dir start
Failed to start bareos-dir.service: Unit bareos-director.service is masked.
thomas@vm6-bareos:~$ sudo service bareos-sd start
Failed to start bareos-sd.service: Unit bareos-storage.service is masked.
thomas@vm6-bareos:~$ sudo service bareos-fd start
Failed to start bareos-fd.service: Unit bareos-filedaemon.service is masked.
TagsNo tags attached.

Activities

joergs

joergs

2016-10-28 18:28

developer   ~0002415

That is strange, as we test our packages against all supported Linux distribution. Fresh installation as well as updates from earlier versions, and I've never seen this issue.

Maybe a "dpkg --status bareos-filedaemon" brings light into this issue?

What versions of Bareos have you installed before?
joergs

joergs

2016-10-28 18:32

developer   ~0002416

Have you had Bareos installed before and disabled it via

systemctl mask bareos-filedaemon.service

or

ln -s /dev/null /etc/systemd/system/bareos-filedaemon.service

???
c.monty

c.monty

2016-10-28 19:06

reporter   ~0002417

Actually I had installed bareos 15.2 before (from bareos repository) and dropped this installation (uninstall + deleting any file from bareos) before starting installation of bareos 16.2.4

Do you recommend to start from scratch?
joergs

joergs

2016-10-29 08:56

developer   ~0002418

No, that should not be necessary.

Try

systemctl unmask bareos-director.service
...
c.monty

c.monty

2016-10-29 08:58

reporter   ~0002419

I tried
systemctl unmask bareos-director.service
already w/o success.
joergs

joergs

2016-10-29 09:52

developer   ~0002422

Please send the output of following commands:

dpkg -l "*bareos*"
dpkg --status bareos-filedaemon
systemctl status bareos-filedaemon
ls -la /etc/systemd/system/bareos*
ls -la /lib/systemd/system/bareos*
joergs

joergs

2016-11-14 15:07

developer   ~0002442

No feedback and not reproducible.
Closing ticket.

Issue History

Date Modified Username Field Change
2016-10-28 17:07 c.monty New Issue
2016-10-28 18:28 joergs Note Added: 0002415
2016-10-28 18:29 joergs Status new => feedback
2016-10-28 18:32 joergs Note Added: 0002416
2016-10-28 19:06 c.monty Note Added: 0002417
2016-10-28 19:06 c.monty Status feedback => new
2016-10-29 08:56 joergs Note Added: 0002418
2016-10-29 08:56 joergs Assigned To => joergs
2016-10-29 08:56 joergs Status new => feedback
2016-10-29 08:58 c.monty Note Added: 0002419
2016-10-29 08:58 c.monty Status feedback => assigned
2016-10-29 09:52 joergs Note Added: 0002422
2016-10-29 09:52 joergs Status assigned => feedback
2016-11-14 15:07 joergs Note Added: 0002442
2016-11-14 15:07 joergs Status feedback => closed
2016-11-14 15:07 joergs Resolution open => fixed