🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
6 messages
6 total messages Started by Clemens Zauner Fri, 11 Mar 2005 14:59
Beginners question: newsfeeds & INN 2.4.1
#70869
Author: Clemens Zauner
Date: Fri, 11 Mar 2005 14:59
19 lines
1523 bytes
Could somebody please give me a helpful pointer, Im somewhat
stuck; "problem" is as follows:

man newsfeeds tells about the possibility to declare variables
in the way:
	$LOCALGROUPS=local.*,example.*
but inncheck keeps complaining about an "malformed line";
first I thougt that it might have to do something with
multilines in the Form:
	$TESTGRP=!*\
		 at.*\
		(and so on)
But even with a "one-liner" the "malformed line" won't
go away.

Installed here ist INN 2.4.1 from the FreeBSD Ports-collection.

cu
	Clemens.
Re: Beginners question: newsfeeds & INN 2.4.1
#70870
Author: Paul Tomblin
Date: Fri, 11 Mar 2005 15:32
22 lines
1757 bytes
In a previous article, Clemens Zauner <czauner@silverserver.co.at> said:
>but inncheck keeps complaining about an "malformed line";
>first I thougt that it might have to do something with
>multilines in the Form:
>	$TESTGRP=!*\
>		 at.*\
>		(and so on)

It might have something to do with the fact that you're missing commas
between the group patterns.

>But even with a "one-liner" the "malformed line" won't
>go away.

Do you use the commas on the one-liner?


-- 
Paul Tomblin <ptomblin@xcski.com> http://xcski.com/blogs/pt/
If men are from Mars and women are from Venus, there's going to be one
big-ass fight over where to set the thermostat.
              -- Jim Rosenberg
Re: Beginners question: newsfeeds & INN 2.4.1
#70873
Author: Clemens Zauner
Date: Fri, 11 Mar 2005 17:59
29 lines
2012 bytes
Paul Tomblin <ptomblin+netnews@xcski.com> wrote:
>>but inncheck keeps complaining about an "malformed line";
>>first I thougt that it might have to do something with

>>multilines in the Form:
>>       $TESTGRP=!*\
>>                at.*\

Forget this example; i fucked this one up (commas)

> It might have something to do with the fact that you're missing commas
> between the group patterns.

Not in the "real" file, I didn't copy paste here, and forgot about the 
commas only  in the post.

> Do you use the commas on the one-liner?

Copy-paste-example:
...
$GIGGROUPS=!*,at.*,oesterreich.*,de.*,!de.alt.dateien.*
...
texta# bin/inncheck 
/usr/local/news/etc/newsfeeds:119: malformed line.

Line #119 is, according to vi the Line "$GIGGROUPS..."

cu
	Clemens.
Re: Beginners question: newsfeeds & INN 2.4.1
#70872
Author: Russ Allbery
Date: Fri, 11 Mar 2005 19:21
19 lines
1741 bytes
Clemens Zauner <czauner@silverserver.co.at> writes:

> Copy-paste-example:
> ...
> $GIGGROUPS=!*,at.*,oesterreich.*,de.*,!de.alt.dateien.*
> ...
> texta# bin/inncheck 
> /usr/local/news/etc/newsfeeds:119: malformed line.

> Line #119 is, according to vi the Line "$GIGGROUPS..."

inncheck doesn't understand variable settings in INN 2.4.1 (and .2).
Fixed in CVS; in the meantime, just ignore it.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Beginners question: newsfeeds & INN 2.4.1
#70881
Author: Clemens Zauner
Date: Fri, 11 Mar 2005 22:45
18 lines
1964 bytes
Russ Allbery <rra@stanford.edu> wrote:
> inncheck doesn't understand variable settings in INN 2.4.1 (and .2).
> Fixed in CVS; in the meantime, just ignore it.

Thank you. It started to maden me. But this arises a new question:

Is then there some way to check "what inn has read from newsfeeds"?
Like some sort of dump or the like, similar to innfeed.log - just
for verifying ones setup.
I checked for that (whilst I was playing with the variable declaraions)
but didn't find anythin useful. Something like "ctlinnd dump newsfeeds"
(and other files as well) - to display inn's interpretation of the file.

A side note to my "original problem": In the meantime I found that
"ctlinnd checkfile" reports by newsfeeds syntax as OK.

cu
	Clemens.
Re: Beginners question: newsfeeds & INN 2.4.1
#70876
Author: Russ Allbery
Date: Sat, 12 Mar 2005 01:23
21 lines
2173 bytes
Clemens Zauner <czauner@silverserver.co.at> writes:

> Is then there some way to check "what inn has read from newsfeeds"?
> Like some sort of dump or the like, similar to innfeed.log - just
> for verifying ones setup.

ctlinnd name '' will show you all of INN's open file descriptors and what
it's using them for, but it won't tell you what all is going into the
innfeed funnel.  There isn't a way to dump that right now, I'm afraid.

> A side note to my "original problem": In the meantime I found that
> "ctlinnd checkfile" reports by newsfeeds syntax as OK.

Yeah.  Similar checking mechanisms need to be written for all of the other
configuration files and then inncheck should be modified to just run them.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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