Hi, I do have a socket error problem on my Linux Debian Server running Urbackup. I have a fresh Debian install with all dependencies installed. When I install the Urbackup server, it’s just running fine. Adding a client had some challenges but I managed to run a first backup. After that it’s not possible anymore to make a backup. Urbackup is the only service running on Debian. The client can bee seen by the Server Web Interface, but starting a backup, no way! When I do a debug of the server I get the following:
urbackupsrv run -v debug
2018-01-22 09:13:38: Starting HTTP-Server on port 55414
2018-01-22 09:13:38: ERROR: HTTP: Failed binding socket to port 55414. Another instance of this application may already be active and bound to this port.
2018-01-22 09:13:38: Started UrBackup…
2018-01-22 09:13:38: Removing temporary files…
2018-01-22 09:13:38: Recreating temporary folder…
2018-01-22 09:13:38: Testing if backup destination can handle subvolumes and snapshots…
Testing for btrfs…
ERROR: not a btrfs filesystem: /backup/testA54hj5luZtlorr494
TEST FAILED: Creating test btrfs subvolume failed
Testing for zfs…
TEST FAILED: Dataset is not set via /etc/urbackup/dataset
2018-01-22 09:13:38: Backup destination cannot handle subvolumes and snapshots. Snapshots disabled.
2018-01-22 09:13:38: Testing if backup destination can handle filesystem transactions…
MOUNT TEST OK
2018-01-22 09:13:38: Binding to interface eth0 for broadcasting…
2018-01-22 09:13:38: Broadcasting on interface IP 192.168.16.34
2018-01-22 09:13:38: UrBackup Server start up complete.
2018-01-22 09:13:38: ERROR: Failed binding SOCKET to Port 55413
2018-01-22 09:13:38: ERROR: Error while starting listening to ports. Stopping server.
2018-01-22 09:13:38: Looking for old Sessions… 0 sessions
2018-01-22 09:13:38: Exited Loop
2018-01-22 09:13:38: Deleting at…
2018-01-22 09:13:38: Deleting SelectThreads…
2018-01-22 09:13:38: Deleting lbs…
2018-01-22 09:13:38: Shutting down plugins…
2018-01-22 09:13:38: Deleting server…
The client side reports:
urbackupclientbackend -v debug
2018-01-22 09:19:04: ERROR: urbackupserver: Failed binding socket to port 35623. Another instance of this application may already be active and bound to this port.
2018-01-22 09:19:04: ERROR: Binding tcp socket to port 35621 failed. Another instance of this application may already be active and bound to this port.
2018-01-22 09:19:04: ERROR: FileServ exit with error code: 99
2018-01-22 09:19:04: Started UrBackupClient Backend…
2018-01-22 09:19:05: Looking for old Sessions… 0 sessions
2018-01-22 09:19:05: Internet mode not enabled
2018-01-22 09:19:05: Final path: /srv
2018-01-22 09:19:05: Final path: /etc
2018-01-22 09:19:05: Final path: /root
…
Firewall on the Server is off, ports on client side are open so that should be the issue. Strange thing is I have no problems at all with my live site. With my test site it will not work. No firewalls, no proxies, no switches preventing port access.
I don’t know how to fix this. After installation I had to re-install the client and server before the client was seen by the server. My guess still is somewhere on port side, but I disabled everything which could block the necessary ports.
Any help would be appreciated, as this drives me crazy.
Many thanks for looking into this.
Best regards,
Chris