Gossamer Forum
Home : Products : DBMan : Installation :

Can't find path to html.pl

Quote Reply
Can't find path to html.pl
Hi

Although the path to html.pl appears to be correct error message below would seem to indicate otherwise... any suggestions as to what to do next?

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://www.cotcom.net/cgi-bin/dbman/html.pl in @INC (@INC contains: . /usr/lib/perl5/5.00503/i686-linux-thread /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i686-linux-thread /usr/lib/perl5/site_perl/5.005 .) at default.cfg line 51.
Script Location : /home/cotcom/cgi-bin/dbman/db.cgi
Perl Version : 5.00503Setup File : default.cfg
Quote Reply
Re: Can't find path to html.pl In reply to
Hi there,

Make sure that the path is set to /html.pl in the cfg file.
Make sure you have uploaded the html.pl script in ASCII to the same directory as the .cfg file and chmod it to 644

Have you altered the html.pl file yet? If so use the original file snd once this is working make your changes then. This way if the original works and then you come accross errors you know that your last action was incorrect



------------------
Regards
MDJ
http://www.isee-multimedia.co.uk
Quote Reply
Re: Can't find path to html.pl In reply to
I have set path to http://www.cotcom.net/cgi-bin/dbman/html.pl
I have uploaded in ASCII
I have set chmod to rw-r-r (644)

Quote Reply
Re: Can't find path to html.pl In reply to
I have not altered the html.pl file yet
I'm not too sure about some of the other chmods though i.e.
Not too sure about some of the other chmods though coz ws_ftp doesn't seem to cater for them, or is it me being thick?...
db.cgi (755) -rwxr-xr-x been doing this one for years, but why rwxr read, write,execute,read- does this make sense?
html.pl (644) -rw-r--r-- understood
auth.pl (644) -rw-r--r-- understood
default.cfg (644) -rw-r--r-- understood
default.pass (666) -rw-rw-rw- understood
default.count (666) -rw-rw-rw- understood
default.log (666) -rw-rw-rw- understood
default.db (666) -rw-rw-rw understood
auth (777) drwxrwxrwx this I thought was all tickboxes ticked in ws_ftp in the chmod section
README.txt (644) -rw-r--r-- why does this need uploaded although I have done so?!?
L
Am I doing something really obviously stupid?
Look forward to any further help.
Quote Reply
Re: Can't find path to html.pl In reply to
The permission settings you have are correct. The README file does not really have to be uploaded. It serves as a reference guide to help you install the script.

The problem is the path you have configured in the db.cgi file (which should be the physical server path to your DBMAN files NOT a virtual URL).

Regards,

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




[This message has been edited by Eliot (edited November 23, 1999).]
Quote Reply
Re: Can't find path to html.pl In reply to
I'm having the exact same problem as this. I've checked all permissions and whatnot and I'm still getting a similar error message where it can't find the 'html.pl' file...
------
"The problem is the path you have configured in the db.cgi file (which should be the physical server path to your DBMAN files NOT a virtual URL)."

You're saying that the db.cgi file has to have a "http://<server.address>/cgi-bin/<directory that dbman is in>" as it's addressing string, correct? I have this but still can't get it to run. Any other thoughts or ideas from this post that I might have missed to get dbman up and running.

here's some reference:
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://www.xlarge.com/cgi-bin/dbman/html.pl in @INC (@INC contains: http://www.xlarge.com/cgi-bin/dbman /usr/local/lib/perl5/alpha-dec_osf/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/alpha-dec_osf /usr/local/lib/perl5/site_perl .) at default.cfg line 51.

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

Thanks and I look forward to a reply and want to get dbman up and running soon!

thanks
steve k
stevek@xlarge.com
Quote Reply
Re: Can't find path to html.pl In reply to
You need to use the ABSOLUTE PATH for the $db_script_path variable in the db.cgi file.

Don't know what an absolute path is? Get a Perl book.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------