SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
mod_perl and BackupPC 2.x
Author Message
Post mod_perl and BackupPC 2.x 
Hello,

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 Sad

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/

Post mod_perl and BackupPC 2.x 
Hello again,

please forget this message, I've found what is broken on my side
(the way to build mod_perl).

Sorry for the noise !

Pierre Bourgin

Pierre Bourgin a =E9crit:
Hello,
=20
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.
=20
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 anythin=
g
(no HTML code produced) with mod_perl 1.25.
=20
The backupPC daemon is working fine with perl-5.8.3 and backupPC-2.0.2
or BackupPC-2.1.x.
=20
My previous installation was running fine : BackupPC-2.0.2, Solaris7,
perl-5.6.1, mod_perl-1.25, Apache-1.3.27.
=20
I also try to configure mod_perl with 'PerlHandler Apache::PerlRun'
instead of 'PerlHandler Apache::Registry', but the same error log happe=
ns.
=20
I also try both using existing installation and performs a new installa=
tion
from scratch.
=20
My apache configuration file looks like this:
=20
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>
=20
=20
=20
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 Sad
=20
Somebody runs BackupPC with perl-5.8x and mod_perl ?
=20
Thanks for any help or advice about it !
=20
Regards,
=20
Pierre Bourgin
=20
=20
-------------------< apache/var/log/error_log >------------------------=
-
[Wed Apr 7 13:15:28 2004] [info] mod_unique_id: using ip addr=20
192.168.100.9
[Wed Apr 7 13:15:29 2004] [info] mod_unique_id: using ip addr=20
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 destructi=
on.
(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 destructio=
n.
Use of uninitialized value in concatenation (.) or string at
/u_dev01/backuppc/lib/BackupPC/Lib.pm line 278 during global destructio=
n.
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 >------------------------=
-
=20
=20
=20
=20
=20
=20
=20
=20
-------------------------------------------------------
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=3D1470&alloc_id=3D3638&op=3Dc=
lick
_______________________________________________
BackupPC-users mailing list
BackupPC-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/
=20
=20




-------------------------------------------------------
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/

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB