> 1. The installer does not properly install the lib files to the user's
> local perl installation directories, at least on my machine. I had to hunt
> them down in /home/backuppc/lib and move them myself.
Perhaps after installing BackupPC you are trying to run it from where
you unpacked BackupPC-1.5.0.tar.gz, rather than from the directory
where you installed it?
> 2. The permissions on TOPDIR aren't checked properly, and aren't set
> properly on directories beneath TOPDIR. Even with this setup:
> -r-sr-sr-x 1 backuppc bacuppc 83042 Aug 19 15:06 BackupPC_Admin
> drwxrw-rw- 6 backuppc bacuppc 4096 Aug 16 13:48 backuppc
> the config file can't be read. Permissions on the backuppc directory need
> to be drwxrwxrwx, unless I'm doing something wrong.
Something is seriously wrong. You shouldn't need 0777 permissions on
TOPDIR. This will be a serious security problem. And having "world"
execute permission on BackupPC_Admin means anyone can access any
backup files through the CGI interface. Not good. If it runs
cleanly, configure.pl does create directories with the right
> Finally, after getting all other errors to go away and getting everything
> installed as well as any documentation will tell me, I still get this
> rather cryptic error:
> Can't use an undefined value as a HASH reference at
> /home/httpd/cgi-bin/backupsys/BackupPC_Admin line 2435.
This means that the CGI script cannot read the config.pl or hosts
files. In the next release this will be reported more gracefully.
As Toby pointed out, you should try installing everything again.
As you discovered, manually copying files around isn't going to
work. Make sure you are root. Make sure you first remove the
bogus files you copied into perl's standard lib path. Carefully
look at the output of configure.pl for error messages. And run
BackupPC from the target install directory as the correct user,
not from the vanilla distribution.