Greenguy's Board


Go Back   Greenguy's Board > General Business Knowledge
Register FAQ Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 2014-08-18, 05:39 AM   #1
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Question 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!
ecchi is offline   Reply With Quote
Old 2014-08-18, 09:18 AM   #2
HowlingWulf
Me fail English? That's unpossible!
 
HowlingWulf's Avatar
 
Join Date: Dec 2003
Location: FL
Posts: 1,381
Send a message via ICQ to HowlingWulf
It could be a server setting. I know for PHP you can config either to ignore warnings or fail on warnings. Big diff.
__________________
WordPress Porn directory theme => Maddos
Create a Porn Tube => Video Pornster
HowlingWulf is offline   Reply With Quote
Old 2014-08-18, 11:09 AM   #3
tadpole
Oh! I haven't changed since high school and suddenly I am uncool
 
tadpole's Avatar
 
Join Date: Aug 2007
Location: Darkest Africa
Posts: 258
Send a message via ICQ to tadpole
Shit, I am too tired to read this post - sorry
__________________
tadpole is offline   Reply With Quote
Old 2014-08-18, 03:16 PM   #4
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by HowlingWulf View Post
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.
ecchi is offline   Reply With Quote
Old 2014-08-18, 04:29 PM   #5
Simon
That which does not kill us, will try, try again.
 
Simon's Avatar
 
Join Date: Aug 2003
Location: Conch Republic
Posts: 5,150
Send a message via ICQ to Simon Send a message via AIM to Simon Send a message via Yahoo to Simon
Have you tried asking the Perl Monks?
__________________
"If you're happy and you know it, think again." -- Guru Pitka
Simon is offline   Reply With Quote
Old 2014-08-21, 05:13 PM   #6
housekeeper
Oh! I haven't changed since high school and suddenly I am uncool
 
housekeeper's Avatar
 
Join Date: Sep 2009
Location: New York City
Posts: 250
Send a message via ICQ to housekeeper
Perhaps it is a permissions issue on the new server
__________________
Trans-Glam Productions
photography - design - video production
twitter
housekeeper is offline   Reply With Quote
Old 2014-08-22, 03:54 AM   #7
ecchi
Banned
 
ecchi's Avatar
 
Join Date: Oct 2003
Location: About to be evicted!!!!
Posts: 4,082
Quote:
Originally Posted by Simon View Post
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 View Post
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.
ecchi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:32 AM.


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