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
- chirpaLuminaryTry installing the 'passwd' package, which should add the chfn program.
- igor99AspirantJust tried - it says passwd is already the newest version. i have added then manually the user:group backuppc.
Then though, when trying to start backuppc i get the following error message:Starting backuppc: Can't locate DirHandle.pm in @INC (@INC contains: /usr/share/backuppc/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/backuppc/lib/BackupPC/Lib.pm line 45.
BEGIN failed--compilation aborted at /usr/share/backuppc/lib/BackupPC/Lib.pm line 45.
Compilation failed in require at /usr/share/backuppc/bin/BackupPC line 60.
BEGIN failed--compilation aborted at /usr/share/backuppc/bin/BackupPC line 60.
are there any libraries missing? - chirpaLuminaryDirHandle.pm is part of the 'perl-modules' package, try installing that. Use can try to use apt-get -f to force it to install if it says its already there.
Or do this:
# wget http://http.us.debian.org/debian/pool/main/p/perl/perl-modules_5.8.8-7etch3_all.deb
# dpkg-deb -x perl-modules_5.8.8-7etch3_all.deb ./tmp
# cp ./tmp/usr/share/perl/5.8.8/DirHandle.pm /usr/share/perl/5.8.8/ - igor99Aspirantthank you very much - did as you said, it also removed the existing error message - but got a new one: now the Compare.pm cannot be located. Is there a possibility to install all relevant perl stuff without leaving out any functions etc (as your hint with the manual installation of perl-modules)? with Dpkg i see that the package description seems to be custom-made for Readynas - (perl, perl-base, perl-modules, perl-suid)?
here's the error message:>Starting backuppc: Can't locate File/Compare.pm in @INC (@INC contains: /usr/share/backuppc/lib /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/backuppc/lib/BackupPC/Lib.pm line 47.
BEGIN failed--compilation aborted at /usr/share/backuppc/lib/BackupPC/Lib.pm line 47.
Compilation failed in require at /usr/share/backuppc/bin/BackupPC line 60.
BEGIN failed--compilation aborted at /usr/share/backuppc/bin/BackupPC line 60. - chirpaLuminaryTry 'apt-get -f install perl-modules' to put them all there.
- duanegAspirantHi Folks,
Hope you don't mind if I pickup this thread, but I am trying to do the same thing on my Duo, and have gotten precisely the same results as mentioned above. The suggestion of apt-get -f perl-modules just says the package is already the most recent version. I find things like:
nas-02-33-A4:~# dpkg -L perl-modules | grep Handle
/usr/share/perl/5.8.8/DirHandle.pm
/usr/share/perl/5.8.8/Attribute/Handlers.pm
/usr/share/perl/5.8.8/Tie/Handle.pm
But if I look in /usr/share/perl/5.8.8:
nas-02-33-A4:/usr/share/perl/5.8.8# ls -l D*
DBM_Filter:
total 0
Devel:
total 0
Digest:
total 0
The modules are not there even though the package says they should be. I have another Debian sarge system which is ARM based and it has perl 5.8.4 with all the modules as listed by dpkg.
If I could make backuppc work, I would buy a second Duo just for backups and use my current one as a media server.
Thanks for any ideas,
Duane - Mark_VAspirantI really hope someone can figure this out. I am trying to install zabbix and I get the same error message when I try to add user 'zabbix'.
Thanks :cry: - Mark_VAspirantWhen I figured that chfn does not do much, I did this:
touch /usr/bin/chfn #which made an empty file named chfn
chmod 755 /usr/bin/chfn #which makes chfn executable
adduser #where I added the user zabbix
cat /etc/passwd #where I saw the new user was added! Yaaaa!
I am not sure if I will run into problems later, but 1 hurdle has been jumped.
I hope this helps someone.
Mark - Mark_VAspirantSorry about the chatter but here is something else I found at
http://www.regatta.cmc.msu.ru/doc/usr/share/man/info/ru_RU/a_doc_lib/cmds/aixcmds1/chfn.htm
The chfn command changes a user's gecos information. Gecos information is general information stored in the /etc/passwd file. This information is not used by the system. The type of information you store in this field is up to you. Some system administrators store information such as the user's full name, phone number, and office number. - gabriel_hahmannAspirantSorry to bother you but did anybody actually got BackupPC working on the Duo or the NV+? As I've seen on the compatibility chart, both have the same hardware, I mean, same processor and amount of memory, the huge difference is that NV+ can hold four disks.
I would really appreciate any response as I wanna buy one Duo and I really need this feature to acomplish my goals.
Thanks for all for the great forum and speed on answering the questions.
Gabriel.
Related Content
NETGEAR Academy

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