🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #17781

Re: adding/removing newsgroups

#17781
From: Forrest J. Cavalier III
Date: Wed, 14 May 1997 00:00
59 lines
2500 bytes
In article <powers-1305970904230001@pc13.nwpacifica.net>, powers@nwpacifica.net 
wrote...
>
>Hi all,
>
>I'm running inn 1.5.1 on Linux 2.0.30, with these messages cropping up in
>errlog:
>
>>> Can't send "newgroup" command (sendto failure) Permission denied.
>>> Can't send "newgroup" command (sendto failure) Permission denied.
>>> Can't send "rmgroup" command (sendto failure) Permission denied.
>>> 
>
>Another news admin told me:
>
>>
>>I poked around our news source.  There are messages that look somewhat like
>>those quoted above generated in the inndcomm library.  This is a set of
>>routines that ctlinnd and other programs use to talk to innd while it's
>>running.  Were you trying to add or remove newsgroups while not running as
>>root?  That's about all I can think of...
>>
>
>And I said:
>
>Interesting.  No, it wasn't me that tried to add/remove groups, it was inn
>itself.  From what I understand, the adding/removing of newsgroups is
>fairly automated and is triggered by control messages sent downstream from
>higher up.  I'm using the stock control.ctl file with this addition:
>
>all:*@*.rain.net:*:doit=miscctl
>all:*@*.maxrnd.com:*:doit=miscctl
>
>I'm kind of stumped trying to track down the source of these error
>messages.  Any help would certainly be appreciated.
>

You are on the right track, but a bit confused about how INN
does addgroup/rmgroup....

Innd (the process) does not internally handle the control messages:
it spawns off the control scripts to do it.  And assuming everything
goes as planned, eventually ctlinnd is called, which talks to INN
using a control socket.

Check the permissions on the Unix Domain control socket (and
directories leading to it) that innd listens on
(_PATH_NEWSCONTROL, I believe.)

Good luck!

Forrest Cavalier, Mib Software
Searchable Hypertext docs on Usenet, INN, etc:
http://www.mibsoftware.com/userkt/forprov.htm



Technical Details
Message-ID: <5lccrp$i12$1@news1.epix.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
References: <powers-1305970904230001@pc13.nwpacifica.net>

Show Full Headers
Complete Article Headers
Message-ID: <5lccrp$i12$1@news1.epix.net>
Subject: Re: adding/removing newsgroups
Date: Wed, 14 May 1997 00:00:00 +0000
From: mibsoft@epix.net (Forrest J. Cavalier III)
References: <powers-1305970904230001@pc13.nwpacifica.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 241480524
Organization: Mib Software
Newsgroups: news.software.nntp