Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Weird Problem

Quote Reply
Weird Problem
Hi all,

This is a weird one. I am able to build my DB via the browser (but it times out). So I go into telnet, and when I try to build, I get the following message:

<H1>Software error:</H1>
<CODE>DBSQL (13790): Fatal Error: Error loading Config file '/usr/local/etc/htt3
</CODE>
<P>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

[Tue Aug 15 09:14:52 2000] nph-build.cgi: DBSQL (13790): Fatal Error: Error loa3

I don't see anything wrong with the config files.

Does this make sense to anyone?

Quote Reply
Re: Weird Problem In reply to
Did you delete all the directories that were created with nph-build.cgi via your web browser BEFORE executing the script via telnet? If not...first delete all the directories (you can do this via FTP), then execute the nph-build.cgi.

BTW: I really don't think that telnet is the ultimate solution since my building process is killed after building two categories (with 110 subcategories) and 1000 links. I believe that the sub build_category_pages needs to be hacked to complete the build process.

Regards,

Eliot

Quote Reply
Re: Weird Problem In reply to
Hi Anthro,

I've done it with this and without. I still get the following from telnet:

Content-type: text/html

<H1>Software error:</H1>
<CODE>DBSQL (26346): Fatal Error: Error loading Config file '/usr/local/etc/htt3
</CODE>
<P>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

[Wed Aug 16 09:31:06 2000] nph-build.cgi: DBSQL (26346): Fatal Error: Error loa3


Quote Reply
Re: Weird Problem In reply to
If you are going to run via telnet, you need to often hard-code the paths into the 'use lib' statements. The reason is that there is no "environment" passed to the program when run by telnet.

What it's saying is DBSQL.pm can't find the config file (probably Links.pm) and you may need to hard-code the paths not use relative references.

http://www.postcards.com
FAQ: http://www.postcards.com/FAQ/LinkSQL/

Quote Reply
Re: Weird Problem In reply to
Hey Pugdog,

The full error is:

Content-type: text/html

<H1>Software error:</H1>
<CODE>DBSQL (23680): Fatal Error: Error loading Config file '/usr/local/etc/http
d/vhosts/canadadental.com/cgi-bin/admin/defs/Links.def'. Reason: File does not e
xist. at nph-build.cgi line 43
</CODE>
<P>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

[Wed Aug 16 10:58:05 2000] nph-build.cgi: DBSQL (23680): Fatal Error: Error load
ing Config file '/usr/local/etc/httpd/vhosts/canadadental.com/cgi-bin/admin/defs
/Links.def'. Reason: File does not exist. at nph-build.cgi line 43

So Links.def is what cannot be found.

In any case, I'll try what you say!

Quote Reply
Re: Weird Problem In reply to
Pugdog,

I harcoded the following locations from within nph-build and still get a Links.def file not found error via telnet:

$LINKDB $CATDB $EMAIL $HIERARCH

Any ideas on what I can try next?

Quote Reply
FYI In reply to
Pugdog,

My Links.def is not 0 bytes and I have successfully re-created the defs with the setup.cgi. Still, I cannot build from telnet.

Quote Reply
Re: FYI In reply to
I just moved my database to a new server and am trying to re-build.. I am having _exactly_ the same problem (error message) when trying to run from telnet.. and I have hard-coded the mentioned variables in as well..

I definitely look forward to hearing how this one is resolved ;)

Katina :)