Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
05-10-2007, 02:11 AM
|
#1
|
Member
Registered: Mar 2004
Location: India
Distribution: RedHat Linux 8
Posts: 60
Rep:
|
500 EOF instead of reponse status line in perl script
Hi
I am getting the following error ..when executing the perl script....
500 EOF instead of reponse status line
I am using LPW:userAgent to send a request...
What could be the problem...
Regards
|
|
|
05-10-2007, 11:58 PM
|
#2
|
LQ Guru
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507
Rep:
|
When executing WHICH perl script?
|
|
|
05-11-2007, 12:07 AM
|
#3
|
Member
Registered: Mar 2004
Location: India
Distribution: RedHat Linux 8
Posts: 60
Original Poster
Rep:
|
Quote:
Originally Posted by Matir
When executing WHICH perl script?
|
Its a script i wrote ...and i make use of userAgent in it...
I send the request but it throws...
but for certain requests...it works fine..
Regards
|
|
|
05-11-2007, 02:28 AM
|
#4
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515
|
500 - Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server.
your script is not well formed maybe
are we supposed to guess on the information supplied?
|
|
|
05-11-2007, 06:39 AM
|
#5
|
Member
Registered: Mar 2004
Location: India
Distribution: RedHat Linux 8
Posts: 60
Original Poster
Rep:
|
Quote:
Originally Posted by bigearsbilly
500 - Internal Server Error
The request was unsuccessful due to an unexpected condition encountered by the server.
your script is not well formed maybe
are we supposed to guess on the information supplied?
|
I believe it was probabaly because of connection time-out..
because the scrip that was called at the other end worked fine..
whereas ..only the response didnt come thru...
|
|
|
05-11-2007, 07:29 AM
|
#6
|
Senior Member
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515
|
it may have worked but I bet it didn't work fine.
have you checked for perl warnings/errors?
post
|
|
|
05-14-2007, 04:32 AM
|
#7
|
Member
Registered: Mar 2004
Location: India
Distribution: RedHat Linux 8
Posts: 60
Original Poster
Rep:
|
Quote:
Originally Posted by bigearsbilly
it may have worked but I bet it didn't work fine.
have you checked for perl warnings/errors?
post
|
There were no warning or errors when i ran
perl filename
Only this message came
500.....etc
regards
|
|
|
05-16-2007, 06:52 AM
|
#8
|
LQ Guru
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,393
|
Please post a minimal version of the script which demonstrates the error.
Also ensure you use -w switch and strict eg
#!/usr/bin/perl -w
use strict;
<rest of perl script>
Please show exact error msgs
|
|
|
All times are GMT -5. The time now is 01:05 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|