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

nph-build fails on New

Quote Reply
nph-build fails on New
I have looked for the answer to this question on the forum, but can't find it. I am not very familiar with scripts and I apoligize in advance if a similar problem has been covered elsewhere.

I have been running nph-build.cgi from telenet and it has been working fine. Last weekend my web host did some "upgrading" of the server and now the nph-build.cgi file runs until it trys to build the new.shtml file in the New directory, resulting in an error message saying Permission Denied. The chmod on the New directory is 777 and on the index.shtml file is 777. The .cgi files are 755.

I have asked the web host what "upgrade" they did on the server, but cannot get an answer. I suspect that they installed a newer version of Perl.

Here is the message I get:

Error Message : unable to open what's new page: /usr/home27/amenkart/publi
c_html/New/index.shtml. Reason: Permission denied
Script Location : nph-build.cgi
Perl Version : 5.00503

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

Environment Variables
-------------------------------------------
BLOCKSIZE : K
EDITOR : vi
HOME : /usr/home27/amenkart
LOGNAME : amenkart
MAIL : /var/mail/amenkart
MANPATH : /usr/share/man:/usr/X11R6/man:/usr/local/man
PAGER : more
PATH : /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/u
sr/X11R6/bin:/usr/home27/amenkart/bin:/usr/local/java/bin
PWD : /usr/home27/amenkart/public_html/cgi-bin/links/admin
SHELL : /bin/csh
TERM : ansi
USER : amenkart

</PRE>%

Any help would be appreciated.

Regards,
Andrew

Quote Reply
Re: nph-build fails on New In reply to
hi,

who is the owner of the file ?
Code:
-rw-r--r-- 1 wwwrun www 2311 Feb 11 23:29 index.html
try this,

delete the index.*htm* in your New directory, and try again to build the pages.

what happend now ?

ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: nph-build fails on New In reply to
Nicky,

Thanks for the reply... I tried deleting the index.shtml file in the New directory (actually renamed it) and running the nph-build again. It failed at the same place and didn't create an index.*htm* file. I then renamed the file back to index.shtml and set the file permissions to 644 and ran again... it failed at the same place with the same error message.

Any additional help would be appreciated.

Regards,
Andrew

Quote Reply
Re: nph-build fails on New In reply to
hi again,

try to delete the directory New..
possible ?

build again..

now ?

ciao
nicky
here u can visit german gossamer links forum
http://forum.nicky.net
Quote Reply
Re: nph-build fails on New In reply to
Nicky,

THAT WORKED!!!! It rebuilt the New directory and the nph-build script ran to the end.

Thanks very much.

Regards,
Andrew