Thread View: news.software.nntp
5 messages
5 total messages
Started by bthigonnet
Sun, 23 Aug 2015 18:31
Logging basic things so noodles like me can find their mistakes...
Author: bthigonnet
Date: Sun, 23 Aug 2015 18:31
Date: Sun, 23 Aug 2015 18:31
31 lines
2219 bytes
2219 bytes
Right now, it appears I have a running inn server (innd and innwatch are running). I have in the past set up a small private news server that worked quite well for my purposes. This time, on a new machine, any newsgroups I have created are invisible for subscription by my client which happens to be Thunderbird. I am sure that I have done something wrong, something so simple and wrong that it's trivial (even more trivial than any error which results from not reading the manual properly!). Nonetheless it doesn't work for me. 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 While I'm at it, why not ask for various levels of verbosity... 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. Bernard Higonnet
Re: Logging basic things so noodles like me can find their mistakes...
Author: 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)
Re: Logging basic things so noodles like me can find their mistakes...
Author: bthigonnet
Date: Fri, 28 Aug 2015 13:32
Date: Fri, 28 Aug 2015 13:32
94 lines
4455 bytes
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)
Re: Logging basic things so noodles like me can find their mistakes...
Author: Julien ÉLIE
Date: Fri, 28 Aug 2015 14:53
Date: Fri, 28 Aug 2015 14:53
19 lines
1929 bytes
1929 bytes
Hi Bernard, > Everything seems to be running now, thanks to your suggestions. All right; I'm glad posting now works fine. Incidentally, did you contact the FreeBSD maintainer as for the lack of history.dir after a fresh install? INN should run makedbz when first installed, so it is abnormal it did not run. Maybe it should explicitly be run by the FreeBSD postinst script. -- Julien ÉLIE « Vois-tu garçon, il faut battre le fer quand il est… ch… D'ailleurs, en règle générale, il faut tout battre avant que ça ne refroidisse ! » (Cétautomatix)
Re: Logging basic things so noodles like me can find their mistakes...
Author: bthigonnet
Date: Mon, 31 Aug 2015 07:19
Date: Mon, 31 Aug 2015 07:19
29 lines
2304 bytes
2304 bytes
On Friday, August 28, 2015 at 4:53:36 PM UTC+2, Julien ÉLIE wrote: > Hi Bernard, > > > Everything seems to be running now, thanks to your suggestions. > > All right; I'm glad posting now works fine. > > Incidentally, did you contact the FreeBSD maintainer as for the lack of > history.dir after a fresh install? INN should run makedbz when first > installed, so it is abnormal it did not run. Maybe it should explicitly > be run by the FreeBSD postinst script. > > -- > Julien ÉLIE > > << Vois-tu garçon, il faut battre le fer quand il est... ch... > D'ailleurs, en règle générale, il faut tout battre avant que ça ne > refroidisse ! >> (Cétautomatix) No, but I did so many things, many of them wrong (e.g. not reading documentation carefully and fully), that I don't have a clear idea of what I did so am very reluctant to send people off on a wild goose chase... Bernard Higonnet
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