Gossamer Forum
Home : Products : DBMan : Installation :

Error loading required libraries

Quote Reply
Error loading required libraries
Hi, I was installing DBMan and fixed some errors by viewing the installation forums, but I couldn't find any that match this problem. I had to enable the debug in the db.cgi. The error output is below.

Any help would be appreciated.

Greg

DBMan encountered an internal error.


CGI ERROR
==========================================
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: . /acclib/perl5/lib/5.00503/alpha-dec_osf /acclib/perl5/lib/5.00503 /acclib/perl5/lib/site_perl/5.005/alpha-dec_osf /acclib/perl5/lib/site_perl/5.005 .) at db.cgi line 52.

Script Location : db.cgi
Perl Version : 5.00503
Setup File : default.cfg

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /web/htdocs
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.rit.edu
HTTP_USER_AGENT : Mozilla/4.61 [en] (Win95; U)
PATH : /sbin:/usr/sbin:/usr/bin:/usr/bin/X11:/usr/opt/networker/bin
QUERY_STRING :
REMOTE_ADDR : 24.24.43.33
REMOTE_PORT : 1756
REQUEST_METHOD : GET
REQUEST_URI : /~gsysdr/library/cgi-bin/web/db.cgi
SCRIPT_FILENAME : /users/rit6/g3/gsysdr/www/library/cgi-bin/web/db.cgi
SCRIPT_NAME : /~gsysdr/library/cgi-bin/web/db.cgi
SCRIPT_URI : http://www.rit.edu/~gsysdr/library/cgi-bin/web/db.cgi
SCRIPT_URL : /~gsysdr/library/cgi-bin/web/db.cgi
SERVER_ADDR : 129.21.2.233
SERVER_ADMIN : webmaster@rit.edu
SERVER_NAME : www.rit.edu
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
Apache/1.3.9 Apache-SSL/1.36 Server at www.rit.edu Port 80


SERVER_SOFTWARE : Apache/1.3.9 Apache-SSL/1.36 (Unix) mod_perl/1.21 PHP/3.0.12
UNIQUE_ID : O40X64EVAuMAAArdtWA



Quote Reply
Re: Error loading required libraries In reply to
Ran into that one myself just today... by any chance have you re-named any of your files? If you changed default.cfg to ralph.cfg or something then you need to make the following change in db.cgi under:

#Load the form information and set the config file and userid.
local(%in) = &parse_form;
$in{'db'} ? ($db_setup = $in{'db'}) : ($db_setup = 'default');
$in{'uid'} ? ($db_uid = $in{'uid'}): ($db_uid = '');

Change default to ralph.

If you haven't changed any of the file names, then triple check your permissions/paths and make sure you uploaded them in ascii mode, etc.

Later - Mike.

Learn to sway like the Ginko flower.
Clear your mind of Whimsy.