UrBackup 1.4.11 CentOS 6.7 (x86_64) - Client Installation

So, I am using the built package from the kot1grun repository:

I have downloaded the file like so (straight from the website):

cd /etc/yum.repos.d/
wget http://download.opensuse.org/repositories/home:kot1grun/CentOS_6/home:kot1grun.repo
yum install urbackup-client-nogui

However, the output from the final line comes out to this:

[root@CentOS yum.repos.d]# yum install urbackup-client-nogui
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: pubmirrors.dal.corespace.com
 * extras: mirror.compevo.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: dallas.tx.mirror.xygenhosting.com
Resolving Dependencies
--> Running transaction check
---> Package urbackup-client-nogui.x86_64 0:1.4.9-3.1 will be installed
--> Processing Dependency: cryptopp for package: urbackup-client-nogui-1.4.9-3.1.x86_64
--> Processing Dependency: libcryptopp.so.6()(64bit) for package: urbackup-client-nogui-1.4.9-3.1.x86_64
--> Running transaction check
---> Package cryptopp.x86_64 0:5.5.2-1.el6.rf will be installed
---> Package urbackup-client-nogui.x86_64 0:1.4.9-3.1 will be installed
--> Processing Dependency: libcryptopp.so.6()(64bit) for package: urbackup-client-nogui-1.4.9-3.1.x86_64
--> Finished Dependency Resolution
Error: Package: urbackup-client-nogui-1.4.9-3.1.x86_64 (home_kot1grun)
           Requires: libcryptopp.so.6()(64bit)
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
db4-4.7.25-20.el6_7.x86_64 is a duplicate with db4-4.7.25-17.el6.x86_64

When I try to run this:

[root@CentOS yum.repos.d]# yum install urbackup-client-nogui --skip-broken 

It acts as if it completed, but I have no idea where to go to start the client - as it has still yet to populate the UrBackup server. It honestly would not be as bad if either the download site or the wiki had something for a CentOS installation; however, I found nothing on the download site and the Wiki only makes mention to Ubuntu and Debian - and I have tried some of the commands that are supposedly compatible, but it either gets to a part where the commands will no longer work and all the progress up was in vain, or it just errors out an I spend another fifty minutes browsing the web to find some string to follow… which normally leads to a dead-end.

My question, after all that ranting, is there someone who has some documentation on how to do it for a CentOS machine or at least knows where I can find the file - or what the name changes to because the “find” command was about as helpful as searching online.

If there is another way to do it, I am all eyes and ears for it.

If you needs exactly what I am running:

Linux version 2.6.32-279.2.1.e16.x86_64 (mockbuild@c6b7.bsys.dev.centos.org) (gcc version 4.4.6 20120305 (Red Hat 4.4.6-4) (GCC) ) #1 SMP Friday Jul 20 01:55:29 UTC 2012
CentOS release 6.7 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:print-4.0-noarch

@kot1grun

CentOS 6 seems to be broken: https://build.opensuse.org/package/show/home:kot1grun/cryptopp

Well, that bites.

Oh well. I’ll keep an eye on the forum in the case that it is fixed, but in the mean time I’ll look for an alternative. Do let me know if and when this gets resolved, because I would absolutely love to keep using this software.

Yeah, the problem is that cryptopp has been updated to 5.6.3 “with respect
to API and ABI”. So, I’ve tried to switch to new version. Unsuccessful,
unfortunately. I’ll try to correct spec ASAP.

Done! Successfully build against cryptopp 5.6.3.

Awesome! I will try this out and let you know if this works.

Worked great for me.

[root@CentOS yum.repos.d]# wget http://download.opensuse.org/repositories/home:kot1grun/CentOS_6/home:kot1grun.repo
--2016-03-24 11:15:44--  http://download.opensuse.org/repositories/home:kot1grun/CentOS_6/home:kot1grun.repo
Resolving download.opensuse.org... 195.135.221.134, 2001:67c:2178:8::13
Connecting to download.opensuse.org|195.135.221.134|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://download.opensuse.org/repositories/home:/kot1grun/CentOS_6/home:kot1grun.repo [following]
--2016-03-24 11:15:44--  http://download.opensuse.org/repositories/home:/kot1grun/CentOS_6/home:kot1grun.repo
Reusing existing connection to download.opensuse.org:80.
HTTP request sent, awaiting response... 200 OK
Length: 262 [text/plain]
Saving to: “home:kot1grun.repo”

100%[======================================>] 262         --.-K/s   in 0s

2016-03-24 11:15:45 (35.5 MB/s) - “home:kot1grun.repo” saved [262/262]

[root@CentOS yum.repos.d]# yum install urbackup-client-nogui
Loaded plugins: fastestmirror, priorities, refresh-packagekit
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: centos-mirror.jchost.net
 * extras: centos.mirror.lstn.net
 * rpmforge: mirror.hmc.edu
 * updates: ftpmirror.your.org
base                                                     | 3.7 kB     00:00
extras                                                   | 3.4 kB     00:00
home_kot1grun                                            | 1.2 kB     00:00
home_kot1grun/primary                                    | 3.9 kB     00:00
home_kot1grun                                                             20/20
rpmforge                                                 | 1.9 kB     00:00
updates                                                  | 3.4 kB     00:00
updates/primary_db                                       | 4.6 MB     00:02
Resolving Dependencies
--> Running transaction check
---> Package urbackup-client-nogui.x86_64 0:1.4.11-3.1 will be installed
--> Processing Dependency: libcryptopp.so.6()(64bit) for package: urbackup-client-nogui-1.4.11-3.1.x86_64
--> Running transaction check
---> Package cryptopp.x86_64 0:5.5.2-1.el6.rf will be updated
--> Processing Dependency: libcryptopp.so.1()(64bit) for package: cryptopp-devel-5.5.2-1.el6.rf.x86_64
--> Processing Dependency: libcryptopp.so.1()(64bit) for package: cryptopp-progs-5.5.2-1.el6.rf.x86_64
--> Processing Dependency: cryptopp = 5.5.2 for package: cryptopp-devel-5.5.2-1.el6.rf.x86_64
--> Processing Dependency: cryptopp = 5.5.2 for package: cryptopp-progs-5.5.2-1.el6.rf.x86_64
---> Package cryptopp.x86_64 0:5.6.3-37.1 will be an update
--> Running transaction check
---> Package cryptopp-devel.x86_64 0:5.5.2-1.el6.rf will be updated
---> Package cryptopp-devel.x86_64 0:5.6.3-37.1 will be an update
---> Package cryptopp-progs.x86_64 0:5.5.2-1.el6.rf will be updated
---> Package cryptopp-progs.x86_64 0:5.6.3-37.1 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package                   Arch       Version           Repository         Size
================================================================================
Installing:
 urbackup-client-nogui     x86_64     1.4.11-3.1        home_kot1grun     942 k
Updating for dependencies:
 cryptopp                  x86_64     5.6.3-37.1        home_kot1grun     1.1 M
 cryptopp-devel            x86_64     5.6.3-37.1        home_kot1grun     188 k
 cryptopp-progs            x86_64     5.6.3-37.1        home_kot1grun     926 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       3 Package(s)

Total download size: 3.1 M
Is this ok [y/N]: y
Downloading Packages:
(1/4): cryptopp-5.6.3-37.1.x86_64.rpm                    | 1.1 MB     00:09
(2/4): cryptopp-devel-5.6.3-37.1.x86_64.rpm              | 188 kB     00:03
(3/4): cryptopp-progs-5.6.3-37.1.x86_64.rpm              | 926 kB     00:11
(4/4): urbackup-client-nogui-1.4.11-3.1.x86_64.rpm       | 942 kB     00:10
--------------------------------------------------------------------------------
Total                                            78 kB/s | 3.1 MB     00:40
warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature, key ID ac2d60c7: NOKEY
Retrieving key from http://download.opensuse.org/repositories/home:/kot1grun/CentOS_6//repodata/repomd.xml.key
Importing GPG key 0xAC2D60C7:
 Userid: "home:kot1grun OBS Project <home:kot1grun@build.opensuse.org>"
 From  : http://download.opensuse.org/repositories/home:/kot1grun/CentOS_6//repodata/repomd.xml.key
Is this ok [y/N]: y
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Updating   : cryptopp-5.6.3-37.1.x86_64                                                            1/7
  Updating   : cryptopp-devel-5.6.3-37.1.x86_64                                                      2/7
  Installing : urbackup-client-nogui-1.4.11-3.1.x86_64                                               3/7
  Updating   : cryptopp-progs-5.6.3-37.1.x86_64                                                      4/7
  Cleanup    : cryptopp-devel-5.5.2-1.el6.rf.x86_64                                                  5/7
  Cleanup    : cryptopp-progs-5.5.2-1.el6.rf.x86_64                                                  6/7
  Cleanup    : cryptopp-5.5.2-1.el6.rf.x86_64                                                        7/7
  Verifying  : cryptopp-devel-5.6.3-37.1.x86_64                                                      1/7
  Verifying  : urbackup-client-nogui-1.4.11-3.1.x86_64                                               2/7
  Verifying  : cryptopp-5.6.3-37.1.x86_64                                                            3/7
  Verifying  : cryptopp-progs-5.6.3-37.1.x86_64                                                      4/7
  Verifying  : cryptopp-progs-5.5.2-1.el6.rf.x86_64                                                  5/7
  Verifying  : cryptopp-devel-5.5.2-1.el6.rf.x86_64                                                  6/7
  Verifying  : cryptopp-5.5.2-1.el6.rf.x86_64                                                        7/7

Installed:
  urbackup-client-nogui.x86_64 0:1.4.11-3.1

Dependency Updated:
  cryptopp.x86_64 0:5.6.3-37.1  cryptopp-devel.x86_64 0:5.6.3-37.1  cryptopp-progs.x86_64 0:5.6.3-37.1

Complete!

After I got the client working (I can see it on the backup server now) I am getting these errors:

ERROR: urbackupserver: Failed binding SOCKET to Port 35623
ERROR: Binding tcp socket to port 35621 failed
ERROR: FileServ exit with error code: 99

Running:

[root@CentOS /]# netstat -a | grep 35623
tcp        0      0 *:35623                     *:*                         LISTEN
tcp        0      0 CentOS-IP:35623            urbackupserver-ip:49498      ESTABLISHED
[root@fog /]# netstat -a | grep 35621
tcp        0      0 *:35621                     *:*                         LISTEN
[root@CentOS /]#

Not sure where to go from here; the only thing related to UrBackup that I could find was this:

/usr/sbin/start_urbackup_client

I should also make note that I cannot backup anything, but it does see the client on the server.

=====================================================================================
Edit - Update:

While it is finicky, it is working now. I’m going to do more testing on it, but I think that this is solved. I thank you again, kot1grun, for the CentOS 6.7 build - for without it, I would probably be trying to find a way to get a new raid server going on Ubuntu right about now.

Seriously, though: Thank you.

@kot1grun I would like to point out one more thing, and it may not be in your field or uroni’s at this point; however, I tried to perform a full file backup and it began giving me errors about directory length - I will try to post a log about this later. It is when there is about 15+ folders in a directory like:

/path/to/a/long/file/some/where/buried/deep/in/the/recesses/of/this/file/system/oh/the/humanity/why/is/this/file/in/so/many/folders/here_it_is.txt