Thread View: news.software.nntp
9 messages
9 total messages
Started by kocurek
Fri, 14 Jun 2002 17:14
INN + newsx
Author: kocurek
Date: Fri, 14 Jun 2002 17:14
Date: Fri, 14 Jun 2002 17:14
82 lines
3988 bytes
3988 bytes
Hi!
I just installed INN on my machine. Now I have a local newsserver :-)
To fetch news to this local server I use newsx
(http://www.kvaleberg.com/newsx.html).
The problem is with posting to the remote server.
in newsx's README file I can read:
newsx relies on the configuration file already
present in your news spool. This conveniently coordinates the
actions of the outbound stream prepared by the news server itself
with the inbound stream handled by newsx.
2. Ensure that an outgoing batch has been configured in
`/etc/news/newsfeeds'. If the NNTP host is named `news.acme.net',
a minimum configuration might be:
ME:::
acme/newsx:*,!junk*,!control*:Tf,Wf:
So in my /etc/news/newsfeeds I have:
### My newsfeeds file ###
ME\
:*,@alt.binaries.warez.*,!junk,!control*,!local*,!foo.*\
/pl,world,usa,na,gnu,bionet,pubnet,u3b,eunet,vmsnet,inet,ddn,k12\
::
# Use an external program to handle control messages, except cancel
controlchan!\
:!*,control,control.*,!control.cancel\
:Tc,Wnsm:/usr/bin/controlchan
tpi/news.tpi.pl:*,!junk*,!control*,!to*,!test*:Tf,Wf:
### End of file ###
Where "news.tpi.pl" is a remote newsserver which I can read and post to.
After posting I can see that post in my local newsserver (group pl.test):
### Sample post ###
Path: localhost!not-for-mail
From: Jacek Wojaczy�ski <kocurek@kocurek.eu.org>
Newsgroups: pl.test
Subject: Test
Date: Fri, 14 Jun 2002 17:01:38 +0000 (UTC)
Organization: Hard Core Slrn-pl User
Lines: 1
Message-ID: <slrn.pl.agk8bi.bvj.kocurek@kocurek.eu.org>
NNTP-Posting-Host: 127.0.0.1
X-Trace: kocurek.eu.org 1024074098 12287 127.0.0.1 (14 Jun 2002 17:01:38 GMT)
X-Complaints-To: abuse@kocurek.eu.org
NNTP-Posting-Date: Fri, 14 Jun 2002 17:01:38 +0000 (UTC)
X-Licznik: 6
User-Agent: slrn/0.9.7.4 (pl-1.4.3) (Linux/2.2.20 (i586))
Xref: localhost pl.test:1055
Test.
### End of sample post ###
After posting I can see in file /var/spool/news/outgoing/tpi sth like this:
@03014F4E450000000000000038FA00000001@
... but the post is not sent out to remote server (news.tpi.pl).
When newsx tries to send outgoing spool I get sth like this:
connecting to nntp server at news.tpi.pl
OK, can post
newsx: can't initialize storage-API: Storage-API not available
fetching news
...............
omitted 0 articles already in spool, 3 as crossposts
posted 0, fetched 1106 articles in 9 groups at 8244 net cps
[news@kocurek outgoing]$
What am I doing wrong? Help!
--
/\_/\ Unable to locate Beer -- Operator Halted!
(~o o~)
)'Y'( __________________________________________________________________
( ) / *kocurek* Jacek Wojaczynski \
Re: INN + newsx
Author: Thierry Thomas
Date: Fri, 14 Jun 2002 17:48
Date: Fri, 14 Jun 2002 17:48
18 lines
1673 bytes
1673 bytes
On Fri, 14 Jun 2002 17:14:32 +0000 (UTC), kocurek wrote: > connecting to nntp server at news.tpi.pl > OK, can post > newsx: can't initialize storage-API: Storage-API not available > fetching news > ............... > omitted 0 articles already in spool, 3 as crossposts > posted 0, fetched 1106 articles in 9 groups at 8244 net cps > [news@kocurek outgoing]$ > > What am I doing wrong? Help! You are using v. 1.4pl6, don't you? Check your configure.log, it probably did find libinn.a (a lib coming with inn). In that case, re-run configure with '--with-newslib=the_good_path'. -- Th. Thomas.
Re: INN + newsx
Author: Thierry Thomas
Date: Fri, 14 Jun 2002 18:42
Date: Fri, 14 Jun 2002 18:42
18 lines
1784 bytes
1784 bytes
On Fri, 14 Jun 2002 17:14:32 +0000 (UTC), kocurek wrote: > connecting to nntp server at news.tpi.pl > OK, can post > newsx: can't initialize storage-API: Storage-API not available > fetching news > ............... > omitted 0 articles already in spool, 3 as crossposts > posted 0, fetched 1106 articles in 9 groups at 8244 net cps > [news@kocurek outgoing]$ > > What am I doing wrong? Help! You are using v. 1.4pl6, are't you? Check your configure.log, it probably did find libinn.a (a lib coming with inn). In that case, re-run configure with '--with-newslib=the_good_path'. -- Th. Thomas.
Re: INN + newsx
Author: Thierry Thomas
Date: Fri, 14 Jun 2002 18:45
Date: Fri, 14 Jun 2002 18:45
18 lines
1783 bytes
1783 bytes
On Fri, 14 Jun 2002 17:14:32 +0000 (UTC), kocurek wrote: > connecting to nntp server at news.tpi.pl > OK, can post > newsx: can't initialize storage-API: Storage-API not available > fetching news > ............... > omitted 0 articles already in spool, 3 as crossposts > posted 0, fetched 1106 articles in 9 groups at 8244 net cps > [news@kocurek outgoing]$ > > What am I doing wrong? Help! You are using v. 1.4pl6, are not you? Check your configure.log, it probably did not find libinn.a (a lib coming with inn). In that case, re-run configure with '--with-newslib=the_good_path'. -- Th. Thomas.
Re: INN + newsx
Author: kocurek
Date: Sat, 15 Jun 2002 16:47
Date: Sat, 15 Jun 2002 16:47
32 lines
2130 bytes
2130 bytes
Thierry Thomas wrote: > You are using v. 1.4pl6, don't you? Yes. Exactly. > Check your configure.log, it > probably did find libinn.a (a lib coming with inn). I re-run ./configure and it said: NOTE: Could not find a libinn This might create problems for INN 2.x > In that case, re-run > configure with '--with-newslib=the_good_path'. I re-run ./configure, recompiled it... and I have: connecting to nntp server at news.tpi.pl OK, can post newsx: can't initialize storage-API: Storage-API not available fetching news .......... posted 0, fetched 10 articles in 9 groups at 6760 net cps -- /\_/\ CCITT- Can't Conceive Intelligent Thoughts Today (~o o~) )'Y'( __________________________________________________________________ ( ) / *kocurek* Jacek Wojaczynski \
Re: INN + newsx
Author: Thierry Thomas
Date: Sat, 15 Jun 2002 20:13
Date: Sat, 15 Jun 2002 20:13
14 lines
1647 bytes
1647 bytes
On Sat, 15 Jun 2002 16:47:03 +0000 (UTC), kocurek wrote: > > In that case, re-run > > configure with '--with-newslib=the_good_path'. > > I re-run ./configure, recompiled it... and I have: > > connecting to nntp server at news.tpi.pl > OK, can post > newsx: can't initialize storage-API: Storage-API not available What does return 'grep storage config.status'? -- Th. Thomas.
Re: INN + newsx
Author: kocurek
Date: Sun, 16 Jun 2002 14:36
Date: Sun, 16 Jun 2002 14:36
14 lines
1780 bytes
1780 bytes
Thierry Thomas wrote: >> newsx: can't initialize storage-API: Storage-API not available > What does return 'grep storage config.status'? # grep storage config.status s%@MORELIBS@% -L/usr/lib ../dbz/libdbzv3.a -linn ../lib/libstorage.a%g -- /\_/\ Uh, yeah...I MEANT to do that! (~o o~) )'Y'( __________________________________________________________________ ( ) / *kocurek* Jacek Wojaczynski \
Re: INN + newsx
Author: Thierry Thomas
Date: Mon, 17 Jun 2002 21:54
Date: Mon, 17 Jun 2002 21:54
14 lines
1697 bytes
1697 bytes
On Sun, 16 Jun 2002 14:36:14 +0000 (UTC), kocurek wrote: > >> newsx: can't initialize storage-API: Storage-API not available > > What does return 'grep storage config.status'? > > # grep storage config.status > s%@MORELIBS@% -L/usr/lib ../dbz/libdbzv3.a -linn ../lib/libstorage.a%g And do you find libstorage.a and libinn.a under /usr/lib? If not, you'll have to pass some parameters to configure in order to change this -L/usr/lib (see ./configure --help). -- Th. Thomas.
Re: INN + newsx
Author: kocurek
Date: Mon, 17 Jun 2002 22:44
Date: Mon, 17 Jun 2002 22:44
18 lines
2045 bytes
2045 bytes
Thierry Thomas wrote: >> >> newsx: can't initialize storage-API: Storage-API not available >> > What does return 'grep storage config.status'? >> # grep storage config.status >> s%@MORELIBS@% -L/usr/lib ../dbz/libdbzv3.a -linn ../lib/libstorage.a%g > And do you find libstorage.a and libinn.a under /usr/lib? Yes. I think I'll give up... PS. Can suck fetch/post news from/through multiple servers? -- /\_/\ "An argument's not just contradiction!" "Yes it is." (~o o~) )'Y'( __________________________________________________________________ ( ) / *kocurek* Jacek Wojaczynski \
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