Since I've upgraded my perl version from 5.6.1 to 5.8.3 on my solaris 8
box, I'm unable to run BackupPC 2.0.2 or 2.1.0.beta0 with mod_perl.
Everything is fine if I run the web interface (cgi-bin/BackupPC_Admin)
as a CGI perl script under Apache-1.3.29, but I'm unable to see anything
(no HTML code produced) with mod_perl 1.25.
The backupPC daemon is working fine with perl-5.8.3 and backupPC-2.0.2
or BackupPC-2.1.x.
My previous installation was running fine : BackupPC-2.0.2, Solaris7,
perl-5.6.1, mod_perl-1.25, Apache-1.3.27.
I also try to configure mod_perl with 'PerlHandler Apache::PerlRun'
instead of 'PerlHandler Apache::Registry', but the same error log happens.
I also try both using existing installation and performs a new installation
from scratch.
My apache configuration file looks like this:
LoadModule perl_module /usr/pkg/lib/httpd/mod_perl.so
<IfModule mod_perl.c>
PerlModule Apache::Registry
#PerlModule Apache::PerlRun
PerlTaintCheck On
PerlWarn On # debug messages
<Location /cgi-bin/BackupPC_Admin>
SetHandler perl-script
PerlHandler Apache::Registry
#PerlHandler Apache::PerlRun
Options +ExecCGI
PerlSendHeader On
allow from all
</Location>
</IfModule>
In the error log of Apache, I found a lot of errors like this (below). I
don't know how to interpret them since I don't know anything related to
mod_perl
Somebody runs BackupPC with perl-5.8x and mod_perl ?
Thanks for any help or advice about it !
Regards,
Pierre Bourgin
-------------------< apache/var/log/error_log >-------------------------
[Wed Apr 7 13:15:28 2004] [info] mod_unique_id: using ip addr 192.168.100.9
[Wed Apr 7 13:15:29 2004] [info] mod_unique_id: using ip addr 192.168.100.9
[Wed Apr 7 13:15:30 2004] [notice] Apache/1.3.29 (Unix) mod_perl/1.25
configured -- resuming normal operations
[Wed Apr 7 13:15:30 2004] [notice] suEXEC mechanism enabled (wrapper:
/usr/pkg/sbin/suexec)
[Wed Apr 7 13:15:30 2004] [info] Server built: Feb 20 2004 16:46:09
[Wed Apr 7 13:15:30 2004] [notice] Accept mutex: fcntl (Default: fcntl)
Statement unlikely to be reached at /u_dev01/backuppc/lib/BackupPC/Lib.pm
line 1057 during global destruction.
(Maybe you meant system() when you said exec()?)
Statement unlikely to be reached at
/u_dev01/backuppc/lib/BackupPC/Lib.pm line 1112 during global destruction.
(Maybe you meant system() when you said exec()?)
Subroutine BackupPC::FileZIO::Z_OK redefined at
/usr/pkg/lib/perl5/site_perl/5.8.3/sparc-solaris/Compress/Zlib.pm line 1
Subroutine BackupPC::FileZIO::Z_STREAM_END redefined at
/usr/pkg/lib/perl5/site_perl/5.8.3/sparc-solaris/Compress/Zlib.pm line 1
Ambiguous call resolved as CORE::open(), qualify as such or use & at
/u_dev01/backuppc/lib/BackupPC/FileZIO.pm line 356 during global
destruction.
Ambiguous call resolved as CORE::close(), qualify as such or use & at
/u_dev01/backuppc/lib/BackupPC/FileZIO.pm line 361 during global
destruction.
Use of uninitialized value in string ne at
/u_dev01/backuppc/lib/BackupPC/Lib.pm line 278 during global destruction.
Use of uninitialized value in concatenation (.) or string at
/u_dev01/backuppc/lib/BackupPC/Lib.pm line 278 during global destruction.
Useless use of a constant in void context at
/u_dev01/backuppc/lib/BackupPC/Lang/en.pm line 699 during global
destruction.
Useless use of a constant in void context at
/u_dev01/backuppc/lib/BackupPC/Lang/en.pm line 699 during global
destruction.
Use of uninitialized value in string eq at
/u_dev01/backuppc/apache/cgi-bin/BackupPC_Admin line 90 during global
destruction.
Use of uninitialized value in hash element at
/u_dev01/backuppc/apache/cgi-bin/BackupPC_Admin line 149 during global
destruction.
Use of uninitialized value in concatenation (.) or string at
/u_dev01/backuppc/apache/cgi-bin/BackupPC_Admin line 1648 during global
destruction.
-------------------< apache/var/log/error_log >-------------------------
-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
