I'm on FreeBSD, and I'm attempting to create a port and have run into
problems. I've created the backuppc user, and can exec as that user.
I'm also using apache2 with suexec privs. The web interface pulls up
just fine.
I run into problems however when attempting to start backuppc. I've
seen references to it on the net in various places. all pointing execing
as the wrong user:
backup# perl BackupPC
No language setting
BackupPC::Lib->new failed
I looked at the sources, and basically it tests to see if it can
instantiate BackupPC::Lib->new. If not, it returns this. I get this
regardless of whether I'm running as root, or as backuppc. I can even
do whoami and get the right info.
The only way I begin to make progress with this is if I change the call
from ->new, to ->new("","","/usr/local/etc/backuppc"). Now, I know that
this should be read in to begin with, but I think I've gotten myself
into a chicken-or-the-egg situation. When I installed, I told it where
to put config.pl. I've subsequently run configure.pl and all appears to
be well. Attempting to launch fails unless I pass the config path in
the ->new call. I have to think that this shouldn't be required, but if
it is I need to know so that I put a patch in the port.
Thanks!
Tony Shadwick
OSS Solutions
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/