BackupPC-users

Re: [BackupPC-users] SOLVED - I broke my cgi interface!

2010-03-27 12:19:03
Subject: Re: [BackupPC-users] SOLVED - I broke my cgi interface!
From: Jaco Meintjes <jaco AT oaks.co DOT za>
To: Tony Schreiner <schreian AT bc DOT edu>
Date: Sat, 27 Mar 2010 18:16:05 +0200
Hey Guys,

I solved my CGI interface issue by simply commenting out line 64 ( 
$Conf{BackupFilesExclude} =
'['/']'; ) and restarting the backuppc service.  For some strange reason 
this happens everytime I change anything on the hosts file...

Thanx for all your input.
Jaco


On 26/03/2010 16:14, Tony Schreiner wrote:
> You don't want quotes on the outside of the square brackets.
>
> Or alternatively, since it's only one item and not an array, you don't 
> want square brackets.
>
> Tony
>
> On Mar 26, 2010, at 2:23 AM, Jaco Meintjes wrote:
>
>> This is what I get on line 64 in config.pl: $Conf{BackupFilesExclude} =
>> '['/']';
>>
>> I've also changed the value to undef without any difference.  I guess
>> the bigger problem is that it says it can't execute the config.pl file.
>> What should the permissions for config.pl be?  I've changed it to the
>> following without success:
>>
>> -rwxr-xr-x  1 backuppc backuppc 6708 Mar 26 08:12 config.pl
>>
>> Anything else I can or should check?
>>
>> Highly appreciated,
>> J
>>
>> On 26/03/2010 00:51, Dale King wrote:
>>> On Thu, Mar 25, 2010 at 10:12:15PM +0200, Jaco Meintjes wrote:
>>>
>>>> Couldn't execute /opt/backuppc/files/conf/config.pl: [Thu Mar 25
>>>> 16:33:48 2010] BackupPC_Admin: Illegal division by zero at
>>>> /opt/backuppc/files/conf/config.pl line 64.
>>>>
>>>> How do I fix this?
>>>>
>>> Start by looking at line 64 in /opt/backuppc/files/conf/config.pl ?
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>  
>>>
>>> Download Intel&#174; Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> BackupPC-users mailing list
>>> BackupPC-users AT lists.sourceforge DOT net
>>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>>> Wiki:    http://backuppc.wiki.sourceforge.net
>>> Project: http://backuppc.sourceforge.net/
>>>
>>>
>>
>> ------------------------------------------------------------------------------
>>  
>>
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> BackupPC-users mailing list
>> BackupPC-users AT lists.sourceforge DOT net
>> List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
>> Wiki:    http://backuppc.wiki.sourceforge.net
>> Project: http://backuppc.sourceforge.net/
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/