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

install on new server errors

Quote Reply
install on new server errors
I just got a new server today (not a cobalt RAQ) and I am having some problems. I uploaded everything, chmod'd all correctly, but when I go to login as admin, I get the following:Error including libraries: Can't locate /var/www/cgi-bin/links/admin/db.pl at admin.cgi line 28.Make sure they exist, permissions are set properly, and paths are set correctly.and that is the correct path. db.pl is chmod 755 also. Anyone else have this error before? It's a AMD Athlon server (maybe I should have gone $50 more for the intel)
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
Double check your paths and CHMODs. Everything that is a .db or .pl etc needs to be set to 666, and .cgi files need to be set to 755. That will be the reason why the admin panel is giving you this error. Its normally down to typos in links.cfg Wink

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] install on new server errors In reply to
I had everything in the admin dir 755, now only cgi's are 755, all other files are 666. But that still didn't fix anything. Network Solutions hasn't transferred over the new dns info, so i'm wondering if that could do it. I only used ip's in the links.cfg file though, so i don't know. I doubt that's the prob as this is an internal server error and it's pointing to the correct dir. I've installed this script 1000's of times too without a problem.
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
Can you post your links.cfg part where you defined the paths?

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] install on new server errors In reply to
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/var/www/cgi-bin/links/admin";
$db_dir_url = "http://64.246.6.77/.../cgi-bin/links/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://64.246.6.77/~admin2/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/var/www/html/bands";
$build_root_url = "http://64.246.6.77/~admin2/bands";



this is what i'm working with so far as the dns hasn't been transferred.
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
Ok, those paths still don't look right. Also, going to http://64.246.6.77/~admin2/cgi-bin does NOT work, however http://64.246.6.77/~admin2/ DOES! This leads me to think that your cgi-bin does not actually exist Wink

Try also uploading the attached script to your server, CHMOD to 755, and then run via your browser. Post the results here if possible.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] install on new server errors In reply to
yeah...it's really bizzarre. http://64.246.6.77/~admin2/cgi-bin[/url] doesnt work for me either, but http://64.246.6.77/~admin2/cgi-bin/links produces a 403 error which sorta proves the dir exists. Also I didn't see a attachment. I might be blind as i've now been up 28 hours straight.
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
Oops...here we go....

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] install on new server errors In reply to
      Your IP Address: 4.62.50.23
      Your Remote Host:
      Your HTTP Host: 64.246.6.77
      Your Browser and Version: Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; Q312461)
Environment Variables DOCUMENT_ROOT /var/www/html GATEWAY_INTERFACE CGI/1.1 HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE en-us HTTP_CONNECTION Keep-Alive HTTP_COOKIE cookie=set; h2=o; he=llo HTTP_HOST 64.246.6.77 HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Win 9x 4.90; Q312461) PATH /usr/local/bin:/usr/bin:/bin QUERY_STRING REMOTE_ADDR 4.62.50.23 REMOTE_PORT 2396 REQUEST_METHOD GET REQUEST_URI /~admin2/cgi-bin/gforum.cgi SCRIPT_FILENAME /home/virtual/admin2/var/www/cgi-bin/gforum.cgi SCRIPT_NAME /~admin2/cgi-bin/gforum.cgi SCRIPT_URI http://ensim.rackshack.net/~admin2/cgi-bin/gforum.cgi SCRIPT_URL /~admin2/cgi-bin/gforum.cgi SERVER_ADDR 64.246.6.77 SERVER_ADMIN root@ensim.rackshack.net SERVER_NAME ensim.rackshack.net SERVER_PORT 80 SERVER_PROTOCOL HTTP/1.1 SERVER_SOFTWARE Apache/1.3.19 (Unix) (Red-Hat/Linux) mod_perl/1.24_01 PHP/4.0.6 FrontPage/5.0.2 mod_ssl/2.8.1 OpenSSL/0.9.6
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
Look like your path is actually - /home/virtual/admin2/var/www/ Wink Try it and see what happens.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [AndyNewby] install on new server errors In reply to
thank you very much. looks like it's all working. again...thanks
Quote Reply
Re: [amp3dmoshpit] install on new server errors In reply to
You also have your configuration wrong:

$db_dir_url = "http://64.246.6.77/~admin2/cgi-bin/links/admin";

$db_cgi_url = "http://64.246.6.77/~admin2/cgi-bin";

You were/are missing links on the cgi url.