Previous Thread
Next Thread
Print Thread
Rate Thread
#272953 04/29/2004 5:22 PM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I am having a frustrating issue with the perl installation on my server, if I don't use #!/usr/bin/perl -- (forcing it) I get an internal 500 error. I called the provider of my dedicated box and they said the perl mod needed to be installed and then they installed it. It's still not working without the -- hence none of my perl scripts are working right. They escalated my ticket so hopefully they will be able to get it resolved, in the mean time I am trying to research it but putting -- in a search engine get's me nowhere, anyone have any ideas?

Sponsored Links
BlarC #272954 04/29/2004 7:55 PM
Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
you have to use a -- after the shebang? Never seen that before.


Picture perfect penmanship here.
zerind #272955 04/29/2004 7:57 PM
Joined: Oct 2000
Posts: 2,223
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,223
Did you accidently upload your files in binary and not ascii? the -- might be offsetting the carriage return.


Picture perfect penmanship here.
zerind #272956 04/29/2004 8:14 PM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I double checked that and made sure, apparently the -- forces the path from what they told me at my host. One of the people working on it said "Initially this was an suexec error... it being enabled gives "premature end of script headers" on cpanel machines, but with it disabled I get this: Thu Apr 29 19:47:45 2004] [error] [client 12.96.160.84] file permissions deny server execution: /home/vhfansco/public_html/cgi-bin/wtest.cgi
[Thu Apr 29 19:47:45 2004] [error] [client 12.96.160.84] File does not exist: /home/vhfansco/public_html/403.shtml"

Then he changed permissions or recompiled something and now my entire site is down with 500 Internal Server errors, even threads and I don't know if he left for the day or what Time to give them a call I think.

BlarC #272957 04/30/2004 9:48 AM
Joined: Feb 2002
Posts: 1,759
Addict
Addict
Offline
Joined: Feb 2002
Posts: 1,759
Might sound obvious, but did you make sure the script permissions are set to 755?

Sponsored Links
palmen #272958 04/30/2004 11:47 AM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
Yes, I double checked it all. They got the site back up and running but the only way any cgi or perl scrips will run is if I have the path set to this #!/usr/bin/perl --
it does work though, go figure

BlarC #272959 05/01/2004 9:34 AM
Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
That's an ok path, what's the problem, did it used to be a different path? Sounds like when it was loaded it may have been loaded to a different location if so


- Allen wavey
- What Drives You?
SurfMinister #272960 05/01/2004 9:59 AM
Joined: May 2003
Posts: 1,068
Junior Member
Junior Member
Offline
Joined: May 2003
Posts: 1,068
I learned that my problem was SmartFTP, I have used this program forever and I set my file types manually to ensure ascii for the right files. It turns out that after it expires (even though you can still use it) it uploads all ascii files in binary, like Navaho suggested. I even watched the upload and it said it was uploading in ascii. Pretty messed up thing to do, why not just disable it when it expires? I am using wsftp now and now having any problems.

BlarC #272961 05/01/2004 1:16 PM
Joined: Nov 2000
Posts: 210
Member
Member
Offline
Joined: Nov 2000
Posts: 210
try wsftp Light or LE I think works properly in Ascii


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)