Gossamer Forum
Home : Products : DBMan : Installation :

DB Man installtion

Quote Reply
DB Man installtion
I am new at perl and could use any and all help in installing this program
Quote Reply
Re: DB Man installtion In reply to
The basic instructions are in the readme.txt file. If there's anything specific you don't understand, we'll be happy to answer your questions.


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





Quote Reply
Re: DB Man installtion In reply to
Ok did that and get a long cgi error mesasage ... does this code look correct

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

the error message sames it cant find the html.pl file ... thanx for all the help
Quote Reply
Re: DB Man installtion In reply to
Jp it is the lack of information in the manuals that is fun ... for instance do I need to create a database first or can I use the canned one to get started ... dont get me wrong the program looks great ... It is more a feeling that a "programmer" wrote the installation guideline instead of a "tech writer". It seems that it would be easier to start with a canned product instead of configging it on the fly
Quote Reply
Re: DB Man installtion In reply to
I wonder if anyone has a different set of installation procedures
Quote Reply
Re: DB Man installtion In reply to
What I would suggest is that you install the database that is in the distribution file. Only change the $db_dir_url value at the beginning of default.cfg to match where the script is on your system.

Upload all the files in ASCII mode and be sure to set the permissions correctly.

Then test it out and see if everything works. Once you find that out, you can make your own changes to the script

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





Quote Reply
Re: DB Man installtion In reply to
Looks okay. Are you sure you

1) uploaded the html.pl file to the same directory as db.cgi?

2) uploaded it in ASCII mode?

3) set the permissions correctly?



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





Quote Reply
Re: DB Man installtion In reply to
 
Quote:
$db_dir_url = "../cgi-bin";

Might also want to use the full URL instead of a relative one. If you do get errors, post them! They contain lot's of helpful information.

Cheers,

Alex
Quote Reply
Re: DB Man installtion In reply to
Bingo it works ... it took deleting two files and completely resending them ... db.cgi and default.cfg .... isnt it grand when things work so simply ... again thanx for all the work and advise