Gossamer Forum
Home : Products : DBMan : Installation :

I get an internal server error

Quote Reply
I get an internal server error
Hello !
I've got some problems with an installation of DBMAN.
I've been uploaded my files in ASCII mode, i've been set the path in db.cgi (for perl and script) but i've got the internal error.
Please help me !
The files are been set to the good permissions.
The script is located at http://www.sitnet.ch/cgi-bin/db.cgi.
A good database is uploaded with the debugging : it's applications.
Use db.cgi?db=applications
Thank you for helping !
Damien Hottelier
Quote Reply
Re: I get an internal server error In reply to
The Internal Server Error means a variety of things (or in combination):

1) You did not upload the file in ASCII.
2) You did not change the permission properly.
3) You do not have the appropriate paths set for the $db_script_path in the db.cgi file, which should be the absolute path, like the following:

Code:
$db_script_path = "/machine/path/to/account/cgi-bin/dbman";

NOTICE no trailing slash.

4) You have a syntax error in the file.

I would suggest the following:

1) Look at your Perl Error Log.
2) Select the $db_debug variable in the default.cfg to 1, so that we can see the exact errors you are experiencing. Like the following:

Code:
$db_debug = 1;

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------


Quote Reply
Re: I get an internal server error In reply to
I was able to go to http://www.sitnet.ch/cgi-bin

which gave me a directory listing. I think that is a security risk. You should tighten up the permissions on the cgi-bin directory.

I think I see the problems causing the errors:

$db_dir_url = "http://www.sitnet.ch/cgi-bin/";

You have a trailing slash. The last / needs to be removed.

# URL of dbman.
$db_script_url = $db_dir_url . "db.cgi";

Here and in each of these you don't put the slash in front of the file name. It should be "/db.cgi"; rather than "db.cgi"

The same with the rest of them it appears as well have this problem.

Quote Reply
Re: I get an internal server error In reply to
Not ! I'm already verfified this things.
The permissions are been set correctly and the path is correct.
The default db has his debugging variable correctly set to 1.
Please help me !!! SOS !
Quote Reply
Re: I get an internal server error In reply to
Hi 'Dacasine':

Can you please post your db.cgi and html.pl so that we can take a look at them?

Cheers
Sun
Quote Reply
Re: I get an internal server error In reply to
I have the exactly same problem, when u find the problem can you post here.

thanks
david
Quote Reply
Re: I get an internal server error In reply to
Thank you for your responses ! I have found solution to my problem !