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

Build all problem

Quote Reply
Build all problem
I had some problems with "build all" and posted a message to the links resources forum. The answer was below. I followed the instructions and now the result is:

Building Pages

Pages built on 20-Apr-2000 at 17:08:56
--------------------------------------------------------

Backing up database . . .
Backup exists for today.. Skipping
Done.

Building URL Index . . .

CGI ERROR
==========================================
Error Message : unable to open count file: '/usr/local/apache/cgi-bin/links/admin/data/hits/index.count'. Reason: Permission denied
Script Location : /usr/local/apache/cgi-bin/links/admin/nph-build.cgi

I thought I had the correct permissions on the hits directory and everything in it.

2) You need to upload a blank file called links.db.bak to your data directory where your links.db file is located. Then change the
permission of this file to 666 (rw-rw-rw-). Then re-build your index via the Build All option in the nph-build.cgi
Quote Reply
Re: Build all problem In reply to
Now your problem is that you need to change the permission of your /hits/ directory to 777 (rwxrwxrwx), so that the index.count file will increment.

Also, READ the README file more carefully about the permissions you need to use for files and directories.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited April 20, 2000).]