On Tue, 2005-10-04 at 16:54, PHONG LE wrote:
> I had successfully set up BackupPC couple months ago while I was working for 
> in a lab. And now I want to set it up somewhere else to use it and 
> encountered problems with CGI. This is a permission problem I guess. I came 
> across this problem when I first set it up. Unfortunaly, I forgot how I fixed 
> it. Here is the error:
> Software error:
> 
> Can't locate BackupPC/Lib.pm in @INC (@INC contains: 
> /home/backuppc/BackupPC/lib 
> /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 
> /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 
> /usr/lib/perl5/site_perl 
> /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi 
> /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 
> /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 
> /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.6/i386-linux-thread-multi 
> /usr/lib/perl5/5.8.6 .) at /var/www/cgi-bin/BackupPC_Admin line 54.
> BEGIN failed--compilation aborted at /var/www/cgi-bin/BackupPC_Admin line 54.
> 
> 
> I didn't use mod_perl, and the permission on BackupPC_Admin: 550
> Help?

Who owns the directory and who does the process run as?  Either the
cgi script must run setuid as the backuppc user (and you need
suidperl for that (install perl-suidperl on redhat/fedora
systems), or the web server user and backuppc user must be
the same.

-- 
  Les Mikesell
   [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to