🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #86917

Re: Logging basic things so noodles like me can find their mistakes...

#86917
From: bthigonnet
Date: Fri, 28 Aug 2015 13:32
94 lines
4455 bytes
Everything seems to be running now, thanks to your suggestions.

Not quite sure because I was flailing about doing lots of changes, but I think the problem was that I had not provided the "server" parameter in inn.conf.

Thanks
Bernard Higonnet

On Tuesday, August 25, 2015 at 9:16:47 PM UTC+2, Julien ÉLIE wrote:
> Bonsoir Bernard,
> 
> > Right now, it appears I have a running inn server (innd and innwatch
> > are running).
> 
> Good to know!
> 
> 
> > This time, on a new machine, any newsgroups I have created are
> > invisible for subscription by my client which happens to be
> > Thunderbird.
> > At the risk of exposing myself to ridicule (in the event it exists),
> > I have been unable to find or generate any kind of log that would say
> > 
> > 112 user Schmuck IP ww.ww.ww.ww connected at xx:zz
> > 113 newsgroup list requested by Schmuck 
> > 114 unable to communicate with Schmuck
> > ..
> > ..
> > ..
> > 199 disconnecting from Schmuck
> 
> You should normally see lines like the following ones in news.notice:
> 
> Aug 25 21:04:51 news nnrpd[8082]: localhost.localdomain (127.0.0.1) connect - port 119
> Aug 25 21:04:58 news nnrpd[8082]: localhost.localdomain group fr.test 0
> Aug 25 21:04:58 news nnrpd[8082]: localhost.localdomain times user 0.032 system 0.008 idle 0.000 elapsed 6.329
> Aug 25 21:04:58 news nnrpd[8082]: localhost.localdomain time 6331 idle 6323(2) nntpwrite 0(5) 
> 
> 
> I have just generated them with:
> 
>   telnet news.trigofacile.com 119
>   MODE READER
>   GROUP fr.test
>   QUIT
> 
> 
> If you don't see such lines with a telnet command against
> your news server, then something is probably misconfigured
> in your syslog setting for the news facility.
> 
> 
> 
> > While I'm at it, why not ask for various levels of verbosity...
> 
> There already are various levels of verbosity.  Three log files are commonly
> generated by INN:  news.crit, news.err and news.notice.
> 
> Besides, if you run "nnrpd -t", you will enable the trace mode.
> For that, I usually set "-t" to the nnrpdflags parameter of inn.conf.
> I have configured syslog to put that level of verbosity in news.debug.
> 
> 
> 
> > I do realize that news servers are installed by professional
> > sysadmins usually and that there would be a sense of talking down to
> > them, but still it would be nice.
> 
> In case it could help, here are two great French documentation to set
> INN up:
>     http://usenet-fr.redatomik.org/view/Installer_et_configurer_un_serveur_de_nouvelles
>     http://www.linux-france.org/article/usenet/jaco/
> 
> Maybe you will find useful stuff in these pages.
> Note that you also have the French newsgroup fr.comp.usenet.serveurs
> dedicated to news servers, if you prefer writing in French.
> 
> 
> Incidentally, what's the contents of your readers.conf file?
> 
> -- 
> Julien ÉLIE
> 
> « Given a choice between fixing a small bug that affects something
>   deep down in the guts, or making some flashy ui change that nobody
>   wants, most bug fixers will choose the flash. » (Tomblin's Law)

Technical Details
Message-ID: <a71c633c-c8df-43f3-9bcd-a157428b74cc@googlegroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
References: <b66e6fca-52b1-43a2-930b-9fc87e2e8043@googlegroups.com> <mrieuv$8kg$1@news.trigofacile.com>

Show Full Headers
Complete Article Headers
Message-ID: <a71c633c-c8df-43f3-9bcd-a157428b74cc@googlegroups.com>
Subject: Re: Logging basic things so noodles like me can find their mistakes...
Date: Fri, 28 Aug 2015 13:32:20 +0000
From: bthigonnet@gmail.com
References: <b66e6fca-52b1-43a2-930b-9fc87e2e8043@googlegroups.com> <mrieuv$8kg$1@news.trigofacile.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.(19219).mbox.7z!not-for-mail
X-Received: by 10.182.240.202 with SMTP id wc10mr10811117obc.9.1440768741248;
X-Received: by 10.182.120.106 with SMTP id lb10mr157975obb.19.1440768741224;
Newsgroups: news.software.nntp
In-Reply-To: <mrieuv$8kg$1@news.trigofacile.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.22.101.184;
 posting-account=DNGudAoAAACRGOGCDV_orQUxn_zgHEzA
NNTP-Posting-Host: 90.22.101.184
User-Agent: G2/1.0
MIME-Version: 1.0
Injection-Date: Fri, 28 Aug 2015 13:32:21 +0000
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Received-Body-CRC: 4022187226
X-Received-Bytes: 4529