Home Menu

Menu


Reply
Thread Tools Display Modes
  #1  
Old Aug 01, 2002, 02:24 PM
paqitheblack paqitheblack is offline
New Member
 
Member Since: Aug 2002
Posts: 4
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


advertisement
  #2  
Old Aug 02, 2002, 04:35 PM
paqitheblack paqitheblack is offline
New Member
 
Member Since: Aug 2002
Posts: 4
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  
Old Aug 02, 2002, 08:21 PM
paqitheblack paqitheblack is offline
New Member
 
Member Since: Aug 2002
Posts: 4
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  
Old Aug 03, 2002, 03:47 PM
evil_jimi evil_jimi is offline
Junior Member
 
Member Since: Jul 2002
Location: Sth Oz, Downunder
Posts: 9
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  
Old Aug 03, 2002, 04:04 PM
evil_jimi evil_jimi is offline
Junior Member
 
Member Since: Jul 2002
Location: Sth Oz, Downunder
Posts: 9
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  
Old Aug 05, 2002, 06:44 PM
paqitheblack paqitheblack is offline
New Member
 
Member Since: Aug 2002
Posts: 4
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  
Old Aug 07, 2002, 12:27 PM
DocJohn's Avatar
DocJohn DocJohn is offline
Founder & Your Host
Community Support Team
Chat Leader
 
Member Since: May 2001
Location: Greater Boston, MA
Posts: 13,794

Yes, if the servertest.pl program doesn't work, neither will OJ.

__________________
Don't throw away your shot.
Reply
Views: 2107

attentionThis is an old thread. You probably should not post your reply to it, as the original poster is unlikely to see it.



Similar Threads
Thread Thread Starter Forum Replies Last Post
404 ERROR mind server of the krzyk101 Schizophrenia and Psychosis 7 Feb 25, 2005 03:07 AM
server error (JD) Community Feedback & Technical Support 1 Dec 12, 2004 03:36 PM
Server error (JD) Other Mental Health Discussion 1 Dec 30, 2003 09:21 PM
POD sIte died 1600 hours - EDT (internal server problem) freddy Community Feedback & Technical Support 1 Oct 10, 2001 08:19 AM
HTTP 500 - Internal server error Racheli Community Feedback & Technical Support 13 Jun 19, 2001 09:56 AM


All times are GMT -5. The time now is 08:47 PM.
Powered by vBulletin® — Copyright © 2000 - 2025, Jelsoft Enterprises Ltd.




 

My Support Forums

My Support Forums is the online community that was originally begun as the Psych Central Forums in 2001. It now runs as an independent self-help support group community for mental health, personality, and psychological issues and is overseen by a group of dedicated, caring volunteers from around the world.

 

Helplines and Lifelines

The material on this site is for informational purposes only, and is not a substitute for medical advice, diagnosis or treatment provided by a qualified health care provider.

Always consult your doctor or mental health professional before trying anything you read here.