Gossamer Forum
Home : Products : DBMan : Installation :

CGIWrap Error: Script Execution Failed

Quote Reply
CGIWrap Error: Script Execution Failed
Hello,
I am trying to install DBman on a linux server that I just put up. When I execute the script I get a "No such file or directory" error.

I edited the default.cfg file in a couple of places:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://greg.easy-pages.com/html_public/cgi-bin/dbman";

And I chmod'ed the files and I am sure that I did it right.




Quote Reply
Re: CGIWrap Error: Script Execution Failed In reply to
I'm not an expert like many of those here, but I have some experience with the script. #1- Are you absolutely sure you uploaded the files in ASCII mode? Because if you didn't it will not work. #2 I see that you have renamed db.cgi to db.pl- (a requirement of the server to run cgi's?) I have not had to do this, but someone else may be able to tell you if this presents any problems.

Quote Reply
Re: CGIWrap Error: Script Execution Failed In reply to
I removed your ftp access information from your post. I may be paranoid, but I think it is a very bad idea to post something like this in a public forum. (Just for your safety. Smile

I think you need to check the path to Perl which is the first line of the db.cgi (db.pl) file. Check with your host company to find out where Perl is and make any necessary changes.


JPD
http://www.jpdeni.com/dbman/
Quote Reply
Re: CGIWrap Error: Script Execution Failed In reply to
Yaaah-da hooda!

I found the problem. I had to edit the srm.cnf file on the server to allow for perl scripting. The way I had it set up it only exectured *.cgi files as scripts, and I was using *.pl extensions. (Throw-back to my NT days I guess).

Thanks for all your help.