Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re^5: Custom module is present but not read by Apache (?)

by Corion (Pope)
on Dec 10, 2019 at 13:07 UTC ( #11109917=note: print w/replies, xml ) Need Help??

in reply to Re^4: Custom module is present but not read by Apache (?)
in thread Custom module is present but not read by Apache (?)

But on the old machine, there is one of these files:

/usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/ /usr/lib/perl5/5.12.3/ /usr/lib/perl5/vendor_perl/5.12.3/x86_64-linux-thread-multi/ /usr/lib/perl5/vendor_perl/5.12.3/ /usr/lib/perl5/5.12.3/x86_64-linux-thread-multi/ /usr/lib/perl5/5.12.3/

And on the new machine, no such file exists:

/root/perl5/lib/perl5/5.16.3/x86_64-linux-thread-multi/ /root/perl5/lib/perl5/5.16.3/ /root/perl5/lib/perl5/x86_64-linux-thread-multi/ /root/perl5/lib/perl5/ /usr/local/lib64/perl5/ /usr/local/share/perl5/ /usr/lib64/perl5/vendor_perl/ /usr/share/perl5/vendor_perl/ /usr/lib64/perl5/ /usr/share/perl5/

Most likely, as I and tobyink already pointed out, is installed on the old machine, but is not on the new machine. Either talk to your system administrator, or the developer of the program about the prerequisites. Also consider maybe installing via the package manager on the new machine, or instructing your system administrator to do so.

You can check on the old machine if Error is installed by using:

perl -MError -e 'print " is installed"'

Replies are listed 'Best First'.
Re^6: Custom module is present but not read by Apache (?)
by Anonymous Monk on Dec 10, 2019 at 13:29 UTC
    Ok, now, THAT seems strange... I can run the login.cgi script locally (terminal) and I get the HTML page - no problem. BUT, when I try to load in on Firefox, then I get again the same message with the Error module. I checked and Error is installed. I also tried to install it through CPAN and it said:
    cpan[3]> install Error + + + Error is up to date (0.17028).
    So, I am thinking that something is wrong with my Apache conf file, but what could it be I wonder?
      Ah, I checked: OLD machine: /usr/lib/perl5/vendor_perl/5.12.3/ NEW machine: /root/perl5/lib/perl5/ Is this a problem?
        Ok, it is, because this path is not in the new server's INC. Can I install the module in anothe path? When I do it through CPAN, I think it puts it under /root/perl5, which is not part of @INC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://11109917]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2020-05-29 00:34 GMT
Find Nodes?
    Voting Booth?
    If programming languages were movie genres, Perl would be:

    Results (166 votes). Check out past polls.