🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
10 messages
10 total messages Started by Raqueeb Hassan Tue, 16 Jul 2002 08:12
Newsx! need the simplest configuration, please.
#59581
Author: Raqueeb Hassan
Date: Tue, 16 Jul 2002 08:12
19 lines
1377 bytes
Hello There!

I was using "suck" for feeding my INND. It was great but takes little
more time over my costly slowest link :-(

As I heard Newsx is much faster for fewer groups, and I'm having ng
like comp.os.linux.* etc ... but the documentation is making me crazy.
It says lots on 'DOC_NEWSUSER' and all but no hope ....

Can anyone please tell me a single line command like suck does ...  

# suck news.myisp.com -E suck.error -dt . -dm . -dd . -c -br
suck.batch

Thanks in advance!

raqueeb hassan
bangladesh
Re: Newsx! need the simplest configuration, please.
#59583
Author: Thierry Thomas
Date: Tue, 16 Jul 2002 10:53
24 lines
1780 bytes
On 16 Jul 2002 01:12:00 -0700, Raqueeb Hassan wrote:
>  Hello There!

Hello!

>  Can anyone please tell me a single line command like suck does ...  
>  
>  # suck news.myisp.com -E suck.error -dt . -dm . -dd . -c -br
>  suck.batch

Try something like that:

#v+
#!/bin/sh
SERVEUR_DISTANT=news.your_isp.his_tld
newsx -ddd --stat /tmp/newsx.stat --inn -W40 --rnews entry_in_newsfeeds $SERVEUR_DISTANT >>/tmp/newsx.log 2>&1
#v-

If you do not need stat, you may remove --stat.

Your newsfeeds has just to be configured, and that's all.
-- 
Th. Thomas.
Re: Newsx! need the simplest configuration, please.
#59584
Author: Thierry Thomas
Date: Tue, 16 Jul 2002 16:06
8 lines
1449 bytes
On Tue, 16 Jul 2002 10:53:20 +0000 (UTC), Thierry Thomas wrote:
>  Your newsfeeds has just to be configured, and that's all.

And I have forgotten to add that the previous shell (or a the command
newsx) must be run by the user "news".
-- 
Th. Thomas.
Re: Newsx! need the simplest configuration, please.
#59586
Author: Raqueeb Hassan
Date: Wed, 17 Jul 2002 02:39
20 lines
1652 bytes
Thanks very much for the help. now, if you please *please* enlight me
some on ... these issues ...

>SERVEUR_DISTANT=news.your_isp.his_tld # is that news.myisp.net? do I
have to enter the option "hostname"?

newsx -ddd --stat /tmp/newsx.stat --inn -W40 # -w for special connect?
what sequence it will require for inn?

--rnews entry_in_newsfeeds # can you please tell me the sample entries
in /etc/news/newsfeeds? I got only the ME: and how to configure the
news.myisp.net in that file? I wonder if these news comes to
/spool/news/incoming, do I have to force rnews to upload to my
localhost INND?

Sorry to bother you, Thanks once again for the help.

raqueeb hassan
bangladesh
Re: Newsx! need the simplest configuration, please.
#59592
Author: Thierry Thomas
Date: Wed, 17 Jul 2002 15:17
33 lines
2398 bytes
On 16 Jul 2002 19:39:07 -0700, Raqueeb Hassan wrote:
> >SERVEUR_DISTANT=news.your_isp.his_tld # is that news.myisp.net? do I
>  have to enter the option "hostname"?

It is the server of your ISP. The option --hostname is only for profile
files, but on a command line you just have to give the hostname.

>  newsx -ddd --stat /tmp/newsx.stat --inn -W40 # -w for special connect?
>  what sequence it will require for inn?

-W is the window size (see `man newsx' for details); you have to try
some values to find the best for your case.

>  --rnews entry_in_newsfeeds # can you please tell me the sample entries
>  in /etc/news/newsfeeds? I got only the ME: and how to configure the
>  news.myisp.net in that file? I wonder if these news comes to
>  /spool/news/incoming, do I have to force rnews to upload to my
>  localhost INND?

That's the outgoing spool queue.
`man newsfeeds' will show you some examples. It's used to check your
groups.

You surely need something like that:

entry_in_newsfeeds/news.myisp.net,myisp.net\
       :comp.*,!alt.*,!junk,!control,!control.*/!local\
       :Tf,Wnm:

if you want the groups comp.* and do not want alt.*.
-- 
Th. Thomas.
Re: Newsx! need the simplest configuration, please.
#59597
Author: Raqueeb Hassan
Date: Thu, 18 Jul 2002 03:51
22 lines
1603 bytes
Thanks very much for the help. I just wanted to fetch articles from
those newsgroups specified in my active file. No outgoing feed is
required at this moment.

Well, I'm out of luck as the log says ..

state: begin
state: locking host access
newsx: can't create lock "/var/lock/news/L.1361": No such file or
directory
state: exit

my command line was ...

newsx -ddd --stat /tmp/newsx.stat --inn -W40 --rnews news.newsserv.net
>>/tmp/newsx.log 2>&1

maybe I've to go back to *suck* ....anyways .. thanks again.

raqueeb hasssan
bangladesh
Re: Newsx! need the simplest configuration, please.
#59599
Author: Thierry Thomas
Date: Thu, 18 Jul 2002 10:10
24 lines
2124 bytes
On 17 Jul 2002 20:51:20 -0700, Raqueeb Hassan wrote:
>  Well, I'm out of luck as the log says ..
>  
>  state: begin
>  state: locking host access
>  newsx: can't create lock "/var/lock/news/L.1361": No such file or
>  directory
>  state: exit
>  
>  my command line was ...
>  
>  newsx -ddd --stat /tmp/newsx.stat --inn -W40 --rnews news.newsserv.net
> >>/tmp/newsx.log 2>&1

Either you could give write permission on /var/lock/news to the user
news, either you could add the option --locks locksdir.

>  maybe I've to go back to *suck* ....anyways .. thanks again.

You don't have luck: usually suck is supposed to be more complicated
to set-up...
-- 
Th. Thomas.
Re: Newsx! need the simplest configuration, please.
#59618
Author: Raqueeb Hassan
Date: Sat, 20 Jul 2002 02:33
41 lines
2365 bytes
Thanks for the reply. Yes, why believing luck when unix like OS
running :-)

Now, my command line is ...
$ newsx -ddd --stat /tmp/newsx.stat --inn -W20 --continue --rnews
news.newsserv.net >>/tmp/newsx.log 2>&1

1. i used --continue for skipping outgoing posts as I don't have any.
2. i had to create /var/lock/news for user news, cause my INND uses
/var/lock/subsys/innd.
3. I had to create /var/spool/news/in.hosts/news.newsserv.net for
incoming spool.

now, my log says ....

newsx 1.3 Sat Jul 20 08:33:50 2002
server: news.newsserv.net, spool: news.newsserv.net
reading /etc/news/newsfeeds
reading /var/lib/news/active
newsx: can't open INN spool
"/var/spool/news/out.going/news.newsserv.net": No such file or
directory
outgoing spool is empty
connecting to nntp server at news.newsserv.net
<- 201 yellow.newsserv.net NNRP Service Ready - news@news.com (no
posting).
OK, but can't post
fetching news
no news is good news!
->QUIT
<- 205 Transferred 86 bytes in 0 articles, 0 groups.  Disconnecting.
posted 0, fetched 0 articles in 0 groups at 0 net cps

__________________
why no news when it comes to fetching? can you say whats going on?

thanks in advance.

raqueeb hassan
bangladesh
Re: Newsx! need the simplest configuration, please.
#59620
Author: Thierry Thomas
Date: Sat, 20 Jul 2002 07:04
36 lines
2603 bytes
On 19 Jul 2002 19:33:59 -0700, Raqueeb Hassan wrote:
>  now, my log says ....
>  
>  newsx 1.3 Sat Jul 20 08:33:50 2002

Don't you run a 1.4 version? (the last one is newsx 1.4pl6, and there is
a security patch to upgrade to newsx 1.4pl8)

