if your synology has strace, try

strace -e trace=file -o /tmp/trace.out /blah/blah/blah/BackupPC -d

that will show you all file access attempts by the script. Alternately, search through the installed source to see where it is looking for config.pl.

This seems unlikely, but also check for selinux failures.

both strace & selinux presume your synology is running linux - if not, well, those won't work.

Mauro Condarelli <mailto:[email protected]>
March 17, 2016 at 12:44 PM
Thanks Dan,
I have a config.pl:
    backuppc@syno0:~/BackupPC/conf$ ls -la
  total 96
 drwxr-x--- 2 backuppc users  4096 Mar 13 12:31 .
 drwxr-xr-x 9 backuppc users  4096 Mar 13 12:39 ..
 -rw-r----- 1 backuppc users 85652 Mar 13 12:31 config.pl
 -rw-r--r-- 1 backuppc users  2214 Mar 13 12:31 hosts
athough I did not (yet) configure it in any way (I plan to do it from the web IF) it already contains the
    $Conf{Language} = 'en';
line.

My guess is BackupPC is unable to find (or read) config.pl, but I can't understand why.
What should I check?

Any pointer welcome.

Regards
Mauro


Il 17/03/2016 17:15, Dan Pritts ha scritto:

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
Dan Pritts <mailto:[email protected]>
March 17, 2016 at 12:15 PM
I know nothing about a synology nas, but i found this in the source:

Lib.pm: return "No language setting" if ( !defined($bpc->{Conf}{Language}) );

My config.pl file has

    $Conf{Language} = 'en';


I wonder if you aren't getting a config.pl file at all, perhaps the source installation doesn't give you one, just an example with a different name that you are supposed to customize.

hope this helps.


--
Dan Pritts
ICPSR Computing & Network Services
University of Michigan
+1 (734) 615-9529

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
_______________________________________________
BackupPC-users mailing list
[email protected]
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

Reply via email to