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

Configuration problem....HELP?

Quote Reply
Configuration problem....HELP?
I've set all CHMOD correctly, set sendmail, etc. This is what I get when I try Validate, or anything else.
Error including libraries: Can't locate /admin/links.def in @INC (@INC contains: /data1/hypermart.net/mr-k/links/admin /usr/local/lib/perl5/i386-bsdos/5.00404 /usr/local/lib/perl5 /usr/local/lib/perl5/site_perl/i386-bsdos /usr/local/lib/perl5/site_perl .) at /data1/hypermart.net/mr-k/links/admin/links.cfg line 116.

Make sure they exist, permissions are set properly, and paths are set correctly.</noscript>
<!-- -->
Quote Reply
Re: Configuration problem....HELP? In reply to
Sounds like a path defined incorrectly in links.cfg

--mark

------------------
You can reach my by ICQ at UID# 8602162

Quote Reply
Re: Configuration problem....HELP? In reply to
Check out the how you have the paths set @ line 116 of your links.cfg file. Sounds like ya set a path wrong there.

------------------
Regards,
Brian
mjordn12@aol.com
veggietales.virtualave.net/veggielink/ (MegaLinks2.0)

Quote Reply
Re: Configuration problem....HELP? In reply to
I've checked my links.cfg file. My site URL (which works fine with other perl cgi scripts) is http://server4.hypermart.net/mr-k/.

I transfered the directory as it was unzipped, LINKS being my directory for this program. http://server4.hypermart.net/mr-k/links/...

What am I doing wrong? How should I be configuring the base setup in the LINKS.CFG file? The following is how I have LINKS.CFG configured. Please help???

# PATH of Admin Script directory. No Trailing Slash. *
$db_script_path = "/admin";
# URL of Admin Script directory. No Trailing Slash. *
$db_dir_url = "http://server4.hypermart.net/mr-k/links/admin";
# URL of Admin Script.
$db_script_url = $db_dir_url . "/admin.cgi";

# PATH of Pages to be built. No Trailing Slash. *
$build_root_path = "/links";
# URL of Pages to be built. No Trailing Slash. *
$build_root_url = "http://server4.hypermart.net/mr-k/links";
# PATH of What's New page. No Trailing Slash.
$build_new_path = $build_root_path . "/New";
# PATH of What's Cool page. No Trailing Slash.
$build_cool_path = $build_root_path . "/Cool";
# PATH of the header and footer directories. No Trailing Slash.
$db_header_path = $db_script_path . "/header";
$db_footer_path = $db_script_path . "/footer";

# URL of What's New Page
$build_new_url = $build_root_url . "/New";
# URL of What's Cool Page
$build_cool_url = $build_root_url . "/Cool";
# URL of Search Script
$build_search_url = $build_root_url . "/search.cgi";
# URL of Add Script
$build_add_url = $build_root_url . "/add.cgi";
# URL of Modify Script
$build_modify_url = $build_root_url . "/modify.cgi";
# URL of Jump Script
$build_jump_url = $build_root_url . "/jump.cgi";

# PATH of Library Directory. No Trailing Slash.
$db_lib_path = $db_script_path;
# PATH of the database backup directory. No Trailing Slash.
$db_backup_path = "$db_script_path/backup";
# PATH of the links database file.
$db_links_name = "$db_script_path/data/links.db";
# PATH of the category database file.
$db_category_name = "$db_script_path/data/categories.db";
# PATH of the validation file.
$db_valid_name = "$db_script_path/data/validate.db";
# PATH of the modification database:
$db_modified_name = "$db_script_path/data/modified.db";
# PATH of the URL index";
$db_url_name = "$db_script_path/data/url.db";
# PATH of the links database counter file.
$db_links_id_file_name = "$db_script_path/data/linksid.txt";
# PATH of the category database counter file.
$db_category_id_file_name = "$db_script_path/data/categoryid.txt";
# PATH of the verify links log.
$db_verify_path = "$db_script_path/data/verify.log";
# PATH of sendmail.
$db_mail_path = "/usr/lib/sendmail -t";
Quote Reply
Re: Configuration problem....HELP? In reply to
 
Quote:
# PATH of Admin Script directory. No Trailing Slash. *
$db_script_path = "/admin";

I may be wrong on this, but I believe this should be the "full" path to your admin directory; for example:

/usr/cgi/links/admin

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/