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

Build All Problem

Quote Reply
Build All Problem
When I tried Build all, I've got any problem:

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 : /home/httpd/thes.com/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00503

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

Environment Variables
-------------------------------------------
AUTH_TYPE : Basic
DOCUMENT_ROOT : /home/httpd/thes.com/html
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-excel, application/msword, application/pdf, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: cs
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : www.thes.com
HTTP_REFERER : http://www.thes.com/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt; AIRF)
PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING :
REMOTE_ADDR : 212.11.117.220
REMOTE_PORT : 2586
REMOTE_USER : admin
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/httpd/thes.com/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADDR : 198.172.0.244
SERVER_ADMIN : happy@telecom.cz
SERVER_NAME : thes.com
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.11 (Unix) (Red Hat/Linux) FrontPage/4.0.4.3 PHP/3.0.9

I think that the permission for all files is OK.
Please help. Thanks.


Quote Reply
Re: Build All Problem In reply to
Uh...as discussed before in this forum...You need set the permission of the backup directory to 777 (drwxrwxrwx) and also you need to have a blank file in your data directory called links.db.bak and make sure that this file is to 666 (rw-rw-rw-).

Regards,

Eliot Lee

Quote Reply
Re: Build All Problem In reply to
It seems to me, after having wrestled with this problem, that changing the 'data' directory itself to 777 solves the problems. I too followed the instructions to the letter but this seems to solve it.

~raika

Quote Reply
Re: Build All Problem In reply to
Hi,

I have the same problem. I follow the instrection in this page, I set backup directory then I got this:

Building Pages
Pages built on 25-Oct-2000 at 22:25:23
--------------------------------------------------------

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

Building URL Index . . .

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

when I went to view the pages there was nothing there, I see new files build in the backup diretory, help please

Quote Reply
Re: Build All Problem In reply to
I have the same problem.

Please could someone help us out here.

Cheers

Craig Knight
ICQ 81306047


Quote Reply
Re: Build All Problem In reply to
I have already responded to your Threads!

Regards,

Eliot Lee
Quote Reply
Re: Build All Problem In reply to
Hi Eliot

Can you help me in my case? I follow your instrection, all permissions are okay, but I don't see and pages are build in non-cgi directory ../links/pages

I really don't like to open new thread just to ask this question, so I appreciate your help to solve this problem .. thanks

Quote Reply
Re: Build All Problem In reply to
have a look on FAQ question .It should help...It seems that you have a problem with your server.You should change some instruction in nph files. More details on the following link

http://www.gossamer-threads.com/perl/resources/jump.cgi?ID=941

regards

JML

Quote Reply
Re: Build All Problem In reply to
jmlinger I follow what you recommand but it didn't work with me .. I'm not on cobalt machine I'm using Linux

please I need help in this matter

Quote Reply
Re: Build All Problem In reply to
Hello,

Hold exaktly on the Install informations ..
I had the same problem ... the way is easy ...
the file "index.count" in the hits dir must
chmod 777 and the hits dir , too.

Then delete your pages dir and create it
new. Then (dont forgett!!!) chmod the pages dir 777 again.
Click on build and it will work ...
View this ;)

Links Manager: Building Pages
Building Pages
Pages built on 30-Oct-2000 at 04:15:54
--------------------------------------------------------

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

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 14 days
Popular Cutoff: 2 hits
Updating record: 3, marking as new.

Done.

Updating ratings ..
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 1
Total Links: 1
Opening page: /home/htdocs/index.html
Closing page.
Done

Building What's New Page . . .
Making Directory (511): '/home/htdocs/New' ...Made. CHMOD (511) ...Done.
New Links for 30-Oct-2000: 1
Total New Links: 1
Done

Building What's Cool Page . . .
Making Directory (511): '/home/htdocs/Cool' ...Made. CHMOD (511) ...Done.
Cool Links: 0
Done

Building Top Rated Page . . .
Making Directory (511): '/home/htdocs/Ratings' ...Made. CHMOD (511) ...Done.
Vote Range: ..
Rate Range: ..
Done

Building Category Pages . . .
Building Category: test
Subcategories: 0
Links: 1
Making Directory (511): '/home/htdocs/test' ...Made. CHMOD (511) ...Done.
Directory: /home/htdocs/test
Filename : /home/htdocs/Test/index.html

Done

Pages Built (0 s)!

That is only an example i have cut out my urls ;)
So i hope i must not try to fix the next problem :-)


MY LINKS SCRIPT WORK NOW WITHOUT ERRORS ...
I HAVE added the file what AnthroRules say in this thread,too.

Good Luck

All Others!