Gossamer Forum
Quote Reply
Instillation
Hello:

I have difficulty re_installing the script, eventhough I install it before and it worked fine.

But now I have a bit off a headache install it again in a new directory.

I downlaoded a fresh script from your site few days ago, and I do not know if you add or made any modification.

Anyhow, to make the story short , here is the problem that I'am facing.

I uploaded all the files using the server account insted of ftp. (I loaded other cgi script in this manner and all worked).

I followed all your installation procedures

3. Set permissions:
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.

and left everything as there default chmod
meaning :
all directories will be chmod to drwx-rx-rx
all files (.pl , cfg, def)to rw-r-r

When I excuted the admin.cgi I get the nasty 500 server error.

Thank you for your prompt attention.




Quote Reply
Re: Instillation In reply to
1) Make sure that the path is set correctly in the links.cfg file for the $db_script_url in the bottom section of the file.

2) Check the Perl Path.

3) Check to make sure that you have included the complete ABSOLUTE path to the links.cfg file in the admin.cgi file, like the following:

Code:
require "/machine/account/cgi-bin/links/admin/links.cfg";

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Instillation In reply to
Thank you for your reply:

I checked the following:

1)$db_script_url , and it's pointing to the right url.

2) the perl location, for my server is !/usr/bin/perl , I'am sure about it,cause I installed other cgi scripts that not related to the link2 and worked fine.

3) I modified the links.cfg path in the admin.cgi.

Nothing worked, it's not just the admin.cgi,it is also all other cgi scripts of links2

I do not know what I did wrong, I had the same difficulty when I installed links2 before, But I did something which made it work, and now, I can not remember what I did excatly.

best regards
Quote Reply
Re: Instillation In reply to
Well, if it is all other cgi scripts in links, it means that the permissions are not properly set.

Also, your hosting company may have shut-down your LINKS program because of its high use of CPU and server resources.

Contact your Hosting Company.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------




Quote Reply
Re: Instillation In reply to
I do not think anything wrong with the webhost company, I only had 100 links in my directory.

If it the chmod, is there any way to list all chmods. in detail, nothing left for our wide imagnation.

thanks again

best regards