Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Please help NT installation

Quote Reply
Please help NT installation
 "Error including libraries: Can't locate /classifieds/links/cgi-
bin/admin/db.pl in @INC at
I am gettig this error. whenb I try to run the script. I have uplaoed in ascii mode to an NT system. What does erro meana nd hwo can I fix it
C:\webserver\outdoors2.com\www\classifieds\links\cgi-
bin\admin\admin.cgi line 28. Make sure they exist, permissions are
set properly, and paths are set correctly.


David Lafayette
Quote Reply
Re: Please help NT installation In reply to
It means you defined your path incorrectly in links.cfg.

--mark
Quote Reply
Re: Please help NT installation In reply to
 

Below is the how I set of the link.cfg.
I have already change the path on the cgi files to C:\perl\bin\perl.exe
The base directory is C:/webserver/_outdoors2.com/www
So could you please tell me where i went wrong.
Thanks Davd Lafayette



# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/classifieds/links/cgi-bin/admin";
$db_dir_url = "http://www.outdoors2.com/classifieds/links/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.outdoors2.com/classifieds/links/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/classifieds/links/pages";
$build_root_url = "http://www.outdoors2.com/classifieds/links/pages";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = ''; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = '';

# Notify visitors automatically when their links are validated?
$db_email_add = 0;

# Notify visitors automatically when their links are modified?
$db_email_modify = 0;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';

# Build Options
# --------------------------------------------------------
# Setting for popular cutoff, can either be a percent (i.e. top 3%), or
# a fixed value (i.e. top 10). Enter 0.03 or 10 respectively.
$db_popular_cutoff = 0.03; # Top 3%
# Number of days a link is considered New.
$db_new_cutoff = 14; # 14 days old.
# Return search results bolded (1 = yes, 0 = no).
$search_bold = 1;
# The name of an index file.
$build_index = "index.html";
# The extension to use for non index files:
$build_extension = ".html";

# Should your add.cgi automatically select what category the user
# is adding his link into?
$db_single_category = 1;

# Directory Permissions. Do NOT put quotes around it. Set to 0777
# for world writeable. If you put this at 0755, you might need a
# script to remove any directories created as they will be owned
# by the web server or user nobody. Better solution might be to
# run the nph-build routine from the command shell.
$build_dir_per = 0777;

Quote Reply
Re: Please help NT installation In reply to
Try these following configurations:

Code:
$db_script_path = "C:/webserver/outdoors2.com/www/classifieds/links/cgi-bin/admin";

$build_root_path = "C:/webserver/outdoors2.com/www/classifieds/links/pages";

Make sure that you change the permissions of these directories to RWX-RWX-RWX

(Owner - Read, Write, Execute)
(Author - Read, Write, Execute)
(Everyone - Read, Write, Execute)

Also, make sure that your ISP has set-up the following users and permissions in these directories:

IUSR\MACHINENAME - RWX
IWAM\MACHINENAME - RWX

It should work. Smile

Regards,



------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us

[This message has been edited by Eliot (edited August 09, 1999).]