in reply to can't locate CGI.pm ...

I would not assume that both environments are identical vincentberenz. The symptomology you are reporting can be caused by:

If you aren't empowered with priveleged access on the box team up with your friendly SysAdmin and either re-install Perl or figure out what's broke with what you have.

Replies are listed 'Best First'.
Re: Re: can't locate CGI.pm ...
by matija (Priest) on Apr 08, 2004 at 19:12 UTC
    I've seen those symptoms when (in the name of security) the hoster moves the apache into chroot, then installs just what he thinks he needs into that chroot.

    I even had to deal with that once, running the script, seeing what broke, copying the missing file from the normal install into the chroot, running the script (lather, rinse, repeat).

    The hoster insisted this was the only way to have his apache instalation as secure as possible. Of course, three weeks later, his boss wanted a web-based forum - and that beast needed a whole bunch of modules, so the guy cd'ed into the chroot and installed the complete perl there. Seems perl wasn't so dangereous when he had to work with it.

          I've seen those symptoms when (in the name of security) the hoster moves the apache into chroot, then installs just what he thinks he needs into that chroot.

      Thanks for reminding me. I ran into that once too. Most service providers don't do that anymore but use virtual hosts instead.

        Dear Monks, sorry for bothering you with such trivial question, but I am a total beginner in perl !

        About my perl installation, I did not install it, I just installed linux redhat9.0 on the machine, and did not touch anything after that ...
        What would you advised me to do ?
        -To re-install it ? (is there a tutorial somewhere about where to find it ???)
        -You think the problem can come from the server itself ?