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

problems with building all

Quote Reply
problems with building all
I installed Links 2.0 myself and thought everything was going well until I tried a build all. Here's the error text. Can anyone tell me what must be done to fix the problem? Thanks!

Links Manager: Building Pages
Building Pages
Pages built on 15-Apr-1999 at 19:00:50
--------------------------------------------------------

Backing up database . . .
Backing up links, category and email database (File::Copy) ...

CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /u64/atf/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /u64/atf
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : application/msword, image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.allthingsfree.com
HTTP_REFERER : http://www.allthingsfree.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; MSN 2.5; Windows 98)
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/contrib/bin
QUERY_STRING :
REMOTE_ADDR : 153.34.146.150
REMOTE_HOST : 153.34.146.150
REMOTE_PORT : 2354
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /u64/atf/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADMIN : webmaster@allthingsfree.com
SERVER_NAME : www.allthingsfree.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.2.5 FrontPage/3.0.3

Quote Reply
Re: problems with building all In reply to
Make sure the permissions are set as follows:

admin/backup directory 777
admin/data directory 777
files inside admin data directory 666
admin/data/hits directory 777
index.count file in admin/data/hits directory 666
admin/data/rates directory 777

Also see my mod to nph-build.cgi at http://www.gossamer-threads.com/...um2/HTML/000656.html on how to prevent the links.db permissions from changing back to 644.

I hope this helps.