root@backup:/var# systemctl start bacula-sd
Job for bacula-sd.service failed. See 'systemctl status bacula-sd.service' and 'journalctl -xn' for details.
root@backup:/var# systemctl status bacula-sd.service
● bacula-sd.service - Bacula Storage Daemon service
Loaded: loaded (/etc/systemd/system/bacula-sd.service; enabled)
Active: failed (Result: exit-code) since lun 2015-08-24 20:29:45 CEST; 6s ago
Process: 2396 ExecStart=/usr/sbin/bacula-sd -u bacula -g bacula -v -d 99 -c /etc/bacula/bacula-sd.conf (code=exited, status=203/EXEC)
ago 24 20:29:45
backup.canonigos.es systemd[2396]: Failed at step EXEC spawning /usr/sbin/bacula-sd: Permission denied
ago 24 20:29:45
backup.canonigos.es systemd[1]: bacula-sd.service: control process exited, code=exited status=203
If I try to start the daemon from the shell it runs perfectly:
root@backup:/var# /usr/sbin/bacula-sd -u bacula -g bacula -v -d 99 -c /etc/bacula/bacula-sd.conf
root@backup:/var# bacula-sd: address_conf.c:275-0 Initaddr
0.0.0.0:9103bacula-sd: stored_conf.c:699-0 Inserting Director res: backup.canonigos.es-mon
bacula-sd: stored_conf.c:699-0 Inserting Device res: FileChgr1-Dev2
backup.canonigos.es-sd: stored.c:573-0 calling init_dev /backup
backup.canonigos.es-sd: bnet_server.c:87-0 Addresses
0.0.0.0:9103backup.canonigos.es-sd: stored.c:575-0 SD init done /backup
backup.canonigos.es-sd: stored.c:573-0 calling init_dev /backup
backup.canonigos.es-sd: stored.c:575-0 SD init done /backup
root@backup:/var# ps axu|grep bacula
bacula 2424 0.0 0.5 123792 5372 ? Ssl 20:30 0:00 /usr/sbin/bacula-sd -u bacula -g bacula -v -d 99 -c /etc/bacula/bacula-sd.conf
root 2436 0.0 0.2 13960 2088 pts/0 S+ 20:32 0:00 grep bacula
ago 25 00:31:45
backup.canonigos.es systemd[2764]: Failed at step EXEC spawning /usr/sbin/bacula-sd: Permission denied
-- Subject: Process /usr/sbin/bacula-sd could not be executed
-- Defined-By: systemd
--
-- The process /usr/sbin/bacula-sd could not be executed and failed.
--
-- The error number returned while executing this process is 13.
ago 25 00:31:45
backup.canonigos.es systemd[1]: bacula-sd.service: control process exited, code=exited status=203
-- Subject: Unit bacula-sd.service has failed
-- Defined-By: systemd
--
-- Unit bacula-sd.service has failed.
--
-- The result is failed.
The /var/lib/bacula is owned by root:bacula with 770.
J.
_____________________________________________
Francisco Javier Funes Nieto [
esencia AT gmail DOT com]
CANONIGOS
Servicios Informáticos para PYMES.
Cl. Cruz 2, 1º Oficina 7
Tlf: 958.536759 / 661134556
Fax: 958.521354
GRANADA - 18002