failure on bareos director Service

398 views
Skip to first unread message

Elvis Villalba

unread,
Nov 30, 2021, 10:12:15 AM11/30/21
to bareos...@googlegroups.com
Hi I`m a bareos new user and i have a Bareos server With Debian 11, Potsgresql and webui, I was able to install the program and create the database, but when I install the bareos-webui component it gives me an error when it tries to start the director service

systemctl status bareos-director service
Unit service.service could not be found.
● bareos-director.service - Bareos Director Daemon service
     Loaded: loaded (/lib/systemd/system/bareos-director.service; enabled; vendor preset: enabled)
     Active: failed (Result: protocol) since Tue 2021-11-30 09:29:02 EST; 17min ago
       Docs: man:bareos-dir(8)
    Process: 681 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=exited, status=1/FAILURE)
    Process: 702 ExecStart=/usr/sbin/bareos-dir (code=exited, status=1/FAILURE)
        CPU: 30ms

Nov 30 09:29:02 srvlnxbareos bareos-dir[681]: Config error: Cannot open included config file /etc/bareos/bareos-dir.d/webui-consoles.conf: No such file or directory
Nov 30 09:29:02 srvlnxbareos bareos-dir[681]:             : line 1, col 46 of file /etc/bareos/bareos-dir.conf
Nov 30 09:29:02 srvlnxbareos bareos-dir[681]: @/etc/bareos/bareos-dir.d/webui-consoles.conf
Nov 30 09:29:02 srvlnxbareos bareos-dir[702]: bareos-dir: ERROR TERMINATION at lib/lex.cc:893
Nov 30 09:29:02 srvlnxbareos bareos-dir[702]: Config error: Cannot open included config file /etc/bareos/bareos-dir.d/webui-consoles.conf: No such file or directory
Nov 30 09:29:02 srvlnxbareos bareos-dir[702]:             : line 1, col 46 of file /etc/bareos/bareos-dir.conf
Nov 30 09:29:02 srvlnxbareos bareos-dir[702]: @/etc/bareos/bareos-dir.d/webui-consoles.conf
Nov 30 09:29:02 srvlnxbareos systemd[1]: bareos-director.service: Can't open PID file /var/lib/bareos/bareos-dir.9101.pid (yet?) after start: Operation not permitted
Nov 30 09:29:02 srvlnxbareos systemd[1]: bareos-director.service: Failed with result 'protocol'.
Nov 30 09:29:02 srvlnxbareos systemd[1]: Failed to start Bareos Director Daemon service.

obviously when trying to enter the site it gives me the error  "Error: Connection refused, director seems to be down or blocking our request."
Thanks in advance for your help
Reply all
Reply to author
Forward
0 new messages