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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
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
|
|
Moderator
Registered: Nov 2004
Location: San Jose, CA
Distribution: Ubuntu
Posts: 8,505
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: FreeBSD, Debian, Mint, Puppy
Posts: 3,211
Rep: 
|
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: FreeBSD, Debian, Mint, Puppy
Posts: 3,211
Rep: 
|
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
|
|
Guru
Registered: Aug 2004
Location: Brisbane
Distribution: Centos 6.4, Centos 5.9
Posts: 14,938
|
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
|
|
|
|
| Thread Tools |
Search 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
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:26 AM.
|
|
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
|
|