Gossamer Forum
Home : Products : DBMan : Installation :

Installing & my head hurts :)

Quote Reply
Installing & my head hurts :)
You've had this question a million times (as I have read through most of your posts) - but after 6 hours of working with DBman and trying everything, I cannot get it to run.

First let me say, my server has this in their instructions..so I do not know if that will effect the set up of DBman:
--------------------------------------------------------
Special considerations because we run suexec!

As a security precaution, suexec REQUIRES that all cgi scripts AND THE DIRECTORIES IN WHICH THEY RESIDE *NOT* be writable by anyone but the owner user.

SO, suexec requires that you change the owner (chown) and change the group (chgrp) to be your user and group (don't worry, these are the defaults when you upload or create a file), AND that you chmod (change permissions) that file AND THE DIRECTORY it resides in to be not-writable by the world. You can do this with the chmod 755 filename.pl command.

You do NOT want to do chmod 777 filename.pl, even if your scripts' installation instructions tell you to do that. They don't know that you're installing your script on a server with suexec installed!
-----------------------------------------------------------
That being said, I have tried it with the 755 they said there to use. I have tried it with the 777 you said to use. I made sure I set my cute FTP manually to ASCII. I have run out of ideas.
-----------------------------------------------------
Here is my error message:
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 http://d-rae.com/dbase/dbman/html.pl in @INC (@INC contains: http://d-rae.com/dbase/dbman /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl /usr/lib/perl5 .) at default.cfg line 51.

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

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/markey/d-rae.com
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.d-rae.com
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; MSN 2.6; Windows 98)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 64.31.138.52
REMOTE_PORT : 2199
REQUEST_METHOD : GET
REQUEST_URI : /dbase/dbman/db.cgi
SCRIPT_FILENAME : /home/markey/d-rae.com/dbase/dbman/db.cgi
SCRIPT_NAME : /dbase/dbman/db.cgi
SERVER_ADDR : 216.240.147.214
SERVER_ADMIN : webmaster@d-rae.com
SERVER_NAME : www.d-rae.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.12 Ben-SSL/1.40 (Unix) PHP/4.0.4pl1
-------------------------------------------------------
I hope you can help.

Thank you.







The Newbie
Quote Reply
Re: Installing & my head hurts :) In reply to
OK! I honestly don't know what i did, but i deleted everything, started over again and actually got to the log in menu.

It lets me go in and do everything...but below the log in menu...it still has another error: :(
-------------------------------------
DBMan encountered an internal error.

CGI ERROR
==========================================
Error Message : Debug Information
Script Location : db.cgi
Perl Version : 5.00503
Setup File : default.cfg
User ID : author
Session ID : author.98919525786607

Form Variables
-------------------------------------------
db : default
modify_search : 1
uid : author.98919525786607

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/markey/d-rae.com
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : d-rae.com
HTTP_REFERER : http://d-rae.com/dbase/dbman/db.cgi?db=default&uid=author.98919525786607&ID=73&Title=&URL=&Type=---&Date=&Category=---&Description=&keyword=&mh=10&sb=---&so=ascend&view_records=View+Records
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; MSN 2.6; Windows 98)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING : db=default&uid=author.98919525786607&modify_search=1
REMOTE_ADDR : 64.31.139.100
REMOTE_PORT : 2473
REQUEST_METHOD : GET
REQUEST_URI : /dbase/dbman/db.cgi?db=default&uid=author.98919525786607&modify_search=1
SCRIPT_FILENAME : /home/markey/d-rae.com/dbase/dbman/db.cgi
SCRIPT_NAME : /dbase/dbman/db.cgi
SERVER_ADDR : 216.240.147.214
SERVER_ADMIN : webmaster@d-rae.com
SERVER_NAME : d-rae.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.12 Ben-SSL/1.40 (Unix) PHP/4.0.4pl1
-------------------------------------------------------
Not sure what this means, since it lets me access the data base with no problem.





The Newbie
Quote Reply
Re: Installing & my head hurts :) In reply to
Uh...it means that you need to TURN OFF DE-BUGGING!

Change $db_debug = 1; to $db_debug = 0; in the default.cfg file.

Regards,

Eliot Lee
Quote Reply
DOH In reply to
silly me.

thanks for your help. ;)

The Newbie