Gossamer Forum
Home : Products : DBMan : Installation :

50 $ for the one who solves my problem

Quote Reply
50 $ for the one who solves my problem
Hallo again ! I still have the same problem since my last posting 2 months ago ! i tried to install the dbman - and i always get the damned 500 error ! i uploaded everything in ascii! my problem is that all the files in my cgi-bin are only executeable! (no read/write) ! my provider said: the files in the cgi-bin on their servers are only executeable ! ( no read/write) ! I should put the files for read/write in a directory outside the cgi-bin ! So i created a directory inside the cgi-bin called dbman where only db.cgi resides in ! All other files are in a directory called dbman which is outside the cgi-bin ! But with no effect ! I changed all the paths in the script ! I had the same problem 2 months ago ! But after 20 phone-calls with my provider i gave up ! But now i have new power and the hope that this time a solution could be found ! I changed the script-path in db.cgi to the directory outside the cgi-bin ! (absolute path) ! I have 20 other scripts running on that server ! i had that problem with two or three of them also, but i was able to solve them ! I tried everything with dbman - but it does not work ! Help !
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
50 $ for the one who solves my problem ! No Joke ! Help......
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
Just add another $50.00 to purchase a licence from Alex and you will get official support !

No joke too. Don't put such kind of help call with money offering. We don't help for money.

More seriously, try to setup your config file to be sure it points to the location of your scripts.

Cheers,
Germain

Quote Reply
Re: 50 $ for the one who solves my problem In reply to
tribaltom,

I've been able to successfully move all files into another directory except for
default.cfg
default.db

I can't seem to get those away from the same directory that the db.cgi resides in. I've been trying off and on for about 3 months now.

[This message has been edited by Katana Man (edited July 05, 1999).]
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
hey katana Man ! the default.db has to be in the same directory as the db.cgi - then there is no possibility for me ?!? My cgi-bin is not writeable and so no entry is possible in the default.db ! Is there no other way ?
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
I would put

db.cgi
default.cfg
auth.pl
html.pl

in the cgi-bin. None of these require being written to or even reading. They are all executable files.

Then create a directory outside your cgi-bin -- we'll call it dbman. Place the following files in this directory:

default.db
default.count
default.log
default.pass

Also inside the dbman directory, create another directory auth.

In your default.cfg file, set it up this way:

Code:
# Full path to directory outside of cgi-bin for writable files. No trailing slash
$db_write_path = "/path/to/dbman";

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://server/cgi-bin/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_write_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_write_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_write_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_write_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_write_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";

I haven't tested this, but I don't see why it wouldn't work.

Give your $50 to a children's charity.

Also, all of your exclamation marks make your posts very hard to read.


------------------
JPD





Quote Reply
Re: 50 $ for the one who solves my problem In reply to
Hello again

I did everything like you said - but no success.

i tried absolute and relative path for the $db_write_path, but with no effect .

Here are some more informations:

OS: FreeBSD, Perl 5.004
URL: http://suche-finde.de
my cgi-URL: http://www.suche-finde.de/cgi-bin/dbman
absolute path: /www/pages/suche-finde.de/dbman
relative: /dbman

perhaps katana man is right - when he says that the default.db has to be inside the cgi-bin ? normally it should work i think, because the paths seem correct to me.
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
The next thing I can suggest is that you copy your db.cgi and default.cfg files to a web-accessible directory (one where you would place html files) and let us know where to find them. I'll take a look.

BTW, when I tried to access db.cgi, I got an internal server error. Are you sure your path to Perl is correct and that you uploaded in ASCII mode?


------------------
JPD





Quote Reply
Re: 50 $ for the one who solves my problem In reply to
OK - You can find the files here:

www.suche-finde.de/dbman

db.cgi: www.suche-finde.de/dbman/db.cgi
default.cfg: www.suche-finde.de/dbman/default.cfg

i checked again: i uploaded everything in ascii (cuteftp) , i also checked the permissions..


[This message has been edited by tribaltom (edited July 05, 1999).]

[This message has been edited by tribaltom (edited July 05, 1999).]
Quote Reply
Re: 50 $ for the one who solves my problem In reply to
And you're sure your path to Perl is correct -- #!/usr/bin/perl5 -- ?

Even if the paths to the other files are not correct, you should not be getting a 500 error if the db.cgi script is installed correctly.

I checked your db.cgi script for syntax errors. There were none.

------------------
JPD