I finally figured out what was going on with this. Basically the CGI.pm that came with my version of perl uses an outdated naming convention and that was causing this error:

Can't locate Apache/Response.pm in @INC (@INC contains:...

SOO, I installed the new one from http://search.cpan.org/dist/CGI.pm/ its 
working perfectly.


[EMAIL PROTECTED] wrote:

I'm getting this error when I try to run BackupPC_Admin.  In the apache error 
log is this : (sorry about the formating)

[Fri Nov 11 16:02:45 2005] [error] Can't locate Apache/Response.pm in @INC 
(@INC co
ntains: /usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5 
/usr/lib/
perl5/site_perl/5.8.5/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.4/i386-l
inux-thread-multi /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/p
erl5/site_perl/5.8.2/i386-linux-thread-multi 
/usr/lib/perl5/site_perl/5.8.1/i386-li
nux-thread-multi /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi 
/usr/lib/pe
rl5/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/5.8.2 /usr/lib/perl5/site_perl/5.8.1 
/usr/lib/perl5/site_pe
rl/5.8.0 /usr/lib/perl5/site_perl 
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-threa
d-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi 
/usr/lib/perl5/ven
dor_perl/5.8.3/i386-linux-thread-multi 
/usr/lib/perl5/vendor_perl/5.8.2/i386-linux-
thread-multi /usr/lib/perl5/vendor_perl/5.8.1/i386-linux-thread-multi 
/usr/lib/perl
5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.5 
/usr/l
ib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 
/usr/lib/perl5/vendor_p
erl/5.8.2 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl/5.8.0 
/usr/li
b/perl5/vendor_perl . /usr/local/apache2) at /usr/lib/perl5/5.8.5/CGI.pm line 
186.\
nCompilation failed in require at /var/www/cgi-bin/backuppc/BackupPC_Admin line 
50.
\nBEGIN failed--compilation aborted at /var/www/cgi-bin/backuppc/BackupPC_Admin 
lin
e 50.\n



These are the lines I have in httpd.conf:

LoadModule perl_module modules/mod_perl.so
<Location /perl/>
       SetHandler perl-script
       PerlResponseHandler ModPerl::Registry
       PerlOptions +ParseHeaders
       Options +ExecCGI
</Location>
<Directory /var/www/cgi-bin/backuppc>
       SetHandler perl-script
       PerlResponseHandler ModPerl::Registry
       PerlOptions +ParseHeaders
       Options +ExecCGI
       Order deny,allow
       #Deny from all
       Allow from all
       #Allow from 129.186.17.0
       AllowOverride Indexes AuthConfig
       AuthName "Backup Admin"
       AuthType Basic
       AuthUserFile /var/www/cgi-bin/.backuppcpsswd
       Require valid-user
</Directory>


Does anyone have an idea about what is going wrong?  It prompts me for the 
login and password just fine, but then goes to the error page.


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to