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

error in building....why?

Quote Reply
error in building....why?
Building URL Index . . .

CGI ERROR
==========================================
Error Message : unable to open count file: '/data1/hypermart.net/hueyhuey/links/cgi-bin/admin/data/hits/index.count'. Reason: Permission denied
Script Location : /data1/hypermart.net/hueyhuey/links/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, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : kuekhh@pd.jaring.my=kuekhh@pd.jaring.my
HTTP_HOST : server17.hypermart.net
HTTP_REFERER : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.6 [en] (Win95; I)
PATH : /usr/local/bin:/usr/local/sbin:/usr/local/libexec:/bin:/sbin:/usr/bin:/usr/sbin:/usr/contrib/bin:/usr/X11R6/bin:/usr/libexec:/usr/contrib/is ode/bin:/root/bin
QUERY_STRING :
REMOTE_ADDR : 202.188.8.18
REMOTE_PORT : 1646
REQUEST_METHOD : GET
REQUEST_URI : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URI : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URL : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : server17.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

**i got this error when building.....why?thanks for ur helps.. =)
Quote Reply
Re: error in building....why? In reply to
All files in the data directory are supposed to be chmod 666. The hits directory is a subdirectory of the data directory, therefore, the file within it should be chmod 666.

I hope this helps.
Quote Reply
Re: error in building....why? In reply to
thanks!!it can work now!!!!but some others error was appear.....

CGI ERROR
==========================================
Error Message : unable to open temp links database: /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/data/links.db.bak. Reason: Permission denied
Script Location : /data1/hypermart.net/hueyhuey/links/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, image/png, */*
HTTP_ACCEPT_CHARSET : iso-8859-1,*,utf-8
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : kuekhh@pd.jaring.my=kuekhh@pd.jaring.my
HTTP_HOST : server17.hypermart.net
HTTP_REFERER : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.6 [en] (Win95; I)
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING :
REMOTE_ADDR : 202.188.93.73
REMOTE_PORT : 1209
REQUEST_METHOD : GET
REQUEST_URI : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URI : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URL : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : server17.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

please help!!!!thanks!! =)
Quote Reply
Re: error in building....why? In reply to
chmod the admin/data directory to 777.

I hope this helps.
Quote Reply
Re: error in building....why? In reply to
after i chmod admin/data directory to 777,this error message came out....

Error including libraries: Can't modify concatenation in scalar assignment at /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/links.cfg line 224, near ""$db_script_path/templates";"

Make sure they exist, permissions are set properly, and paths are set correctly.</noscript>
<!-- -->

in my link.cfg file ,i dun have line 224,
this is start from line 221 to 223 :
$db_template_path = "$db_script_path/templates"; # PATH to templates.
$db_rates_path = "$db_script_path/data/rates"; # PATH to ratings.
1;
Quote Reply
Re: error in building....why? In reply to
The lines of links.cfg that use concatenation anywhere around the referenced line are:

Code:
$db_script_url = $db_dir_url . "/admin.cgi"; # Admin script.
$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";
$build_search_url = $db_cgi_url . "/search.cgi"; # URL of search script.
$build_add_url = $db_cgi_url . "/add.cgi"; # URL of add script.
$build_modify_url = $db_cgi_url . "/modify.cgi"; # URL of modify script.
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.
$build_email_url = $db_cgi_url . "/subscribe.cgi"; # URL of email update script.
$build_rate_url = $db_cgi_url . "/rate.cgi"; # URL of rate script.
$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.
$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.

Check those lines to be sure that they match the above and there is no missing " or ; in them.

I hope this helps.
Quote Reply
Re: error in building....why? In reply to
**i think i dun have missing " or ; ... =)

$db_script_url = $db_dir_url . "/admin.cgi"; # Admin script.
$db_header_path = $db_script_path . "/header"; # Place to store header and footers.
$db_footer_path = $db_script_path . "/footer";
$build_search_url = $db_cgi_url . "/search.cgi"; # URL of search script.
$build_add_url = $db_cgi_url . "/add.cgi"; # URL of add script.
$build_modify_url = $db_cgi_url . "/modify.cgi"; # URL of modify script.
$build_jump_url = $db_cgi_url . "/jump.cgi"; # URL of jump script.
$build_email_url = $db_cgi_url . "/subscribe.cgi"; # URL of email update script.
$build_rate_url = $db_cgi_url . "/rate.cgi"; # URL of rate script.
$db_mail_url = $db_dir_url . "/nph-email.cgi"; # URL of admin mass mail script.
$build_css_url = $build_root_url . "/links.css"; # URL to your CSS file.
Quote Reply
Re: error in building....why? In reply to
Well, you may not have an concantenation error then, but for some reason, the script thinks you do. That means something is not right someplace in links.cfg and the script isn't catching it until it hits the end of the links.cfg file. Go back through each setting in links.cfg that you have changed and be sure that each is set correctly and properly terminated. There is either something missing someplace or there is a typo someplace.

If necessary, put your links.cfg online and provide a URL so we can look at it.

[This message has been edited by Bobsie (edited June 22, 1999).]
Quote Reply
Re: error in building....why? In reply to
thanks bobsie!i have solve the problem already...but.....still....got....error.... =)
this is the error....

CGI ERROR
==========================================
Error Message : Error building! Links database is 0 bytes!
Script Location : /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
Perl Version : 5.00404

Form Variables
-------------------------------------------
staggered : 1

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/hypermart.net
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 : kuekhh@pd.jaring.my=kuekhh@pd.jaring.my
HTTP_HOST : server17.hypermart.net
HTTP_REFERER : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.6 [en] (Win95; I)
PATH : /bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin
QUERY_STRING : staggered=1
REMOTE_ADDR : 202.188.32.215
REMOTE_PORT : 3078
REQUEST_METHOD : GET
REQUEST_URI : /hueyhuey/links/cgi-bin/admin/nph-build.cgi?staggered=1
SCRIPT_FILENAME : /data1/hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URI : http://server17.hypermart.net/hueyhuey/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URL : /hueyhuey/links/cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@hypermart.net
SERVER_NAME : server17.hypermart.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.0
SERVER_SIGNATURE :
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

Quote Reply
Re: error in building....why? In reply to
Have you added any links to your system? There has to be at least one link added before Links will build the pages.
Quote Reply
Re: error in building....why? In reply to
This is my Error. Maybe you can help me too! Wink

Quote:
CGI ERROR
==========================================
Error Message : Unable to copy links backup. Reason: Permission denied
Script Location : /var/www/virtual/domains/tsnation.com/nolimit/docs/cgi-bin/links/admin/nph-build.cgi
Perl Version : 5.00402
Quote Reply
Re: error in building....why? In reply to
Make sure you have an admin/backup directory and it is chmod 777. Also be sure your links.db is chmod 666.
Quote Reply
Re: error in building....why? In reply to
yay! I had a few othe errors but I managed to fix them. Thank-You so much!