From: Craig B. <cba...@us...> - 2005-02-09 01:16:10
|
Christian Straka writes: > > Your permissions look ok. > > There is a line "use lib ...." near the top of cgi-bin/BackupPC_Admin. > > What is it set to? > > use lib "/usr/local/backuppc/lib" > > > Also, in /usr/local/backuppc/lib/BackupPC/Lib.pm, what values > > are TopDir, BinDir and LibDir set to? > > TopDir => $topDir || '/mnt/backup', > BinDir => $installDir || '/usr/local/backuppc', > LibDir => $installDir || '/usr/local/backuppc', > . > . > . > $bpc->{BinDir} .= "/bin"; > $bpc->{LibDir} .= "/lib"; > > At configuration time I chose: > __TOPDIR__ : /mnt/backup > __INSTALLDIR__ : /usr/local/backuppc > __CGIDIR__ : /var/www/cgi-bin > > I hope, you can see anything wrong with that, so I can finally resolve > this. This all looks fine. What are the permissions on /mnt/backup/conf/config.pl Now try this: su backuppc /var/www/cgi-bin/BackupPC Do you get a full html page, or just html with the "Unable to read" error? If that works, but apache does not, then it must be something to do with the apache configuration. I don't have the apache docs handy; might it be doing a chroot? Perhaps you could add some lines to your printenv script ls -l / ls -l /mnt/backup/conf/config.pl wc /mnt/backup/conf/config.pl Craig |