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

Build All results in CGI Error

Quote Reply
Build All results in CGI Error
When I ran the "Build All" option i got an error message but when i ran "Staggered (Auto)" the build went through fine. If i try to run a build all option again i get this error message.

Links Manager: Building Pages
Building Pages
Pages built on 10-Apr-1999 at 22:28:10
--------------------------------------------------------

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

Building URL Index . . .

CGI ERROR
==========================================
Error Message : unable to open count file: '/home/virtual/www/devi8/cgi-bin/links/admin/data/hits/index.count'. Reason: Permission denied
Script Location : /www/devi8/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00502

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /www/devi8
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_HOST : www.devi8.com
HTTP_REFERER : http://www.devi8.com/cgi/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)
HTTP_XONNECTION : Keep-Alive
PATH : /usr/local/system:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:.
QUERY_STRING :
REMOTE_ADDR : 209.204.72.34
REMOTE_PORT : 14826
REMOTE_USER : Jackol
REQUEST_METHOD : GET
REQUEST_URI : /cgi/links/admin/nph-build.cgi
SCRIPT_FILENAME : /www/devi8/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi/links/admin/nph-build.cgi
SERVER_ADMIN : webmaster@devi8.com
SERVER_NAME : devi8.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.4 (Unix)



It seems there is a permissions problem with count file? I chmoded the index.count to 755, but i get the error message if i try to build.

I have chmod'd all cgi files to 755
chmod admin directory to 777
data directory to 666
template files each individually to 666
hits directory 777
ratings directory 777
chmod links directory to 777


Do i have to set permissions for the links subdirectory in the cgi-bin? (/cgi-bin/links/admin) I didnt see any instructions to do so. I did chmod the admin directory though, just not the links directory.

Is this something that i should worry about or should i just keep on with the staggered build option? Im a little leery of cgi errors as one thing leads to another, id like to fix this asap. If anyone has an info on what i can do id much appreciate! Thanks.

Quote Reply
Re: Build All results in CGI Error In reply to
 
Quote:
I have chmod'd all cgi files to 755
chmod admin directory to 777
data directory to 666
template files each individually to 666
hits directory 777
ratings directory 777
chmod links directory to 777

I would chmod the data directory to 777 and the files in them to 666 or at least 644.