I run multiple instances of BackupPC, and recently attempted upgrading to
3.0.
I run the different instances as different users, and out of different
$TopDir directories. I'm unable to start the deamon for BackupPC2 (my 2nd
instance)
So it seems to me like the $Conf{ConfDir} variable is getting ignored in the
conf.pl.
The BackupPC daemon fails becuase of a UID error- that's becuase it keeps
reading /etc/BackupPC/conf.pl and not /etc/BackupPC2/conf.pl
(i know this because i did an strace)
So i decided to trace down where this variable is getting picked up. I
noticed in the Lib.pm code, i see that the confdir is referenced as
"$confDir" and not as "$ConfDir"
I don't really know perl at all, but does this seem right?
When i corrected the case on these variables, my UID problem didn't go away.
When i changed the (hardcoded?) /etc/BackupPC value to my intended
/etc/BackupPC2 everything worked fine.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-devel
http://backuppc.sourceforge.net/