Gossamer Forum
Home : Products : DBMan : Installation :

Stuck with installation on W98 local server

Quote Reply
Stuck with installation on W98 local server
I installed the dbman at my W98 local server to test and prepare the script, before installing on our internet webserver, but I get the following error message when entering the db.cgi:
"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: . C:/Perl/lib C:/Perl/site/lib .) at C:\Inetpub\scripts\dbman\db.cgi line 51."
----------------
Environment Variables
---------------------------------
Script Location : C:\Inetpub\scripts\dbman\db.cgi
Perl Version : 5.00503
Setup File : default.cfg

C:\PERL\BIN;C:\PROGRA~1\PERL\BIN;D:\WINDOWS;D:\WINDOWS\COMMAND;C:\NOVELL\PUBLIC;C:\NOVELL\CLIENT32;C:\RK98TO~1;C:\WINDOWS;C:\WINDOWS\COMMAND ;C:\PROGRAMME\MTS
PATH_INFO : /scripts/dbman/db.cgi
PATH_TRANSLATED : C:\Inetpub\scripts\dbman\db.cgi
PROMPT : $p$g
REMOTE_ADDR : 127.0.0.1
REMOTE_HOST : 127.0.0.1
REQUEST_METHOD : GET
SCRIPT_NAME : /scripts/dbman/db.cgi
SERVER_NAME : diego
SERVER_PORT : 80
SERVER_PORT_SECURE : 0
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Microsoft-IIS/4.0
----------------
Content of the dbman folder: db.cgi, html.pl, auth.pl, default.cfg, default.pass, default.count, default.log,default.db
auth, README.txt
-----------------
As you can see, I use the activePerl version 5.00503 and the PWS 4 Webserver.
After extracting the dbmanfiles I've done only three things
in the default.cfg
$db_dir_url = "http://127.0.0.1/scripts/dbman";
$db_use_flock = 0;
in the db.cgi
set the path to my perl #!C:/Perl/Bin/perl.exe
After saving I entered the db.cgi to see the demo and get the error.
I don't know how to continue. Is there anyone who can help ?
PS An other perl script (discus forum) runs very well.

greetings from germany , godie
Quote Reply
Re: Stuck with installation on W98 local server In reply to
Make sure that the $db_script_path variable in the db.cgi file is set to the following:

Code:
$db_script_path= "C:/InetPub/scripts/dbman";

Hope this helps.

Regards,

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


Quote Reply
Re: Stuck with installation on W98 local server In reply to
Thank you very much for helping me so quickly. It works now. This is an example for a very good user-service. I will recommend you.

regards, godie
Quote Reply
Re: Stuck with installation on W98 local server In reply to
You're welcome.

Regards.

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