I have updated Bareos to version 18.2.
Everything works, but for time reasons I deactivated the new TLS encryption from the beginning. This will be a topic for the next months.
We have over 130 clients in Bareos, and everyone can connect to Bareos-Director and Storage-Daemon. Except one.
The error message of the web interface is as follows:
JobId 199189: Fatal error: lib/bsock_tcp.cc:139 Unable to connect to Storage daemon on *STORAGE_DAEMON*:9103. ERR=Connection refused
JobId 199189: Fatal error: Failed to connect to Storage daemon: *STORAGE_DAEMON*:9103
JobId 199189: Fatal error: Bad response to Storage command: wanted 2000 OK storage
, got 2902 Bad storage
JobId 199189: Fatal error: lib/bsock_tcp.cc:139 Unable to connect to Storage daemon on *STORAGE_DAEMON*:9103. ERR=Connection refused
I used ping to test general connection, it works.
I used telnet for testing connection from client to server >>telnet 192.168.72.24 9103<<, it works.
Telnet from server to client on same port >>telnet 192.168.72.24 9103<<, Connection refused. But it shouldn't be important anyway. With the other servers it's the same game and it works there.
I flew through the logs from bareos-server.
>>tail -f /var/log/bareos/bareos.log<<
Unfortunately only the same messages as on the webui.
So I don't have enough information.
To get more information I start the Director, as well as the Storage-Daemon and the File-Daemon in Debug-Mode.
On Server:
>>/usr/sbin/bareos-sd -f -d 1000<<
>>/usr/sbin/bareos-dir-f -d 1000<<
On Client:
>>/usr/sbin/bareos-fd -f -d 1000<<
Then i rerun the backup job via webui.
I will add log snippets as files
I didn't add the director log, unfortunately it ran too fast and the information didn't seem to be relevant for this case.
Despite all that information, I have no idea what the problem is.
I had already had problems with this client on version 17.2, because of the size of the pidfile that is transferred. I had never been able to solve this problem.
Would someone be so kind as to help me out?
If more information is needed for this interesting case, then I will submit it later.
Erik
So the versions are the same? 18.2 also on client?
what does director shows in bconsole when you run status client=your_client ?
1. Restart also bareos-fd on director.
2. Install compat plugin on client and restart.
3. If not, add two lines in director in /etc/bareos/bareos-fd.d/client/myself.conf
Plugin Directory = /usr/lib64/bareos/plugins
Plugin Names = python
4. Try again telnet and check in bconsole status client
This is configuration for vmware plugin, but it may help to fd plugin.
This is not a misconfiguration, but the maximum size of the spooling data is too small for the storage, so it issued an error message.
The log didn't give me any clues as I said, but I worked out this configuration point by opening it up.
Spooling the data is advantageous, because the data is stored directly on the disk, therefore the Filedaemon has less load, the actual backup into the database happens then only on the server itself.
Good job!
Hi Dat,
I'd really appreciate if you could post the configuration you changed to make this work. I just opened a similar issue (though I'm trying to send data to S3 instead of local volumes) but I didn't exactly get where you configured different pool size.
Thank you,
Stefano
Sorry! Late answere...
The config was /etc/bareos/bareos-sd.d/device/FileStorage.conf
had to change "Maximum Spool Size" from 1024GB to 2048GB for the device i needed
Yeah, we got a lot of data.