Re: Subject: sn local server: at wits end, bypass?

[email protected]
Newsgroups gmane.network.sn
Message-ID <[email protected]>
On 10:22 Sat 22 Jan     , Patrik R?dman wrote:
> [email protected] <[email protected]> wrote:
> >         I have sn partially running.  I can get on line and fetch the
> > news from my ISP's new server.  This works.
> >         Reading the news locally is the problem.  Running the "daemon"
> > as per the sn docs is not working so I want to fall back to a cruder
> > approach but I don't know how.
> >         Here is the cruder appraoch:
> > 
> >  1) open shell/term window 1.  run a local news server.
> 
> Well, making the daemon run properly would be a better solution, but if
> you want to do it this way, here's a oneliner:
> 
> env - POSTING_OK=1 PATH=/home/patrik/sbin:$PATH tcpserver -vRl0 0 119 snntpd
> 
> Modify the path as appropriate... If you don't have tcpserver, faucet also
> works:
> 
> env - POSTING_OK=1 PATH=/home/patrik/sbin:$PATH faucet 119 -io snntpd
> 
> -- 
> Patrik R?dman
> patrik at iki dot fi
> http://www.iki.fi/patrik/

	Thank you for the reply.  Also forgive me if this is a
duplicate posting (I'm having lots of problems in linux with
mail and news posting.  It's kinda random.  Also the sn mail
list server kicked a message back to me for no clear reason).
	I found another solution and I thought I would post
it here for interest of future newbies, etc.
	What I ended up doing was more reading of the xinetd
manual.  See, the real problem here is that the sn
documentation tells you how to set up the sn news server
using inetd.  The particular version of linux that I am
running uses xinetd instead of inetd.  The syntax and file
structure of xinetd is very different from inetd.  Hidden
deep in the depths of the man page for xinetd was an option
to have it read an old-style inetd file in additon to its
usual files.  Once I got that to work, I was then able to
follow the sn docs and get the sn local news server
working!  Yay!
	

--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.