Bareos client status unknown on director.

69 views
Skip to first unread message

Parashar Pradhan

unread,
Jul 22, 2022, 1:59:21 AM7/22/22
to bareos-users
Hello Team,

I am integrating bareos with relax and recovery

Here is my rear configuration which I kept to minimum 

cat /etc/rear/local.conf
BACKUP=BAREOS
BAREOS_CLIENT=client7-fd

Here is my client configuration

# cat client7-fd.conf
Client {
  Name = "client7-fd"
  Address = "x.x.x.x"
  Password = "secret"
}

I checked on bconsole and it is connecting to the client

Connecting to Client client7-fd at x.x.x.x:9102
 Handshake: Immediate TLS, Encryption: TLS_CHACHA20_POLY1305_SHA256 TLSv1.3

Daemon started 22-Jul-22 11:11. Jobs: run=0 running=0, bareos.org build binary
 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 bwlimit=0kB/s

Running Jobs:
bareos-dir (director) connected at: 22-Jul-22 11:25
No Jobs running.

But while running mkrescue I am getting below error:

# rear -v mkrescue
Relax-and-Recover 2.6 / 2020-06-17
Running rear mkrescue (PID 3252)
Using log file: /var/log/rear/rear-xxx.log
Running workflow mkrescue on the normal/original system
Using autodetected kernel '/boot/vmlinuz-5.15.0-41-generic' as kernel in the recovery system
ERROR: Bareos client status unknown on director.
Some latest log messages since the last called script 500_check_BAREOS_bconsole_results.sh:
  2022-07-22 11:14:08.399529544 Including prep/BAREOS/default/500_check_BAREOS_bconsole_results.sh
  2022-07-22 11:14:08.404756789 Skipping ping test
Aborting due to an error, check /var/log/rear/rear-xxxx.log for details
Exiting rear mkrescue (PID 3252) and its descendant processes ...
Running exit tasks
Terminated

Any help on this is appreciated.

Thanks

Jürgen Echter

unread,
Jul 22, 2022, 9:50:29 AM7/22/22
to bareos-users
> --


Hi,

i think you need to setup bconsole on the client too.

Cheers

Juergen

Parashar Pradhan

unread,
Jul 28, 2022, 6:57:49 AM7/28/22
to bareos-users

Thanks Juergen,

After configuring bconsole in client now I am able to create rescue image using rear.

However during restore I am stuck at below 
"Waiting for jobs to start"

In logs I can see below error:

failed to connect to director localhost:9101

Any help on this please?

Thanks

Parashar Pradhan

unread,
Aug 8, 2022, 2:18:05 AM8/8/22
to bareos-users
Any help on this?We are still stuck during restore:
"Waiting for jobs to start"

In logs I can see below error:
failed to connect to director localhost:9101

We have created a similar machine with same configuration. I have not enabled network.

Please let us know if anyone has any clue.

Thanks
Reply all
Reply to author
Forward
0 new messages