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

Ünable to open count file: [...]" error. Need Help!

Quote Reply
Ünable to open count file: [...]" error. Need Help!
And guess what?! with a little persistence and some experimenting (god knows what I did), I managed to get the thing working! Smile)
===========

=> Sorry for posting this post haste. In case anyone else encounters this problem, chmod the index.count file to 666.

I got it fixed not 5 minutes after I posted this.

===========


Here is my problem: when clicking on the build all link, it gstarts working, but then generates this error message:


Links Manager: Building Pages
Building Pages
Pages built on 11-Jun-1999 at 00:41:13
--------------------------------------------------------

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

Building URL Index . . .

CGI ERROR
==========================================
Error Message : unable to open count file: '/home/emmgee/public_html/cgi-bin2/admin/data/hits/index.count'. Reason: Permission denied
Script Location : /home/emmgee/.//public_html/cgi-bin2/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/httpd/genweb.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/msword, application/vnd.ms-excel, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us,de;q=0.5
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.genweb.net
HTTP_REFERER : http://www.genweb.net/~emmgee/cgi-bin2/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /sbin:/usr/sbin:/bin:/usr/bin
QUERY_STRING :
REMOTE_ADDR : 38.29.124.58
REMOTE_HOST : ip58.phoenix12.az.pub-ip.psi.net
REMOTE_PORT : 1933
REQUEST_METHOD : GET
REQUEST_URI : /~emmgee/cgi-bin2/admin/nph-build.cgi
SCRIPT_FILENAME : /home/emmgee/.//public_html/cgi-bin2/admin/nph-build.cgi
SCRIPT_NAME : /~emmgee/cgi-bin2/admin/nph-build.cgi
SERVER_ADMIN : webmaster@genweb.net
SERVER_NAME : genweb.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.3 (Unix)






------------------
Thanks!

Michael

[This message has been edited by MikeB (edited June 11, 1999).]

[This message has been edited by MikeB (edited June 11, 1999).]

[This message has been edited by MikeB (edited June 11, 1999).]
Quote Reply
Re: Ünable to open count file: [...]" error. Need Help! In reply to
Aye, I followed the directions to the detail, not CHMODing the files in the directories. But after I played around a little, I got it to work Smile). Thx guys, for a great!!! script Smile).

------------------
Thanks!

Michael
Quote Reply
Re: Ünable to open count file: [...]" error. Need Help! In reply to
Per the Links v2.0 Readme.txt file:

Code:
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.


The files in the hits directory are considered to be part of the data directory, as are any files in the rates directory. I guess it could be more clearly stated though.