Article View: news.software.nntp
Article #86914Re: Logging basic things so noodles like me can find their mistakes...
From: Julien ÉLIE
Date: Tue, 25 Aug 2015 19:16
Date: Tue, 25 Aug 2015 19:16
79 lines
3889 bytes
3889 bytes
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:
<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-mailReferences:
<b66e6fca-52b1-43a2-930b-9fc87e2e8043@googlegroups.com>Show Full Headers
Complete Article Headers
Message-ID: <mrieuv$8kg$1@news.trigofacile.com> Subject: Re: Logging basic things so noodles like me can find their mistakes... Date: Tue, 25 Aug 2015 21:16:46 +0200 From: Julien ÉLIE <iulius@nom-de-mon-site.com.invalid> References: <b66e6fca-52b1-43a2-930b-9fc87e2e8043@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 Newsgroups: news.software.nntp Organization: TrigoFACILE -- http://www.trigofacile.com/ Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Date: Tue, 25 Aug 2015 19:16:47 +0000 (UTC) Injection-Info: news.trigofacile.com; posting-account="julien"; posting-host="aaubervilliers-651-1-202-133.w83-114.abo.wanadoo.fr:83.114.33.133"; logging-data="8848"; mail-complaints-to="abuse@trigofacile.com" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 In-Reply-To: <b66e6fca-52b1-43a2-930b-9fc87e2e8043@googlegroups.com> X-Received-Body-CRC: 1120027840 X-Received-Bytes: 3887