🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #84028

Re: INN - What error is returned to the user when there is a syntax error in readers.conf?

#84028
From: Tim Fardell
Date: Thu, 05 May 2011 16:53
56 lines
3446 bytes
On Thu, 05 May 2011 11:44:23 -0500, "John F. Morse"
<john@example.invalid> wrote:

>Tim Fardell wrote:
>> On Thu, 05 May 2011 11:33:29 -0500, "John F. Morse"
>> <john@example.invalid> wrote:
>>   
>>> Tim Fardell wrote:
>>>     
>>>> Probably a silly question, but what error is returned to the
>>>> connecting client when INN encounters a syntax error in readers.conf? 
>>>>
>>>> The reason for the problem is logged in news.notice, but this doesn't
>>>> tell me what the user "sees" when this happens. 
>>>>
>>>> Thanks. 
>>>>       
>>> Perhaps it would be faster, and more accurate, for you to log in 
>>> yourself, and see what error you receive?
>>>     
>>
>> More accurate, possibly. Faster, unlikely as I won't have access to
>> the server again for a while. 
>>
>> Plus it's a live server and I don't want to deliberately muff up the
>> configuration just to find that out. 
>>   
>
>Well, if it is a "live" server, why can't you simply access it?

It's an internal server on a company's internal network - not
accessible from the Internet. 

>Try using telnet. That is not going to make any changes to any 
>configurations.
>
>Since you stated the problem is in readers.conf, then you can use any 
>newsreader. It will show what a user "sees" whereas a telnet session can 
>show a lot more than a user might see.
>
>Posting the news.notice error could be a big help.

Thanks for the advice, but I have already corrected the mistake in
readers.conf, so the server it no longer erroring - I'm just
interested to know what users hitting the error would have seen while
the problem existed. 

As mentioned, I don't have access to the server now, but the log
message was very good at explaining what the problem was and allowed
me to fix it promptly, but didn't tell me what error was returned to
the client. 

It was something along the lines of "Syntax error in readers.conf:
Unexpected token: <my-mistake>" or words to that effect. 
-- 
Please remove all-your-clothes before replying. 
Technical Details
Message-ID: <t5l5s6l1m981nplqrr9m0t7okfsteuftal@4ax.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
References: <cjj5s6984usueshbg7afbcoqjok5grd0aq@4ax.com> <ipujgp$p2k$3@n102.xanadu-bbs.net> <qgk5s6l7pe04846lj3dpgj8e4eajm6kgd0@4ax.com> <ipuk57$pck$1@n102.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <t5l5s6l1m981nplqrr9m0t7okfsteuftal@4ax.com>
Subject: Re: INN - What error is returned to the user when there is a syntax error in readers.conf?
Date: Thu, 05 May 2011 17:53:15 +0100
From: Tim Fardell <tim.fardell.all-your-clothes@virgin.net>
References: <cjj5s6984usueshbg7afbcoqjok5grd0aq@4ax.com> <ipujgp$p2k$3@n102.xanadu-bbs.net> <qgk5s6l7pe04846lj3dpgj8e4eajm6kgd0@4ax.com> <ipuk57$pck$1@n102.xanadu-bbs.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.20141118.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!postnews.google.com!news3.google.com!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!dedekind.zen.co.uk!zen.net.uk!hamilton.zen.co.uk!reader02.news.zen.co.uk.POSTED!not-for-mail
Newsgroups: news.software.nntp
X-Newsreader: Forte Agent 3.3/32.846
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 56
Organization: Zen Internet
NNTP-Posting-Host: 6a5e4c58.news.zen.co.uk
X-Trace: DXC=5jg`3i9ETYn6l^Oa0Ah_PgYjZGX^207Pk`<MJMoM3PFmlPm5lhYQVbbU]U^0dkcTjn2h4_\n4EaKj@1dn6n2C>2l
X-Complaints-To: abuse@zen.co.uk
X-Original-Bytes: 3233