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

Products: Links 2.0: Installation -- Unix: Can't Find links.cfg on installation: Edit Log

Here is the list of edits for this post
Can't Find links.cfg on installation
I just downloaded Links 2.0 and installed it on my host's linux web servers. When I do as the readme says and go to http://yourserver.com/cgi-bin/links/admin/admin.cgi here: http://fatchucks.com/cgi-bin/links/admin/admin.cgi , I get this error: "Error including libraries: Can't locate /home/fatchucks/fatchucks-www/cgi-bin/links/admin/links.cfg at admin.cgi line 27.

Make sure they exist, permissions are set properly, and paths are set correctly."

YES, I've read *all* previous posts on this topic and followed their advice. Here is my admin.cgi header:

require 5.001; # Make sure we have at least perl 5.001.
require "/home/fatchucks/fatchucks-www/cgi-bin/links/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.
require "$/home/fatchucks/fatchucks-www/cgi-bin/links/admin/db.pl"; # Database Routines.
require "$/home/fatchucks/fatchucks-www/cgi-bin/links/admin/db_utils.pl"; # Database Support utilities.
require "$/home/fatchucks/fatchucks-www/cgi-bin/links/admin/admin_html.pl"; # Admin HTML routines.
};


Here is my links.cfg setup:

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/home/fatchucks/fatchucks-www/cgi-bin/links/admin";
$db_dir_url = "http://www.fatchucks.com/cgi-bin/links/admin";

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

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/home/fatchucks/fatchucks-www/testreview";
$build_root_url = "http://www.fatchucks.com/testreview";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$/home/fatchucks/fatchucks-www/testreview/new";
$build_new_url = "$http://www.fatchucks.com/testreview/new";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$/home/fatchucks/fatchucks-www/testreview/cool";
$build_cool_url = "$http://www.fatchucks.com/testreview/cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$/home/fatchucks/fatchucks-www/testreview/ratings";
$build_ratings_url = "$http://www.fatchucks.com/testreview/ratings";

Straight from my web host's online manual, my directory path is: /home/username/domain-www/cgi-bin , which translates to /home/fatchucks/fatchucks-www/cgi-bin , according to the manual: http://manual.4ua.com/chpt11.html .

My cgi-bin/links directory is organized per the default install: domainpath/cgi-bin/links/admin/...


I have set permissions correctly repeatedly according to these readme instructions via CuteFTP 3:

chmod 755 (-rwxr-xr-x) on all .cgi files.
chmod 666 (-rw-rw-rw-) on all files in the data directory.
chmod 666 (-rw-rw-rw-) on all your template files (if using the online editor).
chmod 777 (drwxrwxrwx) on the hits directory
chmod 777 (drwxrwxrwx) on the ratings directory
chmod 777 (drwxrwxrwx) on the directory where Links pages will be created.

I am intentionally uploading everything in ASCII, not Binary or Auto.

Any ideas on what I'm missing? Again, I've already searched for "locate db.pl" and "locate object method" and nothing found has been very helpful.

Thanks,

Chuck

Last edited by:

anonicon: Mar 21, 2002, 2:23 AM

Edit Log: