Hello,
I've got an problem loading cgi files on my webserver
(apache+perl module) the error says that he can't locate
WebDB.pm in the @INC directory's. WebDB.pm is located in
/usr/lib/apache2/webdb, here's the actual error:
Sat May 30 00:33:50 2009 error client xx.xxx.xxx.xxx Can't
locate WebDB.pm
in @INC (@INC contains: /usr/lib/apache2/webdb
/etc/perl /usr/local/lib/perl
Sat May 30 00:33:50
2009 error client xx.xxx.xxx.xxx BEGIN failed--compilation
aborted at /var/www/index.cgi line 6.
Sat May 30 00:33:50 2009 error client xx.xxx.xxx.xxx Premature end of script headers: index.cgi
The strange thing is that everything worked in the past
with Ubuntu 8.04 and Perl 5.8 and
now I've upgraded the
server to Ubuntu 9.04 and Perl 5.10. And now I got the
message
from above, and nothing changed to the scripts
or to something else that's the strangest thing.
I don't
think I am the only one who got this problem so if anyone
has figured it out or if
someone know what to do please
help me cause I can't go further with my scripts and I hate
that hahaha.
Thanks in advance,
Greetz,
Pr0t0n
Edit: Made a typo in the error message the blank space is gone.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.