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

Problem with nph-build.cgi, please help.

Quote Reply
Problem with nph-build.cgi, please help.
I got everything run well. After adding categories, links...then I click on Build All, I got this error message. What is wrong. PLease help me.
Quote:
Building Pages

Pages built on 17-Nov-1999 at 09:49:09
--------------------------------------------------------

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 : /usr2/home/tulsavbc/public_html/cgi-bin/directory/admin/nph-build.cgi
Perl Version : 5.00502

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /usr/local/www/addr
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : $1
HTTP_HOST : www.tulsavbc.org
HTTP_REFERER : http://www.tulsavbc.org/cgi-bin/directory/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.61 [en] (Win98; I)
LOG_DIR : /usr/local/etc/httpd/log/tulsavbc
PATH : /bin:/usr/bin:/usr/sbin:/sbin:/usr/local/bin
QUERY_STRING :
REMOTE_ADDR :
REMOTE_PORT : 1817
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/directory/admin/nph-build.cgi
SCRIPT_FILENAME : /usr2/home/tulsavbc/public_html/cgi-bin/directory/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/directory/admin/nph-build.cgi
SCRIPT_URI : http://www.tulsavbc.org/cgi-bin/directory/admin/nph-build.cgi
SCRIPT_URL : /cgi-bin/directory/admin/nph-build.cgi
SERVER_ADMIN : webmaster@addr.com
SERVER_NAME : www.tulsavbc.org
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.3 Ben-SSL/1.29 (Unix) mod_perl/1.16 PHP/3.0.5 FrontPage/3.0.4.2

and this is my links.cfg

Quote:
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/usr2/home/tulsavbc/public_html/cgi-bin/directory/admin";
$db_dir_url = "http://www.tulsavbc.org/cgi-bin/directory/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.tulsavbc.org/cgi-bin/directory";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/usr2/home/tulsavbc/public_html";
$build_root_url = "http://www.tulsavbc.org";

# PATH and URL of What's New page. No Trailing slash.
$build_new_path = "$build_root_path/New";
$build_new_url = "$build_root_url/New";

# PATH and URL of What's Cool page. No Trailing slash.
$build_cool_path = "$build_root_path/Cool";
$build_cool_url = "$build_root_url/Cool";

# PATH and URL of What's Rating page. No Trailing slash.
$build_ratings_path = "$build_root_path/Ratings";
$build_ratings_url = "$build_root_url/Ratings";

I am waitng for your reply.
Quote Reply
Re: Problem with nph-build.cgi, please help. In reply to
Hi Tim!
Your admin/backup directory does not have permissions to create/write/copy a file inside of it. Or, your admin/data files do not have 666 permissions (or equivalent).

Hope that helps.



------------------
http://www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory


Quote Reply
Re: Problem with nph-build.cgi, please help. In reply to
 
Quote:
CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied

chmod the backup directory to 777

--mark

------------------
Due to repeated requests for support via ICQ, I am once again offering support online.

The ONLY number I will accept requests on is #53788453. Messages sent to my other numbers will not pass through to me, as I have security settings set to ignore messages from users not on that list.

I don't know how often I will be active on this number, as it is for only when I am free to offer assistance.

Could this signature be any longer? Smile

[This message has been edited by Mark Badolato (edited November 17, 1999).]