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

A Problem When building

Quote Reply
A Problem When building
Hi, I am trying to install Links 2 on a site. I have managed to get the admin file working, but now when i try to run the building file i get the following error;

Pages built on 23-Sep-2000 at 11:15:16
--------------------------------------------------------

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

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 2 hits

CGI ERROR
==========================================
Error Message : unable to open temp links database: /home/mnleach/cgi-bin/links/cgi-bin/admin/data/links.db.bak. Reason: Permission denied
Script Location : /home/mnleach/cgi-bin/links/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00503

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/mnleach/public_html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-gb
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.ukcomputerauction.co.uk
HTTP_REFERER : http://www.ukcomputerauction.co.uk/cgi-bin/links/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 95; DigExt)
PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING :
REMOTE_ADDR : 62.252.168.159
REMOTE_HOST : m159-mp1-cvx1b.lan.ntl.com
REMOTE_PORT : 2775
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /home/mnleach/cgi-bin/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/cgi-bin/admin/nph-build.cgi
SERVER_ADDR : 212.67.202.38
SERVER_ADMIN : webmaster@ukcomputerauction.co.uk
SERVER_NAME : www.ukcomputerauction.co.uk
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE : Apache/1.3.9 Server at www.ukcomputerauction.co.uk Port 80

SERVER_SOFTWARE : Apache/1.3.9 (Unix) PHP/4.0.1pl2 mod_perl/1.21 FrontPage/4.0.4.3
UNIQUE_ID : OcyCtNRDyiQAABubCCk


I have set all the needed file permissionas to 755 (those that need it) and made sure everything was uploaded in the corerect way. I you have any ideas i would really appreciate any help you can give me.

Yours

A.J.Newby



Quote Reply
Re: A Problem When building In reply to
As discussed before in this forum...check the following:

1) Make sure that you have a blank file called links.db.bak in your data directory. Change the permission of this file to 666 (rw-rw-rw-).

2) Then make sure that your backup directory is set to 777 (drwrwxrwx).

----This is a recording-----

Please read the FAQ in the Resource Center that outlines the Directory/File permissions for Links 2.0 OR open your README file and READ it.

Regards,

Eliot Lee