<div dir="ltr">So changing the shebang to #!/usr/bin/perl fixed your problem?<div><br></div><div>Julian</div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Dec 1, 2018 at 8:56 AM Mike Flannigan <<a href="mailto:mikeflan@att.net">mikeflan@att.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<br>
Thanks Julian,<br>
<br>
Using that shebang produced a 500: Internal Error<br>
<br>
<br>
Before yesterday I was using<br>
#!/usr/local/bin/perl<br>
It worked long ago with that.<br>
<br>
Now I am using<br>
#!/usr/bin/perl<br>
use cPanelUserConfig; <br>
<br>
just because they say to use that.<br>
<br>
<br>
The website is this:<br>
<a class="m_7088278504517671530moz-txt-link-freetext" href="http://www.mflan.com/cgi-bin/qa.cgi" target="_blank">http://www.mflan.com/cgi-bin/qa.cgi</a><br>
<br>
Just put 'and' or 'doctor' in the search <br>
window and hit Submit. It should produce <br>
a list of questions like when you click <br>
on any of the bold words on the right side <br>
of the page.<br>
<br>
<br>
Yes, it is a cPanel server (in my opinion).<br>
<br>
<br>
<br>
Mike<br>
<br>
<br>
<div class="m_7088278504517671530moz-cite-prefix">On 12/1/2018 8:40 AM, Julian Brown
wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">If your "script" has a shebang at the top, make
sure it says:
<div><br>
</div>
<div>#!/usr/local/cpanel/3rdparty/bin/perl</div>
<div><br>
</div>
<div>That will ensure you are using the cPanel Perl which has
all those modules installed.</div>
<div><br>
</div>
<div>Julian</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Dec 1, 2018 at 8:39 AM Julian Brown <<a href="mailto:jlbprof@gmail.com" target="_blank">jlbprof@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Does the HG server that is being used is it a
cPanel server? If so everything you need should already be
there.
<div><br>
</div>
<div>Julian</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sat, Dec 1, 2018 at 6:29 AM Mike Flannigan
<<a href="mailto:mikeflan@att.net" target="_blank">mikeflan@att.net</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
A sign of the times?<br>
<br>
I have a CGI program on HostGator that worked fine<br>
for years. Now it takes the form input, recreates<br>
the webpage, but does not produce any output. I<br>
have this set:<br>
use CGI::Carp qw(fatalsToBrowser);<br>
but there are no errors given.<br>
<br>
I think it broke when they moved me to a new<br>
server many months ago.<br>
<br>
I notice that File::Find, which the program uses, is<br>
not listed as an installed module.<br>
<br>
ExtUtils::MakeMaker 7.34<br>
File::Copy::Recursive 0.44<br>
File::HomeDir 1.004<br>
File::Path 2.16<br>
<br>
and 40+ others are installed, but not File::Find.<br>
<br>
Wouldn't that produce an error when it saw:<br>
use File::Find in the program?<br>
<br>
<br>
So I call up support. 1st tier couldn't handle it,<br>
so they bumped it up to tier 2 support. Mine is<br>
the first call the tier 2 guy has ever had regarding<br>
Perl modules!<br>
<br>
When we try to install File::Find it gives error:<br>
<br>
Ping:0.000100851058959961 (ticks) Testing connection speed
to <br>
208.43.108.66 using pureperl...(using cached speed)...Done<br>
<br>
Ping:0.000107288360595703 (ticks) Testing connection speed
to <br>
66.23.237.210 using pureperl...(using cached speed)...Done<br>
<br>
Ping:0.000108242034912109 (ticks) Testing connection speed
to <br>
216.14.113.158 using pureperl...(using cached
speed)...Done<br>
<br>
Three usable fallback mirrors located<br>
<br>
Fetching <a href="http://www.namesdir.com/mirrors/cpan/index.html" rel="noreferrer" target="_blank">http://www.namesdir.com/mirrors/cpan/index.html</a>
<br>
(connected:0).......(request attempt 1/12)...Resolving
<a class="m_7088278504517671530moz-txt-link-abbreviated" href="http://www.namesdir.com" target="_blank">www.namesdir.com</a>...<br>
(resolve attempt
<a class="m_7088278504517671530moz-txt-link-abbreviated" href="mailto:1/65)...@69.64.50.156......receiving......request" target="_blank">1/65)...@69.64.50.156......receiving......request</a> <br>
success......Done<br>
<br>
Mirror Check passed for <a href="http://www.namesdir.com" rel="noreferrer" target="_blank">www.namesdir.com</a>
(/index.html)<br>
<br>
Checking C compiler....Could not locate an executable
"gcc" binary....Done<br>
** Unrecoverable Error **<br>
<br>
The C compiler is not functional and auto repair failed.<br>
<br>
Perl module installs require a working C compiler.<br>
<br>
Please repair the C compiler and try again.<br>
<br>
**************************<br>
<br>
<br>
So I wait for a C compiler expert to spring into action.<br>
It's been less than 24 hours so far and this is very<br>
low priority for me. I will wait for incident number<br>
09337722 to be resolved.<br>
<br>
<br>
Mike<br>
</blockquote>
</div>
</blockquote>
</div>
<br>
</blockquote>
<br>
<br>
</div>
_______________________________________________<br>
Houston mailing list<br>
<a href="mailto:Houston@pm.org" target="_blank">Houston@pm.org</a><br>
<a href="https://mail.pm.org/mailman/listinfo/houston" rel="noreferrer" target="_blank">https://mail.pm.org/mailman/listinfo/houston</a><br>
Website: <a href="http://houston.pm.org/" rel="noreferrer" target="_blank">http://houston.pm.org/</a><br>
</blockquote></div>