Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   General Business Knowledge (http://www.greenguysboard.com/board/forumdisplay.php?f=10)
-   -   A question for people who do NOT code in Perl (http://www.greenguysboard.com/board/showthread.php?t=66827)

ecchi 2014-08-18 05:39 AM

A question for people who do NOT code in Perl
 
OK, so this question is for people for whom Perl code is just a lump of gibberish on a page:

Imagine you run a hosting company and you have a client who runs several sites across several servers, some using the same Perl script. He contacts you to tell you that the script that has worked fine across several servers for many years has suddenly stopped working on one server. He has tried copying the script directly from the "non-working" server to a working server, and the exact same script works on the other server.

You know nothing about Perl scripts, but you check your servers error logs and find that what he says is true. The code works on most of your servers, but on just one server the script does not work. And on that server the error logs pick out one line and says that there is an error in that line which is causing a time out.

The question is: Can you think of any reason why this might be (remember, you cannot check the validity of the script because you don't code in Perl)? And could you justify assuming that the reason it works on all your servers except one is an error in the script not a problem with your one server that it does not work on?

The reason I ask is that this is what I am being told by the hosting company. I accept that I may make a mistake but I cannot understand how they can think it reasonable to assume this when it works on several of their servers perfectly, and only faults on one. But that is so bazaar a thinking that I want to check it is not me who is mad before I start screaming at them!

HowlingWulf 2014-08-18 09:18 AM

It could be a server setting. I know for PHP you can config either to ignore warnings or fail on warnings. Big diff.

tadpole 2014-08-18 11:09 AM

Shit, I am too tired to read this post - sorry

ecchi 2014-08-18 03:16 PM

Quote:

Originally Posted by HowlingWulf (Post 535211)
ng. I know for PHP you can config either to ignore warnings or fail on warnings. Big diff.

That actually makes a lot of sense, but only if they are wrong about which line the error is on. Later LWP has to get a series of URLs, some of which may 404. If it is ignoring the 404 and still waiting for the site to load then that would cause the script to time out.

Simon 2014-08-18 04:29 PM

Have you tried asking the Perl Monks?

housekeeper 2014-08-21 05:13 PM

Perhaps it is a permissions issue on the new server

ecchi 2014-08-22 03:54 AM

Quote:

Originally Posted by Simon (Post 535224)
Have you tried asking the Perl Monks?

Thanks, but I think the problem is with the server, not with the script, so I really need "Server Monks" not "Perl Monks"!

Quote:

Originally Posted by housekeeper (Post 535237)
Perhaps it is a permissions issue on the new server

Thanks. Possibly, but there are no problems with other scripts on the same site, so unlikely.


All times are GMT -4. The time now is 04:39 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc