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 !
Jul 5, 1999, 1:45 AM
User (52 posts)
Jul 5, 1999, 1:45 AM
Post #3 of 10
Views: 3356
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
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
Jul 5, 1999, 5:44 AM
User (324 posts)
Jul 5, 1999, 5:44 AM
Post #4 of 10
Views: 3357
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).]
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).]
Jul 5, 1999, 8:47 AM
Veteran / Moderator (8669 posts)
Jul 5, 1999, 8:47 AM
Post #6 of 10
Views: 3336
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:
$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
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
Jul 5, 1999, 10:59 AM
Novice (9 posts)
Jul 5, 1999, 10:59 AM
Post #7 of 10
Views: 3317
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.
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.
Jul 5, 1999, 1:50 PM
Veteran / Moderator (8669 posts)
Jul 5, 1999, 1:50 PM
Post #8 of 10
Views: 3353
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
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
Jul 5, 1999, 8:48 PM
Novice (9 posts)
Jul 5, 1999, 8:48 PM
Post #9 of 10
Views: 3364
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).]
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).]
Jul 6, 1999, 9:14 AM
Veteran / Moderator (8669 posts)
Jul 6, 1999, 9:14 AM
Post #10 of 10
Views: 3332
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
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