Gossamer Forum
Home : Products : DBMan : Installation :

New installation on Windows NT IIS 5.0 does not work

Quote Reply
New installation on Windows NT IIS 5.0 does not work
Hello,
I can not get the program to work.
I have uploaded all the files to http://www.planit.co.th/cgi-bin

All files are set to 777.
I changed the name of db.cgi to db.pl and default.cgi to default.pl.

Please take a look and see if you can help me. I have looked around the forum and tried things suggested by and for others but I still can not get it to work. This is my first time setting it up on a windows platform. Unix is very easy. I have also posted the debugging info here at http://www.planit.co.th/cgi-bin/debug_info.txt
Configuration file: http://www.planit.co.th/cgi-bin/default.txt
HTML file:
http://www.planit.co.th/cgi-bin/html.txt

I hope this is enough info to help.
Thanks in advance.
Eusi Smile
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
From your debug info:

Quote:


d:/64.225.73.136/cgi-bin/auth.pl. Reason: Bad file descriptor


Are you sure ath.pl was uploaded in ascii text mode?

~ Karen
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
Yes. I just reloaded it to make sure and I still have the same problem. I welcome any other suggestions.
Thanks
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
Hi,

This path - d:/64.225.73.136/cgi-bin/auth.pl - seems on *nix not Windows. It should be d:\64.225.73.136\cgi-bin\auth.pl. Please correct that and try again

Cheers,

Cheers,

Dat

Programming and creating plugins and templates
Blog
Quote Reply
Re: [tandat] New installation on Windows NT IIS 5.0 does not work In reply to
>>
It should be d:\64.225.73.136\cgi-bin\auth.pl. Please correct that and try again
<<

No, people always make that mistake. You _can_ use forward slashes (with Apache at least, and maybe others too). I use forward slashes myself on Windows NT.

Last edited by:

Paul: Mar 20, 2002, 1:46 AM
Quote Reply
Re: [Paul] New installation on Windows NT IIS 5.0 does not work In reply to
I have changed the path in my default.cfg and in the db.cgi file. I do not see a change in the error message. I am not sure if I am changing it in the correct place.
Can someone please tell me the file name I should be altering to correct the path to my auth.pl file.
I have updated the text version of my cfg file, error message, and the db.cgi file.
http://www.planit.co.th/cgi-bin/db.pl
http://www.planit.co.th/cgi-bin/default.txt
http://www.planit.co.th/cgi-bin/db_cgi.txt

Thank you.
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
When accessing http://www.planit.co.th/cgi-bin/db.pl notice how the slashes change in the error message?

Quote:


d:\64.225.73.136\cgi-bin/auth.pl. Reason: Bad file descriptor


In db.pl (should have been renamed from db.cgi) for your system, escape the slashes in the file path you've entered, like this:

d:\\64.225.73.136\\cgi-bin

Additionally, in default.cfg, you have this field within your definitions:

'record' => [ 0, 'alpha' ...

yet, you've set things up for DBMan to track the records:

$db_key = 'record';
# Track the key? Should DBMan keep a counter of the next key to use? This isn't
# neccessary if you can guarantee that your entry in the key field will be unique
# (i.e. a userid).
$db_key_track = 1;


"Counter" is the first clue that this field (record) should be numerical. Presently, it is set as alpha. You need to change that field to:

'record' => [ 0, 'numer' ...

After making all the changes, if you're still having problems, please save the corrected files as text files and again upload to the server so they can be reviewed. (Make sure you include a copy of db.pl too.)

~ Karen
Quote Reply
Re: [Karen] New installation on Windows NT IIS 5.0 does not work In reply to
Still no luck. Here is the db.Pl file also:
http://www.planit.co.th/cgi-bin/db_pl.txt
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
Not real sure what is happening. When I access the db.pl file with either the domain name or IP address, still seeing the \'s change direction in the error message.

'record' => [ 0, 'number',

Should be: numer (no "b") for numerical.

Try commenting out this line in your default.cfg file since the URL path is being defined in the db.pl file.

# URL of the directory dbman resides in. No Trailing Slash Please.
# $db_dir_url = http://www.planit.co.th/cgi-bin;


Do you have BOTH a db.cgi AND a db.pl file in this directory? When accessing using db.cgi I get a default DBMan error, when accessing with db.pl I'm getting a system error report.

~ Karen
Quote Reply
Re: [Karen] New installation on Windows NT IIS 5.0 does not work In reply to
Still does not work. I do have db.pl and db.cgi in the folder. I also get those two different error messages when I click on the different files. Should I take one out. I renamed the db.cgi to db-omit.cgi and it still does not work. I renamed it to make sure it was not getting confused between the two files. I don't know if that matters but I do not know what else to do.
Any other ideas?
Do you need me to display any of my other files as text files?
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
Is this a current copy of your db.cgi file?

http://www.planit.co.th/cgi-bin/db_cgi.txt

If so, the \'s are not escaped.

Should be:

$db_script_path = "d:\\64.225.73.136\\cgi-bin";
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
Do you have other scripts working in your web hosting space?

Perl is on a different drive according to your server error message:

C:\Perl\bin;

You may need to define the path to perl in your db.pl file.

Last edited by:

Karen: Mar 20, 2002, 3:27 PM
Quote Reply
Re: [Karen] New installation on Windows NT IIS 5.0 does not work In reply to
I did forget to escape it but it still does not work. Now there are current files there.
This is the only script I have on this site. It is on an Interland server.
Quote Reply
Re: [epease] New installation on Windows NT IIS 5.0 does not work In reply to
You need to change the path to perl, it is trying to use /usr/bin/perl