View Issue Details

IDProjectCategoryView StatusLast Update
0000944bareos-coredirectorpublic2023-08-02 10:31
ReporterDhiraj Assigned Tobruno-at-bareos  
PriorityhighSeverityminorReproducibilityalways
Status closedResolutionunable to reproduce 
PlatformLinuxOSCentOSOS Version7
Product Version17.2.5 
Summary0000944: Failed to start Bareos Director Daemon service
DescriptionI noticed again the error "Error: Connection refused, director seems to be down or blocking our request."
also notice bareos-dir service is down
Trying to start but giving the error
● bareos-dir.service - Bareos Director Daemon service
  Loaded: loaded (/usr/lib/systemd/system/bareos-dir.service; enabled; vendor preset: disabled)
  Active: failed (Result: resources) since Fri 2018-05-11 17:40:07 EDT; 31min ago
    Docs: man:bareos-dir(8)
 Process: 2810 ExecStart=/usr/sbin/bareos-dir (code=exited, status=1/FAILURE)
 Process: 2807 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=exited, status=1/FAILURE)

May 11 17:40:07 backup systemd[1]: Starting Bareos Director Daemon service...
May 11 17:40:07 backup bareos-dir[2810]: [55B blob data]
May 11 17:40:07 backup systemd[1]: PID file /var/lib/bareos/bareos-dir.9101.pid not readable (yet?) after start.
May 11 17:40:07 backup systemd[1]: Failed to start Bareos Director Daemon service.
May 11 17:40:07 backup systemd[1]: Unit bareos-dir.service entered failed state.
May 11 17:40:07 backup systemd[1]: bareos-dir.service failed.
Steps To Reproducerun command systemctl status bareos-dir
Additional InformationI noticed again the error "Error: Connection refused, director seems to be down or blocking our request."
also notice bareos-dir service is down
Trying to start but giving the error
● bareos-dir.service - Bareos Director Daemon service
  Loaded: loaded (/usr/lib/systemd/system/bareos-dir.service; enabled; vendor preset: disabled)
  Active: failed (Result: resources) since Fri 2018-05-11 17:40:07 EDT; 31min ago
    Docs: man:bareos-dir(8)
 Process: 2810 ExecStart=/usr/sbin/bareos-dir (code=exited, status=1/FAILURE)
 Process: 2807 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=exited, status=1/FAILURE)

May 11 17:40:07 backup systemd[1]: Starting Bareos Director Daemon service...
May 11 17:40:07 backup bareos-dir[2810]: [55B blob data]
May 11 17:40:07 backup systemd[1]: PID file /var/lib/bareos/bareos-dir.9101.pid not readable (yet?) after start.
May 11 17:40:07 backup systemd[1]: Failed to start Bareos Director Daemon service.
May 11 17:40:07 backup systemd[1]: Unit bareos-dir.service entered failed state.
May 11 17:40:07 backup systemd[1]: bareos-dir.service failed.
TagsNo tags attached.

Activities

viktoria

viktoria

2018-07-27 15:57

reporter   ~0003084

After installing bareos webui on Debian 8.8 with Bareos 16.2, apache2 and php 5.6 my connection to the director is broken, I can not access bconsole and the login to the webui is not working either.


The systemlog:

bconsole: bsock_tcp.c:134 Unable to connect to Director daemon on localhost:9101. ERR=Connection refused

Before installing the webui the port 9101 was not showing up during connection process. I changed the webui port to 9102- no change (I reload apache every time I make such a change).

BTW the status of the director:
systemctl status bareos-dir
● bareos-director.service - Bareos Director Daemon service
   Loaded: loaded (/lib/systemd/system/bareos-director.service; enabled)
   Active: failed (Result: timeout) since Fri 2018-07-27 14:20:14 CEST; 1h 10min ago
     Docs: man:bareos-dir(8)
  Process: 10263 ExecStart=/usr/sbin/bareos-dir (code=exited, status=0/SUCCESS)
  Process: 10257 ExecStartPre=/usr/sbin/bareos-dir -t -f (code=exited, status=0/SUCCESS)
 Main PID: 942 (code=killed, signal=KILL)


PID file /var/lib/bareos/bareos-dir.9101.pid not readable (yet?) after start.
systemd[1]: bareos-director.service start operation timed out. Terminating.
bareos-dir[10264]: Shutting down BAREOS service: bareos-dir ...
systemd[1]: Failed to start Bareos Director Daemon service.
systemd[1]: Unit bareos-director.service entered failed state.
 

I follow the instructions on http://doc.bareos.org/master/bareos-manual-main-reference.pdf.
The webui is showing up, but login is not possible. Bconsole can not be started anymore, as well as bareos-director. FD and SD are running fine.
bruno-at-bareos

bruno-at-bareos

2023-07-27 15:35

manager   ~0005263

Is this still reproducible with Bareos recent version 22.1.0?
bruno-at-bareos

bruno-at-bareos

2023-08-02 10:31

manager   ~0005303

Work as expected in 22.1.0 please use recent code

Issue History

Date Modified Username Field Change
2018-05-12 00:30 Dhiraj New Issue
2018-07-27 15:57 viktoria Note Added: 0003084
2023-07-27 15:35 bruno-at-bareos Assigned To => bruno-at-bareos
2023-07-27 15:35 bruno-at-bareos Status new => feedback
2023-07-27 15:35 bruno-at-bareos Note Added: 0005263
2023-08-02 10:31 bruno-at-bareos Status feedback => closed
2023-08-02 10:31 bruno-at-bareos Resolution open => unable to reproduce
2023-08-02 10:31 bruno-at-bareos Note Added: 0005303