Trouble with Sn and Slrn

Georg Neis <[email protected]>
Newsgroups gmane.network.sn
Message-ID <[email protected]>
Hallo!

Debian Woody, Slrn 0.9.7.4, Sn 0.3.4a


Sn is started with inetd:

nntp    stream  tcp  nowait root    /usr/sbin/tcpd  /usr/sbin/snntpd


/usr/sbin/snntpd is the following shellscript:

#!/bin/sh
export POSTING_OK=1
exec /usr/sbin/snntpd.bin $@ 2>&1 | /usr/bin/logger -p news.info


First problem:
Slrn refuses to start - it hangs on 'connecting':

slrn 0.9.7.4 [2002-03-13]

Reading startup file /home/georg/.slrnrc.
Using newsrc file /home/georg/.jnewsrc for server localhost.
Connecting to host localhost ...


I found the reason for this problem: When I only use

exec /usr/sbin/snntpd.bin $@

in the script (instead of piping its output to logger) then slrn
starts successfully up. (So slrn needs this output?)


Second problem:
When I try to send a posting (composed in slrn) I get this error
message:

Error writing to server.
Posting not allowed. Failed post saved in
/home/georg/slrn-failed-post.txt

But: the posting lands in his right place in
/var/spool/news/.outgoing/[...] and is successfully sent with the next
'snget'.

I've found some postings about that problem via google and the most
important is from Patrik: <[email protected]>

So, it seems that I've "got stdout and stderr from snntpd mixed
together". I'm wondering where this happens!?


Gruß, Georg

P.S.  Is there an archiv and a FAQ of this mailing list?
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.