[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#267969: libapache-mod-perl: fails to load Apache::DBI



Package: libapache-mod-perl
Version: 1.29.0.2-10
Severity: normal

I have manually installed Chronos, which uses mod_perl and Apache::DBI
(among others). 

I get the following errors in the apache-ssl-logs:
[Wed Aug 25 12:34:11 2004] [error] Couldn't include Apache::DBI: Bad file descriptor\nCompilation failed in require at /usr/local/share/perl/5.8.4//Chronos.pm line 24.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4//Chronos.pm line 24.\nCompilation failed in require at /usr/local/share/perl/5.8.4//Chronos/Authen.pm line 28.\nBEGIN failed--compilation aborted at /usr/local/share/perl/5.8.4//Chronos/Authen.pm line 28.\nCompilation failed in require at (eval 30) line 3.\n
[Wed Aug 25 12:34:11 2004] [error] Undefined subroutine &Chronos::Authen::handler called.\n

Now if I try the same with apache-perl and the same configuration
(except the port apache is running on), everything works perfectly. And
funny enough, as soon as I started apache-perl next to apache-ssl, the
first error of the two was gone. I'm not quite sure how these two
different apache's could be influencing eachother like that.

Configuration for apache-perl (apache-ssl runs on port 80 and has a
different log-directory):

<VirtualHost *:82>
  ServerAdmin schizo@server
  DocumentRoot /var/www/server/
  Errorlog /var/log/apache-perl/server/error.log
  Transferlog /var/log/apache-perl/server/access.log
  ServerName server

  BandWidthModule On
  BandWidth all 8192

  <Location /Chronos>
   PerlModule Apache::DBI
   PerlHandler Chronos
   PerlAuthenHandler Chronos::Authen
   Require valid-user
   Auth_MYSQL off
   AuthName "Chronos"
   AuthType Basic
   PerlSetVar ChronosConfig "/etc/chronos.conf"
  </Location>

  Alias /chronos /Chronos
</VirtualHost>

Mark

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-schizo
Locale: LANG=C, LC_CTYPE=nl_NL@euro

Versions of packages libapache-mod-perl depends on:
ii  apache-common               1.3.31-3     Support files for all Apache webse
ii  libc6                       2.3.2.ds1-16 GNU C Library: Shared libraries an
ii  libdevel-symdump-perl       2.03-3       Perl module for inspecting perl's 
ii  libperl5.8                  5.8.4-2      Shared Perl library.
ii  liburi-perl                 1.30-1       Manipulates and accesses URI strin
ii  libwww-perl                 5.800-1      WWW client/server library for Perl
ii  perl [libmime-base64-perl]  5.8.4-2      Larry Wall's Practical Extraction 

-- no debconf information



Reply to: