🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #477

Re: nn 6.4.2 setup problems under SysV

#477
From: 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
Technical Details
Message-ID: <1990May27.144035.13127@daimi.dk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!daimi!datpete
References: <564@mtune.ATT.COM>

Show Full Headers
Complete Article Headers
Message-ID: <1990May27.144035.13127@daimi.dk>
Subject: Re: nn 6.4.2 setup problems under SysV
Date: Sun, 27 May 1990 14:40:35 +0000
From: datpete@daimi.dk (Peter Andersen)
References: <564@mtune.ATT.COM>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!sunic!dkuug!daimi!datpete
Newsgroups: news.software.nn
Sender: news@daimi.dk
Reply-To: datpete@daimi.dk
Organization: DAIMI: Computer Science Department, Aarhus University, Denmark
Lines: 27
Posted: Sun May 27 15:40:35 1990