Clients won't bind to existing server


#1

I had a crash of two of my clients running debian 9 and had to re-install urbackup on them. Unfortunately now they won’t bind to the server anymore. The clients do start without any errors but the Server says Server Rejected. I uninstalled the clients several times with pauses and the suggested settings on the site. Removing the server_idents.txt is also not working. Anyone any idea how to bind them back to te server so i can continue the backups.

Any help is appreciated.

Some specs.
Server is running 2.1.20.
Client version is 2.2.6.0
Client and server are both headless and are running debian

this is the log of the client:
2018-07-28 20:17:07: urbackupserver: Server started up successfully!
2018-07-28 20:17:07: Started UrBackupClient Backend…
2018-07-28 20:17:07: FileSrv: Servername: -post-
2018-07-28 20:17:08: Looking for old Sessions… 2 sessions
2018-07-28 20:17:43: WARNING: Shutting down (Signal 15)
2018-07-28 20:17:43: Deleting lbs…
2018-07-28 20:17:43: Shutting down plugins…
2018-07-28 20:17:43: Deleting server…
2018-07-28 20:18:36: SQLite: recovered 24 frames from WAL file /usr/local/var/urbackup/backup_client.db-wal code: 283
2018-07-28 20:18:36: urbackupserver: Server started up successfully!
2018-07-28 20:18:36: Started UrBackupClient Backend…
2018-07-28 20:18:36: FileSrv: Servername: -post-
2018-07-28 20:18:37: Looking for old Sessions… 0 sessions

Both clients status is OK and online with Server Rejected.

Also, what I can’t figure out is how to stop and restart the client on debian. There is no /etc/init.d or service urbackup … if anyone knows this it would be nice, but is not important. It would be nice to have the clients in the backup again.

thanx for any help.

Chris


#2

Hi

If they a are set as internet client, maybe you need to set the internet password as well.
Doing the install from the client you download from the server should set that automatically

Also when you delete server_idents.txt, does a new one appear?
If that’s the case , you may have multiple servers and the client may be binding to the wrong one.
In that case you can copy it from a client that bind to the good server, or merge them if you want the client to bind to the two servers.


#3

Hi Orogor,

I have only one server and I tried installing the client, downloaded from de server. No success. When I delete the server_idents.txt. no new one is appearing.

I’m not sure what the problem is. I checked everything already but stil no luck. I do not have any firewalling on the local net so that isn’t a problem either. Any idea why the server_idents.txt won’t appear if it is deleted?

Cheers,

Chris


#4

Hi

Because it can’t contact the server.
Can you also post server logs in debug mode, so wee see the lines around where it reject the client ?


#5

Hi Orogor,

thanx for taking the time to look into this. I’m not sure how to set debug mode. What I now have is the following:
2018-07-29 21:08:54: Sending Identity to client “centraal” failed. Retrying soon…
2018-07-29 21:08:54: Sending Identity to client “post” failed. Retrying soon…
2018-07-29 21:08:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:09:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:10:17: Looking for old Sessions… 0 sessions
2018-07-29 21:10:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:11:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:12:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:13:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:14:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:15:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:16:57: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:17:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:18:54: Sending Identity to client “centraal” failed. Retrying soon…
2018-07-29 21:18:54: Sending Identity to client “post” failed. Retrying soon…
2018-07-29 21:18:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:19:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:20:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:21:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:22:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:23:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:24:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:25:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:26:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:27:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:28:54: Sending Identity to client “centraal” failed. Retrying soon…
2018-07-29 21:28:54: Sending Identity to client “post” failed. Retrying soon…
2018-07-29 21:28:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:29:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:30:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:31:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:32:58: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:33:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:34:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:35:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:36:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:37:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:38:54: Sending Identity to client “centraal” failed. Retrying soon…
2018-07-29 21:38:54: Sending Identity to client “post” failed. Retrying soon…
2018-07-29 21:38:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:39:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:40:18: Looking for old Sessions… 0 sessions
2018-07-29 21:40:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:41:17: Sending file “/usr/share/urbackup/www”
2018-07-29 21:41:17: Sending file: /usr/share/urbackup/www/index.htm
2018-07-29 21:41:17: Sending file: /usr/share/urbackup/www/index.htm done
2018-07-29 21:41:17: Sending file “/usr/share/urbackup/www/images/urbackup.png”
2018-07-29 21:41:17: Sending file: /usr/share/urbackup/www/images/urbackup.png
2018-07-29 21:41:17: Sending file: /usr/share/urbackup/www/images/urbackup.png done
2018-07-29 21:41:19: Sending file “/usr/share/urbackup/www/fonts/glyphicons-halflings-regular.woff2”
2018-07-29 21:41:19: Sending file: /usr/share/urbackup/www/fonts/glyphicons-halflings-regular.woff2
2018-07-29 21:41:19: Sending file: /usr/share/urbackup/www/fonts/glyphicons-halflings-regular.woff2 done
2018-07-29 21:41:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:42:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:43:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:44:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:45:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:46:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:47:59: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:48:54: Sending Identity to client “centraal” failed. Retrying soon…
2018-07-29 21:48:54: Sending Identity to client “post” failed. Retrying soon…
2018-07-29 21:49:00: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:50:00: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:51:00: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections
2018-07-29 21:52:00: Authed+capa for client ‘centraal’ (encrypted-v2, compressed-v2, token auth) - 1 spare connections

Is this something you can work with?

Chris


#6

Ok, have spend hours and day’s finding the problem, rights, dns, settings, firewall rules, iptabels…nothing. Formated the server and added all clients again. It’s now working again. This isn’t the first time that I have this issue with clients. Urbackup should really do something about this. The documentation isn’t complete as there are not all commands listed. Also the most important settings of server and clients (file content) isn’t documented. This could help find possible errors much easier. For example I stil don’t know how to stop the client on a headless debian 9 server. init.d or service isn’t working there. How can I start a server in debug mode? Etc. It would be nice if there would come some more support.

Anyways, thanks for your help and Urbackup is a very nice product.
This topic can be closed.

Best regards,

Chris