On Wed, 2006-06-07 at 11:30 -0400, Thomas Maguire wrote: > I recently installed BackupPC 2.1.2 on Linux Mandrake 10.0. I edited > the configure.pl and hosts files for one PC to test the operation of > the software. > > The LOG and backuppc file system show that the PC is being backed up. > > My problem is with the BackupPC_Admin script. I changed the httpd > software to start as the backuppc user and removed the setuid > permission from the BackupPC_Admin script. I also setup the htpasswd > and the system prompts me for and accepts my username/password. The > test.cgi script in the /var/www/cgi-bin runs without error but when I > try to execute the BackupPC_Admin script I receive the following > message: > > ----------------------------------------------- > Software error: > Can't locate object method "register_cleanup" via package > "Apache::RequestRec" at /usr/lib/perl5/5.8.3/CGI.pm line 353. > > For help, please send mail to the webmaster ([EMAIL PROTECTED]), giving > this error message and the time and date of the error. > > > ----------------------------------------------- > > I have no perl experience but after some searching was able to locate > the register_cleanup subroutine in compat.pm instead of the > RequestRec.pm. I am starting to think that the mod_perl software is > not configured properly but was hoping for some advice from the user > list as how best to proceed. > > rpm -q returns: perl-5.8.3-5mdk, > apache2-mod_perl-2.0.48_1.99_11-3mdk > > $ENV{"MOD_PERL"}; returns: MOD_PERL = mod_perl/1.99_11
Unless you expect to spend a lot of time in the web interface, configure it to run as a normal cgi instead of under mod_perl - at least until the Linux distributions get everything up to a 2.x release. You can probably make mod_perl work but it may take days to save yourself a fraction of a second per click. -- Les Mikesell [EMAIL PROTECTED] _______________________________________________ BackupPC-users mailing list BackupPC-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/backuppc-users http://backuppc.sourceforge.net/