🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by steve Steve Iatropoulos Thu, 10 May 1990 06:40
NN over NNTP - need info about nnmaster's strange behaviour...
#352
Author: steve Steve Iatropoulos
Date: Thu, 10 May 1990 06:40
32 lines
2017 bytes

   Sorry if these questions have been addressed before but I have just begun
   reading this group.

   I have just installed nn running nntp.  It works quite nicely but 
   nnmaster is acting strange. 

   What I would like to know is what nnmaster really does over nntp
   anyway?  I tell nnmaster to rescan every 10 minutes (ie a -r flag 
   with no minutes specified; so the default takes effect),  but it seems
   that it only does the rescan over a much larger period of time (I havent
   been running it for long so I cant discern any pattern but its terms
   of hours (or may be days) hard to say yet.

   At 4:30 in the morning I have a cron process which does a 'nnadmin -EW'
   also - is this really necessary?

   The interesting thing is that I had to also physically touch the ACTIVE
   file in ../spool/nn in order to get nnadmin (and nnmaster also) going.


   Thanx in advance,
   Steve

.............................................................................
Steve Iatropoulos,	ACSnet:   steve@otto.bf.rmit.oz
Faculty of Biz,		UUCP:	  uunet!munnari!goanna!otto.bf.rmit.oz.au!steve
411 Swanston st,	Internet: steve@otto.bf.rmit.oz.au
    Melbourne, Oz, 3000		  Tel:	  +61 03 660 3469
    				  ICBM:	  37 48 S / 147 58 E
.............................................................................
Re: NN over NNTP - need info about nnmaster's strange behaviour...
#380
Author: Kim F. Storm
Date: Mon, 14 May 1990 09:51
35 lines
2332 bytes
steve@otto. (Steve Iatropoulos) writes:

>   What I would like to know is what nnmaster really does over nntp
>   anyway?  I tell nnmaster to rescan every 10 minutes (ie a -r flag 
>   with no minutes specified; so the default takes effect),  but it seems
>   that it only does the rescan over a much larger period of time (I havent
>   been running it for long so I cant discern any pattern but its terms
>   of hours (or may be days) hard to say yet.

It is quite simple:  nnmaster relies on the timestamp of the active file.
So what it does over NNTP is to emulate the existence of a local active file.
At the specified interval, it will make a temporary copy of the active file
using NNTPs LIST request; it will then compare this copy of the active file
with the "emulated" active file (ACTIVE), and only if they differ, the
temporary active file will replace the "emulated" active file, and thus
update the time stamp which is what the logic for detecting new articles relies
on.

>   At 4:30 in the morning I have a cron process which does a 'nnadmin -EW'
>   also - is this really necessary?

No, you should use =EW which will make it silent.

>   The interesting thing is that I had to also physically touch the ACTIVE
>   file in ../spool/nn in order to get nnadmin (and nnmaster also) going.

Yes that will get it going, but will it do anything?  The nnadmin EW will
cause nnmaster to ignore the time stamp on the ACTIVE file on the next scan,
so it is a bit strange that it doesn't work for you.


-- 
Kim F. Storm        storm@texas.dk        Tel +45 429 174 00
Texas Instruments, Marielundvej 46E, DK-2730 Herlev, Denmark
	  No news is good news, but nn is better!
Probs w/inews make, posting, patching nn6.4.0
#464
Author: hart
Date: Fri, 25 May 1990 12:25
51 lines
2298 bytes
Help!!

	Semi-literate sysadmin has installed nn6.4.  Works fine using nn to 
connect to the nntp server on site here.  However, three problems remain.

	1) inews won't compile.  I get:
		/usr/bin/ld:
		Undefined:
		gethostbyname
		getservbyname
		inet_addr
		inet_ntoa
		*** Error code 1
	   the source dir is /usr/people/hart/nn/inews.  nn was compiled and installed
		from the ~/nn dir.  Any ideas??

	2) nn won't allow me to post.  When I connect to the nntp server, I get the 
		message "ok posting allowed".  But, when I go to post, I edit the message,
		tell it to post, and I get "article not posted" on the bottom of the screen
		with mail to me with this info:
			To: hart
			Subject: post failed

			/usr/lib/nn/aux: /usr/lib/news/inews: cannot execute
			/usr/lib/news/inews failed

			Your response has been saved in ~/dead.letter
		Any ideas?  Are these problems related??

	3) How the ^%$&%#%&(& do you apply patches?  I've tried patch -p0 < nnpatch01; I
		get sh:patch: cmd not found.  
	   I've tried from nn.  I select the article; type :patch , hit return when it
		shows PATCH COMMAND:    patch -p0 ,
		at DIRECTORYL:          ~/nn 
		using the * marked article(s).
		I then get at the bottom of the screen a message with "patch:command not 
			found" (something to that effect - the news server is down right
				now).
	   Am I missing something or a piece of software???


Thanx much!!

Michael G. Hart
David Taylor Research Center
Bethesda, MD

ph (202) 227-1979

hart@blackjack.dt.navy.mil
mhart@dtoa1.dt.navy.mil
Re: Probs w/inews make, posting, patching nn6.4.0
#497
Author: Doug Walker
Date: Tue, 29 May 1990 18:12
23 lines
1477 bytes
In <2061@nems.dt.navy.mil> mhart@dtoa1.dt.navy.mil (hart) writes:

>Help!!

>	3) How do you apply patches?   [Rest deleted . . .]

>Michael G. Hart
>David Taylor Research Center
>Bethesda, MD

>ph (202) 227-1979

>hart@blackjack.dt.navy.mil
>mhart@dtoa1.dt.navy.mil

The program 'patch' must be in your PATH.  'patch' is not distributed with nn
and is a separate public domain program.  If it is not installed on your
system, you should be able to obtain it from whereever you obtained nn.
-- 
-----------------------------------------------------------------------------

Doug Walker                    uunet!fdls!dougw  -or-  dougw@fdls.uu.net
Oregon Department of Agriculture, Salem, Oregon           (503) 378-3790
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads