Gossamer Forum
Home : Products : DBMan : Installation :

pathway problems now

Quote Reply
pathway problems now
I"ve managed to get rid of the permission errors, now it's having a hard time finding the files. This is the error I'm getting Can't locate http://www.ssimicro.com/usr/cust/aurora/bin/db.cgibin/html.pl

It's double posting for some reason?

Quote Reply
Re: pathway problems now In reply to
You should have continued your old thread with this post and not started a new thread.

Anyway.....you path is wrong.....

http://www.ssimicro.com/usr/cust/aurora/bin/db.cgibin/html.pl

You have a URL mingled with a path.



Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
oops, sorry, didn't realize I was suppose to continued on my old thread. Your saying I should remove the url part in the default.cfg as in : $db_dir_url = "usr/cust/aurora/bin"; and $db_script_path . "html.pl"; they should look like this?

Quote Reply
Re: pathway problems now In reply to
noooo

Look at the variable name:

$db_dir_url

$db_dir_url = "http://www.yourdomain.com/cgi-bin/dbman";

(or where ever the dbman cgi scripts are)

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
I'm beginning to feel like an idoit here! Ok, I did what you said and I'm still getting a error but somewhat different. I've put everything right into my bin. http://www.ssimicro.com/~aurora/bin/db.cgi (everything is in this directory) This is the error msg I'm getting now: Can't locate http://www.ssimicro.com/usr/cust/aurora/bin/db.cgihtml.pl

This is how I've inputted my paths....

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.ssimicro.com/~aurora/bin";
# URL of dbman.
$db_script_url = $db_dir_url . "http://www.ssimicro.com/~aurora/bin/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "default.log";
# Full path and file name of the html routines.
require $db_script_path . "html.pl";

Quote Reply
Re: pathway problems now In reply to
Ugh....

You still have a path mixed with a URL:

Can't locate http://www.ssimicro.com/usr/cust/aurora/bin/db.cgihtml.pl

Also you have 2 file names at the end - db.cgi and html.pl


The only thing you need to change is the first URL:

# File and URL's
# --------------------------------------------------------
# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://www.ssimicro.com/~aurora/bin";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";


Replace your code with the chunk above and you should be up and running.



Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
I cut and pasted, but it still doesn't want to work. Here if you can see, not sure what is going on now, pathway looks fine and I know my permissions are set right.
http://www.ssimicro.com/~aurora/bin/db.cgi

Quote Reply
Re: pathway problems now In reply to
Hi Nena, yes - you DO NOT change many of the settings in the default path. The only part which should be changed is the part I have highlighted in blue for you below. You only place the part of your url which leads to your cgi-bin, I am guessing that to be http://www.ssimicro.com/~aurora/bin:

# URL of the directory dbman resides in. No Trailing Slash Please.
$db_dir_url = "http://penguin/alex/dbman";
# URL of dbman.
$db_script_url = $db_dir_url . "/db.cgi";
# Full Path and File name of the database file.
$db_file_name = $db_script_path . "/default.db";
# Full path and file name of the counter file.
$db_id_file_name = $db_script_path . "/default.count";
# Full path and file name of the authorization directory.
$auth_dir = $db_script_path . "/auth";
# Full path and file name of the password file.
$auth_pw_file = $db_script_path . "/default.pass";
# Full path and file name of the log file.
$auth_log_file = $db_script_path . "/default.log";
# Full path and file name of the html routines.
require $db_script_path . "/html.pl";


Quote Reply
Re: pathway problems now In reply to
Can't locate http://www.ssimicro.com/~aurora/bin/html.pl

That looks like you don't have html.pl in your bin directory.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
Err yes - exactly what I just said above.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
yes, it's there.....
drwxrwxrwx 2 aurora customer 512 Feb 27 15:10 auth
-rw-r--r-- 1 aurora customer 6606 Feb 27 15:10 auth.pl
-rwxr-xr-x 1 aurora customer 45899 Feb 27 16:28 db.cgi
-rw-r--r-- 1 aurora customer 7573 Feb 27 16:30 default.cfg
-rw-rw-rw- 1 aurora customer 2 Feb 27 15:10 default.count
-rw-rw-rw- 1 aurora customer 6693 Feb 27 15:10 default.db
-rw-rw-rw- 1 aurora customer 62 Feb 27 15:10 default.log
-rw-rw-rw- 1 aurora customer 143 Feb 27 15:10 default.pass
-rwxr--r-- 1 aurora customer 2609 Jan 14 2000 frenchselectshow.cgi
-rwxr--r-- 1 aurora customer 24296 Jan 18 2000 frenchslideviewer.cgi
-rw-r--r-- 1 aurora customer 42987 Feb 27 15:10 html.pl
-rwxr--r-- 1 aurora customer 20060 Apr 25 2000 kewlchess.cgi
-rwxr--r-- 1 aurora customer 11027 Dec 1 1999 quirex.pl
-rwxr--r-- 1 aurora customer 2603 Oct 19 1999 selectshow.cgi
-rwxr--r-- 1 aurora customer 24302 Nov 30 1999 slideviewer.cgi


Quote Reply
Re: pathway problems now In reply to
Hmmmmmmmm weird......

http://www.ssimicro.com/~aurora/bin/html.pl

When I go to the URL I get an internal server error so it does exist.

Well Im stumped.

Are you sure you can execute .pl and .cgi on your server?

I can't think of anything else.....

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
I've been told it doesn't matter which extension I use. I have a call into them now to have a look, it has to be the server. Thank you so much for all your help. I'll let you know as soon as I do, why it isn't running when it should be.

Quote Reply
Re: pathway problems now In reply to
Nena, compare the path to perl (first line in db.cgi) with the first line of one of your other working cgi scripts.

Something like this:

#!/usr/local/bin/perl

Paul, obviously I had not seen your post with the same info however, I definitely do not need you to make a post specifically to tell me it was the same. In attempting to assist someone having a problem, there are going to be instances of the same info being posted by more than one person. I would suggest that you and I both keep within the scope of offering valid help and answers on inquiries rather than picking at one another. Thank you!

Quote Reply
Re: pathway problems now In reply to
Finally, it's up and running. The problem was in the db.cgi it needed to be changed to "/usr/cust/aurora/public_html/bin" instead of using the tilda.

Thank you very much!!!

Quote Reply
Re: pathway problems now In reply to
Hi Karen, I just wanted to say that I went through most of the forum first before I added the problems I was having. I realize there is a good chance that it was the same problem someone else was having but I wasn't having any luck finding the answer.

This forum is one of the best support forum's I believe I've ever frequented!! Thank you very much.... =))

Quote Reply
Re: pathway problems now In reply to
Picking on one another?

Where did you get that idea from? I was simply pointing out that you had just repeated what I had said exactly.

>>In attempting to assist someone having a problem, there are going to be instances of the same info being posted by more than one person<<

Not if you read the previous posts first.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: pathway problems now In reply to
In Reply To:
Not if you read the previous posts first.
As I stated - I did not see your earlier post! I had started replying and took a phone call before posting my reply.

It is SO PETTY to reply to someone who is attempting to help and tell them their feedback is a duplication.

Can't help but ask --- Is this an example of how you conduct business? The attitude is really offensive in my opinion.

Quote Reply
Re: pathway problems now In reply to
Yes in YOUR opinion.

I don't know what you mean "Is this how I conduct business" because as far as I can see I did nothing offensive - you just seem to be paranoid about what I said.

Anyway this thread is dead now so stop bringing it to the top.

Paul Wilson.
Installations:
http://www.wiredon.net/gt/