Gossamer Forum
Home : Products : DBMan : Installation :

installation help dbman

Quote Reply
installation help dbman
I get this error message:

Error Message : Error loading required libraries.
Check that they exist, permissions are set correctly and that they compile.
Reason: Can't locate default.cfg in @INC (@INC contains: /data1/hypermart.net/ladydebug /usr/local/lib/perl5/i386-bsdos/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /data1/hypermart.net/ladydebug/dbman/DB.CGI line 52.
Script Location : /data1/hypermart.net/ladydebug/dbman/DB.CGI
Perl Version : 5.00404Setup File : default.cfg

-----------------------------------

I'm using the following:

$db_script_path =
"/data1/hypermart.net/ladydebug";


# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://ladydebug.hypermart.net";
# 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";
$db_id_file_name = $db_script_path . "/default.cou";
# 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";
$auth_pw_file = $db_script_path . "/default.pas";
# 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";

Quote Reply
Re: installation help dbman In reply to
Polly

Are your permissions set correctly on all your files?
db.cgi (755) -rwxr--r--
html.pl (644) -rw-r--r--
auth.pl (644) -rw-r--r--
default.cfg (644) -rw-r--r--
default.pass (666) -rw-rw-rw-
default.count (666) -rw-rw-rw-
default.log (666) -rw-rw-rw-
default.db (666) -rw-rw-rw
auth (777) drwxrwxrwx
Quote Reply
Re: installation help dbman In reply to
Are you sure your URL is correct? I get a "file not found" error when I go there.


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