Thanks Julian,

Using that shebang produced a 500: Internal Error


Before yesterday I was using
#!/usr/local/bin/perl
It worked long ago with that.

Now I am using
#!/usr/bin/perl
use cPanelUserConfig;

just because they say to use that.


The website is this:
http://www.mflan.com/cgi-bin/qa.cgi

Just put 'and' or 'doctor' in the search
window and hit Submit.  It should produce
a list of questions like when you click
on any of the bold words on the right side
of the page.


Yes, it is a cPanel server (in my opinion).



Mike


On 12/1/2018 8:40 AM, Julian Brown wrote:
If your "script" has a shebang at the top, make sure it says:

#!/usr/local/cpanel/3rdparty/bin/perl

That will ensure you are using the cPanel Perl which has all those modules installed.

Julian

On Sat, Dec 1, 2018 at 8:39 AM Julian Brown <[email protected] <mailto:[email protected]>> wrote:

    Does the HG server that is being used is it a cPanel server?   If
    so everything you need should already be there.

    Julian

    On Sat, Dec 1, 2018 at 6:29 AM Mike Flannigan <[email protected]
    <mailto:[email protected]>> wrote:


        A sign of the times?

        I have a CGI program on HostGator that worked fine
        for years.  Now it takes the form input, recreates
        the webpage, but does not produce any output.  I
        have this set:
        use CGI::Carp qw(fatalsToBrowser);
        but there are no errors given.

        I think it broke when they moved me to a new
        server many months ago.

        I notice that File::Find, which the program uses, is
        not listed as an installed module.

        ExtUtils::MakeMaker     7.34
        File::Copy::Recursive     0.44
        File::HomeDir     1.004
        File::Path     2.16

        and 40+ others are installed, but not File::Find.

        Wouldn't that produce an error when it saw:
        use File::Find in the program?


        So I call up support.  1st tier couldn't handle it,
        so they bumped it up to tier 2 support.  Mine is
        the first call the tier 2 guy has ever had regarding
        Perl modules!

        When we try to install File::Find it gives error:

        Ping:0.000100851058959961 (ticks) Testing connection speed to
        208.43.108.66 using pureperl...(using cached speed)...Done

        Ping:0.000107288360595703 (ticks) Testing connection speed to
        66.23.237.210 using pureperl...(using cached speed)...Done

        Ping:0.000108242034912109 (ticks) Testing connection speed to
        216.14.113.158 using pureperl...(using cached speed)...Done

        Three usable fallback mirrors located

        Fetching http://www.namesdir.com/mirrors/cpan/index.html
        (connected:0).......(request attempt 1/12)...Resolving
        www.namesdir.com...
        (resolve attempt
        1/65)[email protected]
        success......Done

        Mirror Check passed for www.namesdir.com
        <http://www.namesdir.com> (/index.html)

        Checking C compiler....Could not locate an executable "gcc"
        binary....Done
        ** Unrecoverable Error **

        The C compiler is not functional and auto repair failed.

        Perl module installs require a working C compiler.

        Please repair the C compiler and try again.

        **************************


        So I wait for a C compiler expert to spring into action.
        It's been less than 24 hours so far and this is very
        low priority for me.  I will wait for incident number
        09337722 to be resolved.


        Mike




_______________________________________________
Houston mailing list
[email protected]
https://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/

Reply via email to