Gossamer Forum
Home : Products : DBMan : Installation :

DBMan encountered an internal error. Please enable

Quote Reply
DBMan encountered an internal error. Please enable
Same as many other posts I have reviewed, and have followed steps taken in all other posts to no effect.

I have especially followed the post "whats the first step" on pg 2 of the forum, and have reviewed the tutorial at jpdeni.com.

My PacBell server has Perl 5 on a Unix VDE.
Part of the good thing about this set up is that the pathname/absolute path name is always www.advisorpage.com/...
Part of the bad thing is that I do not have chmod access through FTP. Instead I use a web utility to set permissions for directories.

The permissions I have set are for
.../cgi/dbman to have r/w access to .../cgi/dbman & ...cgi/dbman/auth

and for the main directory (web) to have r/w access to ...cgi/dbman

This set up is constantly confusing for me because everyone always chmods, and I do have have adequate explantion from my server as to the exact codes that encompass their permissions.

The debugger doesn't work, but the server error message is:

09/16/00 16:09 "/cgi/dbman/default.cfg", proc "/bin/sh":
/cgi/dbman/default.cfg: =: not found
/cgi/dbman/default.cfg: =: not found
/cgi/dbman/default.cfg: =: not found
/cgi/dbman/default.cfg: =: not found
/cgi/dbman/default.cfg: =: not found
/cgi/dbman/default.cfg: =./default.pass: not found
/cgi/dbman/default.cfg: =./default.log: not found
/cgi/dbman/default.cfg: require: not found
/cgi/dbman/default.cfg: syntax error at line 58: `(' unexpected

It also claims the infamous 'malformed header' from the db.cgi script.

For my latest configuration efforts check:

http://www.advisorpage.com/dbman/db.txt
http://www.advisorpage.com/dbman/defaultconfig.txt

I have cetainly uploaded in ascii, with complete re-uploads several times.

Ideas on how to get this script working would be great.

many thanks

Christian


Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Hello Christian, the server is returing a 404 error on this page: http://www.advisorpage.com/dbman/defaultconfig.txt
The requested URL /dbman/defaultconfig.txt was not found on this server.

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Hi Karen,

thx for looking, sorry I erased in the midst of current trouble shooting. Try now.



Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Okay, Christian, I found where the file is at - it looks as though this is the original, unedited default.cfg file - correct?
In Reply To:
It also claims the infamous 'malformed header' from the db.cgi script.
This infamous error is normally the result of the path/to/perl being incorrect. Please check the first line of your scripts to make sure the path/to/perl is correct.
#!/usr/local/bin/perl


Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
sorry again, try

http://www.advisorpage.com/db.txt
http://www.advisorpage.com/default.txt

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
yep. path name to perl is as listed, and verified on the server

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Hello Christian, okay, I'm getting 404 error messages (does not exist) when accessing
http://www.advisorpage.com/cgi/
http://www.advisorpage.com/cgi/dbman

Do you have these directories in your file structure?

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
should be fine
Text : http://www.advisorpage.com/db.txt
http://www.advisorpage.com/default.txt

actual script

http://www.advisorpage.com/cgi/dbman/db.cgi

and so on



Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Okay, try changing this line:
$db_script_url = $db_dir_url . "/db.cgi";

The same way you have the other paths set now:
$db_file_name = "http://www.advisorpage.com/cgi/dbman/default.db";

Try changing it to:
$db_script_url = "http://www.advisorpage.com/cgi/dbman/db.cgi";



Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
Please save your html.pl file as a text file (html.pl.txt) and upload it to the server where it can be viewed.

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
I tried as you suggested to no effect. As a personal preference I like to stay away from variables defining variables in the configs, and several time it has enabled scripts to work right on the wonderful pacbell servers I use.

Not this time. For some reason, all of the errors point to the db.cgi script not finding what it needs, ie... the config file.

The error seems to me, to be before the config file can ever be read.

I am going to call my service provider and make sure that they have the most recent Perl installed...they may be slacking who knows? If I am missing a few modules in the lib that could be the problem. I notice the version I downloaded is very new so I hope this is part of it.

Thx for the suggestion Karen, I did upload the html.pl... it is still the default installed but the path is:

http://www.advisorpage.com/db.html.pl.txt

;) Christian

Quote Reply
Re: DBMan encountered an internal error. Please enable In reply to
After checking with Pacbell, they only have Perl ver 5 installed, not 5.003. I had a request put through for an upgrade incase this is the issue.

As far as I can determine, all of the paths & permissions are correct, however if you have any other ideas I would definitely like to hear them.

Reason being, the Advisor page website is a directory with some 150+ pages and over 50 mb of content. I am currently working on setting up a Linux/SQL server to work off of an access 2000 db.

If dbman works, then instead of completeing work on my SQL db I will buy the dbmanSQL version. This is a trial that will hopefully work out and hopefully save me lots o' programming time.

Needless to say, I'm very excited about getting dbman working!

Any thoughts or suggestions are appreciated.

thx
Christian