LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-25-2004, 01:32 AM   #1
FloFri
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Rep: Reputation: 0
Perl error after upgrade apache -> apache2


Hi!

Yesterday i removed apache and installed apache2 on my debian-server.

The webserver works, but i have problems with perl scripts now. I use pd-admin as ISP-software and now this prints the following error:

Code:
Software error:
Can't locate loadable object for module DBI in @INC (@INC contains: PERL2EXE_STORAGE /usr/local/lib/pdadmin /var/www/admin lib\site /var/www/admin/lib/5.6.1/i686-linux /var/www/admin/lib/5.6.1 /var/www/admin/lib/site_perl/5.6.1/i686-linux /var/www/admin/lib/site_perl/5.6.1 /usr/local/lib/perl5/site_perl) at PERL2EXE_STORAGE/DBI.pm line 255
BEGIN failed--compilation aborted at PERL2EXE_STORAGE/DBI.pm line 255.
Compilation failed in require at /home/pdadmin/web/admin/admin.pl line 18.
BEGIN failed--compilation aborted at /home/pdadmin/web/admin/admin.pl line 18.
I hope, someone can help me figure out, what is going wrong.
 
Old 05-25-2004, 01:37 AM   #2
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
Hope you've also installed a new perl version (?)...
The Perl Interpreter for apache is different from the apache2 one...
 
Old 05-25-2004, 01:39 AM   #3
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
What I mean is that you need perl for apache2 'cause perl for apache doesn't work than...
 
Old 05-25-2004, 01:41 AM   #4
FloFri
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Original Poster
Rep: Reputation: 0
I have installed the newest versions:

perl = 5.8.3-3
libapache2-mod-perl2 = 1.99.12-3
 
Old 05-25-2004, 01:53 AM   #5
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
Ya okay, was just an idea...
It seems that something is not configured right or so. Your code fragment says that there is a problem with 5.6.1 - I guess this must be your old version. Now you use 5.8.3 and that's the problem. Is it possible that you did a strange uninstall of Perl so that now there are some "links" left...
I don't know... I use SuSE where I have RPMs and I can always cleanly update software...
Or maybe you need a new version of pd-admin 'cause the code fragment says something with e.g. "/var/www/admin/lib/5.6.1/i686-linux"...
 
Old 05-25-2004, 04:33 AM   #6
FloFri
LQ Newbie
 
Registered: Apr 2004
Posts: 12

Original Poster
Rep: Reputation: 0
A reinstall of PD-Admin resolved the problem.
 
Old 05-25-2004, 04:36 AM   #7
postmaik
Member
 
Registered: May 2004
Location: @ Lake Constance, Germany
Distribution: FC3, Kernel 2.6.10
Posts: 46

Rep: Reputation: 15
as my last idea was...
fine :-).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cant get perl working with apache2 Garda Linux - Networking 1 09-28-2005 10:27 PM
Upgrade.. error.. apache wont' start! Epox Linux - Software 2 03-06-2005 09:58 PM
After upgrade apache gives error or something HELP PLS! Belize Linux - Software 4 01-05-2005 02:52 PM
Perl error after upgrade apache -> apache2 FloFri Debian 0 05-25-2004 01:00 AM
Apache 1.3.29 with mod perl & php built in upgrade jester_69 Linux - General 0 02-22-2004 12:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration