![]() |
FAQ/Help |
Calendar |
Search |
#1
|
|||
|
|||
Apologies in advance for lack of technical acumen--I am brand new to perl and all such things.
I am getting internal server error (500) when I try to access oj.pl on my server. I made all the appropriate changes to the files and I followed all the chmod instructions. I also chmodded the cgi-bin to 777 and oj to 777...but not only did I still get an error 500, my other perl stuff didn't work so I had to set the cgi-bin back to 751. I also tried evil jimi's suggestion and set everything to 755. Also no dice. Unfortunately I don't have enough knowledge to ask the right questions. So I leave off with: HELP! Thank you, Paqi |
#2
|
|||
|
|||
OK. Help!
Here's what I did today on Open Journal: Ripped everything off the Unix server. Decided to reinstall. Correct paths to perl and HTML docs: check. Correct directories located in correct places: check. Correct files dumped in correct places: check. Chmod everything to 777:check. Chmod ojtemplates to 755 check. Internal Server Error 500: check. Rats! Chmod cgi-bin to 777: check. Internal Server Error 500: Check. Rats! Chmod HTML folder to 777: Check. Internal Server Error 500: Check. Rats! Chmod cgi-bin to 751: check. Internal Server Error 500: Check. Rats! (but at least my other non-groholian scripts work again.) Apply evil jimi's permissions fix: (chmod everything to 755): check. Internal Server Error 500: Check. Rats! chmod main HTML folder to 755: check. Internal Server Error 500: Check. Rats! chmod cgi-bin to 755:check. Internal Server Error 500: Check. Rats! 403 errors when trying to access URL/oj/ all the way through this process: Check. Rats! Sneak up on the webpage with Netscape instead of IE: check. Internal Server Error 500: Check. Rats! Email threats to my mailserver, hoping that it will reason with this box with which I wish to play hide the 81mm mortar shell: check. Internal Server Error 500: Check. Rats! Weeping: Check. Pleading: Check. Internal Server Error 500: Check. Rats! Doctor J, any diagprognosis ? Thanks everybody. Sorry for my newbiety. Paqi |
#3
|
|||
|
|||
Have now read just about every post on the forums regarding OJ and a few of the others.
Tried some fixes in other posts. Have read bunches o' web sites on getting permissions right and all that stuff. Sigh. Will keep banging head and document the fix for y'all if I find it before my skull splits. Mrph. Anybody tell me why, if this is so aggravating, I'm still doing it and canceled plans to try and figure this stuff out ? Psychologists ? Grmph. |
#4
|
|||
|
|||
paqi ... not sure how much help I can be but have you tried changing the path to your /bin ? Look at the top of the oj.pl (or oj.cgi file, depending on what you named it) and you'll see <tt>#!/usr/bin/perl</tt> Try changing this to <tt>#!/usr/local/bin/perl</tt>
Also check in the config file (oj.cfg) to see if the path to the program file is set properly. <tt>$cgi_url = "/cgi-bin/oj.pl";</tt> The default is to look for a file called oj.cgi but if you named that file oj.pl (like I did) but didn't change that command line, it might be causing the 500 error. |
#5
|
|||
|
|||
Oh and probably the most important thing is: are you 100% positive that the files are being uploaded in ASCII format and not binary format? I know this sounds strange but I use CuteFTP 4 and for some reason it kept uploading the files in binary format, even after I went into the options and set it to upload everything in ASCII format. I do all my web work in a super-duper text editor called Editplus 2.10 and since it has its own FTP function, I ended up having to use that to upload all the necessary files in ASCII. Once I'd done that, everything worked perfectly and all I had to do then was tailor the HTML elements to make the files match the rest of the site's design.
|
#6
|
|||
|
|||
thanks jimi...yup, I checked the path to perl and renamed everything to the defaults. No go.
I imagine that it's gotta be an upload problem, as you suggest. I wrote a super simple perl program and uploaded it in ASCII format with the proper paths to perl, and went through all possible permissions from 000 to 777 on it. it's just a simple helloworld and even that is getting an Internal Server Error 500. I'm using Fetch for the Mac to upload...I'll see if I can find something else and get back to you. thanks for your thoughts and consideration, paqi |
#7
|
||||
|
||||
Yes, if the servertest.pl program doesn't work, neither will OJ.
__________________
Don't throw away your shot. |
Reply |
|
![]() |
||||
Thread | Forum | |||
404 ERROR mind server of the | Schizophrenia and Psychosis | |||
server error | Community Feedback & Technical Support | |||
Server error | Other Mental Health Discussion | |||
POD sIte died 1600 hours - EDT (internal server problem) | Community Feedback & Technical Support | |||
HTTP 500 - Internal server error | Community Feedback & Technical Support |