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
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