Gossamer Forum
Home : Products : Links 2.0 : Discussions :

I can add, but i can not build files. Please HELP!

Quote Reply
I can add, but i can not build files. Please HELP!
I get this error. I will paist it below. I have my pages DIR chmod to 777 and I still get the same error. What should I do?


Here is the error:

Links Manager: Building Pages
Building Pages
Pages built on 14-Jun-1999 at 08:34:41
--------------------------------------------------------

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 : /data1/hypermart.net/lol9992/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00404

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

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : webmaster@hackvp.com=webmaster@hackvp.com
HTTP_HOST : lol9992.hypermart.net
HTTP_REFERER : http://lol9992.hypermart.net/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING :
REMOTE_ADDR : 169.207.142.253
REMOTE_HOST : 169.207.142.253
REMOTE_PORT : 1588
REQUEST_METHOD : GET
REQUEST_URI : /cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /data1/hypermart.net/lol9992/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /cgi-bin/admin/nph-build.cgi
SCRIPT_URI : http://lol9992.hypermart.net/cgi-bin/admin/nph-build.cgi
SCRIPT_URL : /cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : lol9992.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.2.4 FrontPage/3.0.3







Here is part of my Links.cfg file:


# Paths and URL's to Important Stuff
# --------------------------------------------------------
# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/data1/hypermart.net/lol9992/cgi-bin/admin";
$db_dir_url = "http://lol9992.hypermart.net/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://lol9992.hypermart.net/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/data1/lol9992.hypermart.net/cgi-bin/pages";

# 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";

# Database Options
# --------------------------------------------------------
# You really need to use flock(). However if your system doesn't support it (Win95),
# then turn this off at your own risk!
$db_use_flock = 1;
# Use Pragma: no-cache to stop browsers from caching output? (0 = cache, 1 = nocache)
$db_nocache = 0;
# Use IIS headers? Set this to 1 if your web server needs the full headers (HTTP/1.0 etc.)
$db_iis = 0;
# Field number of category in category.db
$db_main_category = 1;
# Referers -- which hosts are allowed to add to your database.
@db_referers = ();

# Email Options
# --------------------------------------------------------
# NOTE: Be sure to edit the text of the message. It can be found
# in the templates directory: email-add.txt, email-del.txt and
# email-mod.txt respectively.

# Set only ONE of either $db_mail_path which should go to a
# mail program like sendmail, or $db_smtp_server which will use
# a SMTP server. Do not set both at once!

# PATH of sendmail. # SMTP Server
$db_mail_path = '/var/qmail/bin/qmail-inject'; $db_smtp_server = '';

# Email address of the administrator. BE SURE TO SET!
$db_admin_email = 'webmaster@hackvp.com';

# Notify visitors automatically when their links are validated?
$db_email_add = 1;

# Notify visitors automatically when their links are modified?
$db_email_modify = 0;

# Log all outgoing messages? Put the full path to a logfile and make sure it
# exists and is writeable (chmod 666 -rw-rw-rw-). This logfile can get pretty
# big!
$db_mailer_log = '';

--------------------------------------------

Quote Reply
Re: I can add, but i can not build files. Please HELP! In reply to
You should have an admin/backup directory and that directory needs to be chmod 777.

I hope this helps.
Quote Reply
Re: I can add, but i can not build files. Please HELP! In reply to
Thanks for the help. I can now build my files. Now i have another problem!

When i try to validate a links i get this error:

Links Manager: Verifying Links
Verifying Links
Link checking started at: Mon Jun 14 16:13:09 1999
--------------------------------------------------------
Unable to load Parallel User Checker. System Error:
--
Can't locate HTTP/Request.pm in @INC (@INC contains: /home/hackvp1/public_html/cgi-bin/links/admin /usr/libdata/perl/5.00502/mach /usr/libdata/perl/5.00502 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at /home/hackvp1/public_html/cgi-bin/links/admin/Validator.pm line 23.
BEGIN failed--compilation aborted at /home/hackvp1/public_html/cgi-bin/links/admin/Validator.pm line 23.
--
Using IO::Socket method instead.

--------------------------------------------------------
Checked 3 - Request Failed. Message: IO::Socket::INET: Permission denied. URL: http://listen.to/musichell

Took: 0 seconds to check 1 links.

Bad Link Summary
-----------------------------------------------
3 - http://listen.to/musichell [modify|delete] : unresolvable - IO::Socket::INET: Permission denied

-----------------------------------------------

Good Links: 0
Bad Links : 1



Please respond!
Quote Reply
Re: I can add, but i can not build files. Please HELP! In reply to
It looks line your ISP may not have the LWP module (properly) installed for Perl. Thus, the script is advising that it couldn't use the Parallel Checking method (that's not really an error, it is an informational message). But on top of that, the script cannot use the other method of checking either because your ISP does not allow the socket method, or doesn't have the software for the socket method installed.

I suggest you speak with your ISP about this, as this is not really a Links error. It works when everything is installed.
Quote Reply
Re: I can add, but i can not build files. Please HELP! In reply to
Having Perl5 installed does not necessarily mean that all the additional modules for Perl5 are installed. Some ISPs do not install the additional modules and leave it up to the user. However, with the number of Virtualave users on here that are not having these problems, I am thinking something else may be wrong but what it is, I cannot say. I would, however, contact them again and ask specifically about the error message you are receiving. Or perhaps some other Virtualave customer that uses Links can provide some help.
Quote Reply
Re: I can add, but i can not build files. Please HELP! In reply to
But I checked, and my hosting provider, Virtualave.net has perl 5!