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

Unable to copy links backup.

Quote Reply
Unable to copy links backup.
Hi there!
I just discovered this product today, and I'm excited. But, as a "new" Linux guy (and web server guy too) I'm having problems with the install. I believe that I've chmod'ed everything correctly, and I think I've double checked everything, but I still get the following error when I get to Step 6.3 of the README. Clicking on build all (I guess that's what was meant by build pages) BTW, it's Redhat 6.1.
Any help would be wonderful, or I can spend a few more hours banging my head slowly and methodically on the desk Smile
Here's the snippet:
Pages built on 30-Mar-2000 at 13:20:52
--------------------------------------------------------

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

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /home/httpd/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, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_HOST : ursula.daltonstate.edu
HTTP_REFERER : http://ursula.daltonstate.edu/cgi-bin/links/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)
PATH : /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
QUERY_STRING :
REMOTE_ADDR : 168.30.235.127
REMOTE_PORT : 1552
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/links/admin/nph-build.cgi
SCRIPT_FILENAME : /home/httpd/cgi-bin/links/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/links/admin/nph-build.cgi
SERVER_ADDR : 168.30.234.58
SERVER_ADMIN : root@localhost
SERVER_NAME : localhost.localdomain
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.9 (Unix) (Red Hat/Linux)

Thank you,
--lb

Quote Reply
Re: Unable to copy links backup. In reply to
Hello!

You need to change permissions at /admin/backup directory to 777


------------------
Best Regards,
Alex
Cgi installation service
http://web-surf.virtualave.net/cgi-install.html
http://www.perl-manual.com
Quote Reply
Re: Unable to copy links backup. In reply to
Thank you cgiservice.
That fixed that, but I had to create the links.db.bak file (which I did by touching the file, then chmod'ing it 666.)
Now I get this:
Note the updating ratings part.
--lawrence

Pages built on 30-Mar-2000 at 13:52:26
--------------------------------------------------------

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.
Updating record: 4, marking as new.
Couldn't rename! Had to copy. Strange: Permission denied
Done.
-----------------!!!!!HERE!!!!
Updating ratings ..
Couldn't rename! Had to copy. Strange: Permission denied
Done.
----------------------!!!!HERE!!!!!
Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 1
Total Links: 2
Opening page: /home/httpd/cgi-bin/links/pages/index.html
Closing page.
Done

Building What's New Page . . .
Making Directory (511): '/home/httpd/cgi-bin/links/pages/New' ...Made. CHMOD (511) ...Done.
New Links for 30-Mar-2000: 2
Total New Links: 2
Done

Building What's Cool Page . . .
Making Directory (511): '/home/httpd/cgi-bin/links/pages/Cool' ...Made. CHMOD (511) ...Done.
Cool Links: 0
Done

Building Top Rated Page . . .
Making Directory (511): '/home/httpd/cgi-bin/links/pages/Ratings' ...Made. CHMOD (511) ...Done.
Vote Range: ..
Rate Range: ..
Done

Building Category Pages . . .
Building Category: Search_Sites
Subcategories: 0
Links: 2
Making Directory (511): '/home/httpd/cgi-bin/links/pages/Search_Sites' ...Made. CHMOD (511) ...Done.
Directory: /home/httpd/cgi-bin/links/pages/Search_Sites
Filename : /home/httpd/cgi-bin/links/pages/Search_Sites/index.html

Done

Pages Built (0 s)!
Quote Reply
Re: Unable to copy links backup. In reply to
Change the permission of your /data/rates/ and /data/hits/ directory to 777 (rwxrwxrwx).

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums