NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
igor99
Dec 02, 2008Aspirant
Install BackupPC on Readynas NV+
I am wondering, if anyone has already tried to install Backuppc on a Readynas. As I would like to backup remote machines with daily snapshots, ie a different folder per machine for every day.
I am already succeded to install backuppc through apt-get, but getting this error message, when it is configured:
> Can't exec "chfn": No such file or directory at /usr/sbin/adduser line 765.
> chown: `backuppc:backuppc': invalid user
> dpkg-statoverride: non-existing user backuppc
> /var/lib/dpkg/info/backuppc.postinst: line 83: htpasswd2: command not found
> Starting backuppc: start-stop-daemon: user `backuppc' not found
> (Success)
> invoke-rc.d: initscript backuppc, action "start" failed.
first, it seems the install routine was not able to create the user backuppc - it might need the user admin, rather than backuppc user to run smoothly on the nas. Second, I was wondering how it is possible to add the backuppc document folders to the apache server (in /etc/frontview/apache/httpd.conf).
Or there might be another easier way to get running backuppc - anyway i would be very glad, if someone could give a tip.
I am already succeded to install backuppc through apt-get, but getting this error message, when it is configured:
> Can't exec "chfn": No such file or directory at /usr/sbin/adduser line 765.
> chown: `backuppc:backuppc': invalid user
> dpkg-statoverride: non-existing user backuppc
> /var/lib/dpkg/info/backuppc.postinst: line 83: htpasswd2: command not found
> Starting backuppc: start-stop-daemon: user `backuppc' not found
> (Success)
> invoke-rc.d: initscript backuppc, action "start" failed.
first, it seems the install routine was not able to create the user backuppc - it might need the user admin, rather than backuppc user to run smoothly on the nas. Second, I was wondering how it is possible to add the backuppc document folders to the apache server (in /etc/frontview/apache/httpd.conf).
Or there might be another easier way to get running backuppc - anyway i would be very glad, if someone could give a tip.
14 Replies
Replies have been turned off for this discussion
- hnoAspirantIf apt-get complains that the package is already there then use the alternative dpkg method explained earlier, but extract to / instead of /tmp
# wget http://www.readynas.com/packages/readynas/perl-modules_5.8.8-7.infrant2_all.deb
# dpkg-deb -x perl-modules_5.8.8-7.infrant2_all.deb / - marfeaAspirantI've had a slightly different experience with installing backuppc on a Readynas Duo. My best attempt has been as follows:
1. Install togglessh, enablessh and apt.
2. SSH into the NAS, and enter the following:
apt-get update
apt-get --reinstall install perl perl-base perl-modules perl-doc
apt-get install backuppc
This failed as follows:
/var/lib/dpkg/info/backuppc.postinst: line 83: htpasswd2: command not found
Starting backuppc: 2009-08-10 06:54:24 $Conf{NmbLookupPath} = '/usr/bin/nmblookup' is not a valid executable program
invoke-rc.d: initscript backuppc, action "start" failed.
So I too cannot find htpasswd2, but the installer has successfully created the backuppc user.
Looking into the lack of nmblookup, dpkg -l | grep sa?mba? reveals:
ii samba 3.0.34.netgear2 a LanManager-like file and printer server fo
ii samba-common 3.0.34.netgear2 Samba common files used by both the server a
ii smbclient 3.0.34.netgear2 a LanManager-like simple client for Unix
ii smbfs 3.0.34.netgear2 mount and umount commands for the smbfs (for
So there is obviously a "special" version of smbclient that doesn't include nmblookup. This is a bit of a pain, because this is how backuppc finds machines to back up.
Q1: Does anyone have ideas as to where I can find (or in desperation compile) nmblookup?
Weirdly, when I start backuppc manually (using /etc/init.d/backuppc start), I get a different error:
Starting backuppc: /usr/bin/perl: relocation error: /usr/lib/perl5/auto/Compress/Zlib/Zlib.so: undefined symbol: Perl_Gthr_key_ptr
Q2: How do I solve the zlib problem? - tahintzAspirantI had better luck installing a full, but separate, version of perl:
apt-get install gcc bison make libc6-dev
wget http://www.cpan.org/src/5.0/perl-5.12.2.tar.gz
tar xzf perl-5.12.2.tar.gz
cd perl-5.12.2
./Configure -des -Dprefix=$HOME/tools/perl -Accflags="-DHAS_SYSCALL_PROTO -DHAS_SHMAT_PROTOTYPE"
make install
$HOME/tools/perl/bin/cpan install YAML LWP - InfiniteAspirant
hno wrote: If apt-get complains that the package is already there then use the alternative dpkg method explained earlier, but extract to / instead of /tmp
# wget http://www.readynas.com/packages/readynas/perl-modules_5.8.8-7.infrant2_all.deb
# dpkg-deb -x perl-modules_5.8.8-7.infrant2_all.deb /
So... this helped fix many of my issues, but now I'm getting this...
$ make
make: *** No rule to make target `/usr/lib/perl/5.8/CORE/config.h', needed by `Makefile'. Stop.
I Googled the error and it looks like I need Perl-devel.
From http://perl.apache.org/docs/1.0/guide/t ... oting.html:
If while running 'make' you get a message:make: *** No rule to make target
`/usr/lib/perl5/5.8.3/i386-linux/CORE/config.h',
needed by `Makefile'. Stop.
That means that your Perl installation is incomplete. Usually this is the case on package based distros, where perl is split across multiple packages. Usually you need to install the Perl-devel package to be able to build any other Perl modules that include XS extensions.
Any idea's on how to fix this? I was hoping to keep 5.8.8 so that I can package up the modules in a Frontview package.
Thanks.
-i
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!