Gossamer Forum
Home : Products : DBMan : Installation :

500 Error

Quote Reply
500 Error
I'm having the same problems as other users trying to install dbMan. I've followed JPDeni's tutorials, reinstalled, rechecked permissions, make sure WSFTP was uploading in ascii mode, downloaded special editor for editing, etc.

I've posted text versions of my cfg and cgi files to http://www.www2.com/dbman. If someone could take a look and see if I'm overlooking something, it would be most helpful.

Quote Reply
Re: 500 Error In reply to
1) You may have to use the complete ABSOLUTE PATH where your dbman files are located in the following variable in the db.cgi file:

Code:

$db_script_path = ".";


Replace . with the complete path, like the following:

Code:

/machine/web/account/cgi-bin/dbman


with no trailing slash.

2) Make sure that you have the following permissions for your files in the dbman directory:

Code:

drwxrwxrwx auth
-rw-r--r-- auth.pl
-rw-r--r-- html.pl
-rwxr-xr-x db.cgi
-rw-rw-rw- default.count
-rw-r--r-- default.cfg
-rw-rw-rw- default.db
-rw-rw-rw- default.log
-rw-rw-rw- default.pass


Hope this helps.

Regards,

Eliot

Quote Reply
Re: 500 Error In reply to
I would hold off on changing $db_script_path. That is rarely needed and probably would not cause a 500 error.

Are you certain your path to perl is correct in the first line of db.cgi? I would check that again.

If that is correct, try uploading one more time. I know you said you uploaded everything in ASCII, but maybe there was a glitch somewhere.

It isn't a permission problem, or you would get a "Permission Denied" message. It's gotta be in db.cgi and the two possible culprits are the wrong path to Perl and the file being uploaded incorrectly.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: 500 Error In reply to
Welp...for me JPDeni...three of my accounts on three different servers requires full paths. Sorry, but I think that is a valid suggestion. Not using the full path causes 500 Internal Server Errors. Wink I was only providing some helpful suggestions...Tongue

Regards,

Eliot Lee

Quote Reply
Re: 500 Error In reply to
And so was I.

If you want to discuss this with me, you can write me private mail.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: 500 Error In reply to
Thanks for the suggestions. I've tried all of the above. I have other scripts configured and running fine on my server. I've read all the post back to May looking for a solution and have tried many recommendations but still no luck.



Quote Reply
Re: 500 Error Additional Note In reply to
When I run db.cgi thru the script checker provided by my ISP I get the following messages:

TEST 1: script and permissions
Passed Test 1!

TEST 2: script file format
Passed Test 2!

TEST 3: check perl path
Passed Test 3!

TEST 4: perl syntax
Can't locate Time/Local.pm in @INC (@INC contains: /usr/lib/perl5/i686-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i686-linux /usr/lib/perl5/site_perl .) at db.cgi line 1071.
BEGIN failed--compilation aborted at db.cgi line 1071.

Your script failed one or more of the tests and could not
be automatically corrected. Please correct the errors
listed above and try again.

I'm running perl 5.00502.

Quote Reply
Re: 500 Error Additional Note In reply to
Ah-ha!

Your server admin hasn't installed a complete version of Perl. You might try asking him or her (nicely! Smile) to upgrade Perl with the distribution from http://www.activestate.com. That has all of the basic modules and it's free.

JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: 500 Error Additional Note In reply to
Problem solved. ISP updated the perl modules and the demo is now working fine.

Thanks for everyones help. I'll move now to the customization forum.:)