DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-10-12 15:13:53

schmal
Member
Registered: 2008-10-12
Posts: 7

Problem with Perl and BackupPC

Hello,

I have some trouble to start up the BackupPC server. I followed the BackupPC Wiki from pwnb0t. When I try to use it via http://192.168.1.2:8080/cgi-bin/BackupPC_Admin.pl I get this error message:

Software error:

Can't locate BackupPC/Lib.pm in @INC (@INC contains: /usr/local/BackupPC/lib /ffp/lib/perl5/5.10.0/arm-linux-thread-multi /ffp/lib/perl5/5.10.0 /ffp/lib/perl5/site_perl/5.10.0/arm-linux-thread-multi /ffp/lib/perl5/site_perl/5.10.0 .) at /mnt/HD_a2/www/pages/cgi-bin/BackupPC_Admin.pl line 54.
BEGIN failed--compilation aborted at /mnt/HD_a2/www/pages/cgi-bin/BackupPC_Admin.pl line 54.

For help, please send mail to this site's webmaster, giving this error message and the time and date of the error.

The Lib.pm does exist in the /ffp/lib/perl5/5.10.0/arm-linux-thread-multi directory. After first installation the web page worked but after a restart I only get this error message. I have installed all fun plug packeges as described in the wiki.

What is to modify to run BackupPC?

I use CH3SNAS with FW 1.3.

Thanks in advance.

regards
schmal

Last edited by schmal (2008-10-12 17:27:33)

Offline

 

#2 2008-10-13 19:47:06

manxam
New member
Registered: 2008-10-13
Posts: 2

Re: Problem with Perl and BackupPC

If it was working prior to a reboot and not after, you have a PATH problem by the sounds of it.

updatedb && locate Lib.pm

Does it find Lib.pm?

Offline

 

#3 2008-10-14 18:15:55

schmal
Member
Registered: 2008-10-12
Posts: 7

Re: Problem with Perl and BackupPC

Hi manxman,

thanks for your reply. Yes Lib.pm was found in another directory:

root@CH3SNAS:/# updatedb && locate Lib.pm
/mnt/HD_a2/ffp/tmp/BackupPC-3.1.0/lib/BackupPC/CGI/Lib.pm
/mnt/HD_a2/ffp/tmp/BackupPC-3.1.0/lib/BackupPC/Lib.pm

I copied the Lib.pm from the /mnt/HD_a2/ffp/tmp/BackupPC-3.1.0/lib/BackupPC/CGI directory to this directory /mnt/HD_a2/ffp/lib/perl5/5.10.0/arm-linux-thread-multi /ffp/lib/perl5/5.10.0. After that I tried to open the web interface with the same error message. After a restart of the NAS the same message occures.

How can I fix the PATH problem?

regards
Schmal

Last edited by schmal (2008-10-15 15:22:52)

Offline

 

#4 2008-10-16 06:00:39

manxam
New member
Registered: 2008-10-13
Posts: 2

Re: Problem with Perl and BackupPC

Do you have BackupPC files located in /usr/local/BackupPC/lib? That's where the script is looking for Lib.pm according to your logs.

in your config.pl file, where is your $Conf{InstallDir} directive set to? Make certain that it points to the same location as your installed directory (according to your above logs, it APPEARS it should be "$Conf{InstallDir} = /usr/local/BackupPC"

Otherwise.. I dunno. wink Sorry

Offline

 

#5 2008-10-18 11:25:33

schmal
Member
Registered: 2008-10-12
Posts: 7

Re: Problem with Perl and BackupPC

Hello,

thanks for your help. With your suggestions I think I found my mistake. During the installation I choose a wrong installation directory. This is the only conclusion I have cause the problem occur after restart. Now the web interface works and I have to fix the user permissions problem ;-).

Thanks again for your good advice.

schmal

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB