Gossamer Forum
Quote Reply
Don't work
After adding category I don't see successful screen, but another 2 frames created in the working area. Thus I have 2 navigation panels.
Add link work as well.
Build all don't work also with cgi error below.

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/wwwadm/www1/cgi-bin/links/admin/data/links.db.bak. Reason: Permission denied
Script Location : /home/wwwadm/www1/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404


Quote Reply
Re: Don't work In reply to
The whole error message:

Links Manager: Building Pages
Building Pages
Pages built on 19-Mar-1999 at 19:15:14
--------------------------------------------------------

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/wwwadm/www1/cgi-bin/links/admin/data/links.db.bak. Reason: Permission denied
Script Location : /home/wwwadm/www1/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
CHARSET : windows-1251
CHARSET_HTTP_METHOD : http://
CHARSET_SERVER_NAME : www1.techcen.zgrad.su:8101
CHARSET_SERVER_PORT : 8101
DOCUMENT_ROOT : /home/wwwadm/www1/
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, application/msword, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: ru,en;q=0.5
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www1.techcen.zgrad.su:8101
HTTP_REFERER : http://www1.techcen.zgrad.su:8101/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0b2; Windows NT)
PATH : /bin:/usr/bin:/sbin:/usr/sbin
QUERY_STRING :
REMOTE_ADDR : 194.226.10.11
REMOTE_HOST : stella.techcen.zgrad.su
REMOTE_PORT : 1942
REMOTE_USER : admin
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/wwwadm/www1/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADMIN : master@techcen.zgrad.su
SERVER_NAME : www1.techcen.zgrad.su
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.4 (Unix) Debian/GNU PHP/3.0.6 rus/PL28.7
SOURCE_CHARSET : windows-1251
UNIQUE_ID : NvJ4EsLiCt4AAFdFCTc

Quote Reply
Re: Don't work In reply to
Check and see if there is a links.db.bak file in your data directory. If there is, try giving it 666 permissions. Also, check the permissions on the data directory. Try making those permissions 777.

The problem is, Links is trying to create a temporary copy of links.db in the data directory but doesn't have the permissions necessary to overwrite one that is in there, or doesn't have the permissions to create one.
Quote Reply
Re: Don't work In reply to
The most problem that I don't get successful screen. I got another copy of Links in cgimain frame.

Bak file created, but I don't have root priv's to change mode to 666.
Quote Reply
Re: Don't work In reply to
Get a copy of FileMan, the file manager script Alex has written. Using it, you will be able to change any of the permissions on any of your files.