🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by Admin Fri, 18 May 1990 13:20
nn 6.4.2 setup problems under SysV
#411
Author: Admin
Date: Fri, 18 May 1990 13:20
14 lines
1334 bytes
After building 6.4 with patches 1 & 2, and attempting to
initialize the system with the 'inst INIT' command, I
get the message 'The master is already running', though
there's no process shown.  Running nn itself gives me
the message 'Incomplete MASTER file'.  Any clues from
those in the know?  Thanks.

						Bob Halloran
=========================================================================
UUCP: att!mtune!rkh				Internet: rkh@mtune.dptg.att.com
Disclaimer: If you think AT&T would have ME as a spokesman, you're crazed.
Quote: "Remember, kids, if some weirdo in a blue suit offers you some DOS,
	   JUST SAY NO!!!" 
=========================================================================
Re: nn 6.4.2 setup problems under SysV
#466
Author: Dean Brooks
Date: Fri, 25 May 1990 16:21
21 lines
1349 bytes
root@mtune.ATT.COM (Admin) writes:

>After building 6.4 with patches 1 & 2, and attempting to
>initialize the system with the 'inst INIT' command, I
>get the message 'The master is already running', though
>there's no process shown.

The same problem occured to me; after careful investigation, I noticed
that the /usr/local/lib/nn (or whatever) directory no longer had write
permission by news (or whatever nnmaster is setuid to).  It incorrectly
gave a "master already running" error when it tried to create the MPID
file.

I don't know if this is the cause of your problem, but it was the cause
of mine...

--
dean@coplex.UUCP   Dean A. Brooks
                   Copper Electronics, Inc.
                   Louisville, Ky
UUCP: !uunet!coplex!dean
Re: nn 6.4.2 setup problems under SysV
#477
Author: Peter Andersen
Date: Sun, 27 May 1990 14:40
27 lines
1734 bytes
In <564@mtune.ATT.COM> root@mtune.ATT.COM (Admin) writes:

>After building 6.4 with patches 1 & 2, and attempting to
>initialize the system with the 'inst INIT' command, I
>get the message 'The master is already running', though
>there's no process shown.  Running nn itself gives me
>the message 'Incomplete MASTER file'.  Any clues from
>those in the know?  Thanks.

I had the same problem, and it showed up that this was caused by the fact that
MASTER_DIRECTORY was owned by root: Since nnmaster runs setuid OWNER, the call 
	proto_lock(I_AM_MASTER, PL_SET)
in master.c would return 1 -- the master couldn't open the MPID lock file.

So my problem was solved by changing the ownership of MASTER_DIRECTORY to 
OWNER.
If that doesn't help, look in proto_lock() in proto.c to see what can make 
proto_lock return a non-zero value.

(Actually this is stated explicitly in doc/PROBLEMS:
..
Specifically, nnmaster will report "nnmaster already running" if it
doesn't have write access to the MASTER_DIRECTORY.
..
)

Peter Andersen
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