Register for the iXsystems Community to get an ad-free experience and exclusive discounts in our eBay Store.

Problem starting Urbackup in a jail

Western Digital Drives - The Preferred Drives of FreeNAS and TrueNAS CORE

jackyes

Neophyte
Joined
Nov 26, 2018
Messages
6
Hi,
i have run urbackup in a jail for 1 year without problem, now, after an upgrade i have some problem in compiling or start it.
Urbackup doesn't start at boot and if i try to manual start

root@urbackup:~ # urbackupsrv
Shared object "libcryptopp.so.5" not found, required by "urbackupsrv"



root@urbackup:/ # pkg install cryptopp
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Checking integrity... done (0 conflicting)
The most recent version of packages are already installed


I don't know *BSD very well :(....can someone help me?
 

m0nkey_

Dedicated Sage
Joined
Oct 27, 2015
Messages
2,741
How did you install UrBackup? Compile from source, or did you use the port or package?
 

jackyes

Neophyte
Joined
Nov 26, 2018
Messages
6
Compile from source, i have tryed also to install by package
but when i start urbackup:
Code:
root@urbackup:/ # service urbackup_server start								
Starting urbackup_server.													
Shared object "libdl.so.1" not found, required by "urbackupsrv"				
/usr/local/etc/rc.d/urbackup_server: WARNING: failed to start urbackup_server
root@urbackup:/ #


i have found some similar issue:
https://forums.freenas.org/index.php?threads/ur-backup-installation-failure.71400/#post-494133

Can an update (from train 11.1 to 11.2) help?
 
Last edited:

m0nkey_

Dedicated Sage
Joined
Oct 27, 2015
Messages
2,741
Compile from source, i have tryed also to install by package
I suggest trying ports to install UrBackup.

Basic commands to install from ports. This will download the source and build any dependencies that go along with it.
Code:
# portsnap fetch extract
# cd /usr/ports/archivers/urbackup-server
# make install clean BATCH=yes
 

jackyes

Neophyte
Joined
Nov 26, 2018
Messages
6
I suggest trying ports to install UrBackup.

Basic commands to install from ports. This will download the source and build any dependencies that go along with it.
Code:
# portsnap fetch extract
# cd /usr/ports/archivers/urbackup-server
# make install clean BATCH=yes


Code:
root@urbackup:/ # cd /usr/ports/archivers/urbackup-server																		   
root@urbackup:/usr/ports/archivers/urbackup-server # make install clean BATCH=yes												   
/!\ ERROR: /!\																													 
																																   
Ports Collection support for your FreeBSD version has ended, and no ports are													   
guaranteed to build on this system. Please upgrade to a supported release.														 
																																   
No support will be provided if you silence this message by defining																 
ALLOW_UNSUPPORTED_SYSTEM.																										   
																																   
*** Error code 1																													
																																   
Stop.																															   
make: stopped in /usr/ports/archivers/urbackup-server																			   
root@urbackup:/usr/ports/archivers/urbackup-server #	   


:confused:
 

m0nkey_

Dedicated Sage
Joined
Oct 27, 2015
Messages
2,741
Code:
# make install clean BATCH=yes ALLOW_UNSUPPORTED_SYSTEM=yes
 

tmueko

Member
Joined
Jun 5, 2012
Messages
79
Your problem is, that you have 11.2 pkg and 11.1 kernel (a problem we all have with freenas 11.1).
You can try to upgrade to 11.2-RC2 an " pkg install urbackup-server"
 

hervon

Senior Member
Joined
Apr 23, 2012
Messages
338
There seem to have a problem with newer cryptopp 7.0. When trying to install the latest beta 2.3.6 the same error occurred :

Shared object "libcryptopp.so.5" not found, required by "urbackupsrv"

I rolled back to cryptopp-5.6.5_4

I can now compile & run urbackup server 2.3.6 without issue. I submitted this a while back to the developer.
 
Joined
Feb 2, 2017
Messages
38
There seem to have a problem with newer cryptopp 7.0. When trying to install the latest beta 2.3.6 the same error occurred :

Shared object "libcryptopp.so.5" not found, required by "urbackupsrv"

I rolled back to cryptopp-5.6.5_4

I can now compile & run urbackup server 2.3.6 without issue. I submitted this a while back to the developer.

I am having the same issue and since I don't know FreeBSD that well, please help by providing the command to roll back cryptopp from 7.0 to 5.6.5_4.

Thanks
 

lucapsg

Neophyte
Joined
Jun 10, 2016
Messages
9
Hi,
I can not find cryptopp-5.6.5_4.txz for amd64.
I downloaded the version above but during installation it appears ...
Code:
pkg: wrong architecture: FreeBSD:11:powerpc64 instead of FreeBSD:11:amd64

Is it okay anyway?
 

hervon

Senior Member
Joined
Apr 23, 2012
Messages
338
My bad. Wrong source. give me your email in a private message and i'll send you the right file
 
Joined
Feb 2, 2017
Messages
38
My bad. Wrong source. give me your email in a private message and i'll send you the right file
Don't do that. The point of this forum is so that when people in the future come looking, they can follow the guidance here.

Please post an actual source here or you are hurting the community.
 

hervon

Senior Member
Joined
Apr 23, 2012
Messages
338
lol the source is on my hard drive... thanks for your lame advice. i'll send the file to ANYONE who wants it by email. Plain and simple. That's what I can do for the community.
 
Top