newsx 1.3 does not understand the new storage formats of inn, and you'll
be unable to post.

>  server: news.newsserv.net, spool: news.newsserv.net
>  reading /etc/news/newsfeeds
>  reading /var/lib/news/active
>  newsx: can't open INN spool
>  "/var/spool/news/out.going/news.newsserv.net": No such file or
>  directory

Just `touch /var/spool/news/out.going/news.newsserv.net' and
`chown news:news /var/spool/news/out.going/news.newsserv.net'

>  outgoing spool is empty
>  connecting to nntp server at news.newsserv.net
> <- 201 yellow.newsserv.net NNRP Service Ready - news@news.com (no
>  posting).
>  OK, but can't post
>  fetching news
>  no news is good news!
>  ->QUIT
> <- 205 Transferred 86 bytes in 0 articles, 0 groups.  Disconnecting.
>  posted 0, fetched 0 articles in 0 groups at 0 net cps

Is there any group defined in your active file (ctlinnd newgroup)?
-- 
Th. Thomas.
Re: Newsx! need the simplest configuration, please.
#59623
Author: Raqueeb Hassan
Date: Sun, 21 Jul 2002 14:14
39 lines
2436 bytes
> newsx 1.3 does not understand the new storage formats of inn, and you'll
> be unable to post.

i got that rpm ..... well, i need to get the sorces ... i'll download
soon.

> Just `touch /var/spool/news/out.going/news.newsserv.net' and
> `chown news:news /var/spool/news/out.going/news.newsserv.net'
> 

basically i poll news from a free news server which doesn't support
any posting. Actually, I couldn't find any which carries atleast most
of the groups.
So, I figured out, I'm okay with no posting, so, I was not bothered
about the outgoing spool. I'll make it now.

> Is there any group defined in your active file (ctlinnd newgroup)?

yes, I have .....

[root@dhaka /root]# cat /var/lib/news/active
control 0000000002 0000000001 n
control.cancel 0000000000 0000000001 n
control.checkgroups 0000000000 0000000001 n
control.newgroup 0000000000 0000000001 n
control.rmgroup 0000000000 0000000001 n
junk 0000000000 0000000001 n
comp.os.linux.networking 0000000004 0000000001 y
news.software.nntp 0000000000 0000000001 y
soc.culture.bangladesh 0000000000 0000000001 y
comp.unix.solaris 0000000000 0000000001 y

thanks for the help.

sincerely,

raqueeb hassan
bangladesh
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