snsend failing in POST?
Sonya Chang <[email protected]>
| Newsgroups | gmane.network.sn |
|---|---|
| Message-ID | <[email protected]> |
I apologize in advance for the newbie post, but I've read all the notes in the distribution (INSTALL*, FAQ, README) and am still stymied. I got everything up and apparently running under xinetd with a simple wrapper script. I can connect to the server and see my test group (local only), but posting fails. I did set POSTING_OK in the wrapper script (and I know the difference, since I tried unsetting POSTING_OK in the wrapper, and I got a different error). It appears to me that the final pipe to snsend -v in the POST script is failing with exit code 2. The news spool is completely owned and writeable by news:news, and xinetd runs snntpd as news:news. I've tried running snsend from the command line as root and also as news, and have been able to get articles added to the spool in both cases. My xinetd wrapper looks like this: #!/bin/sh PATH=/usr/local/sbin export PATH POSTING_OK=1 export POSTING_OK /usr/local/sbin/snntpd /usr/bin/logger -p news.info I've modified the end of the last block of the default POST script to read: } | snsend -v || fail "Unable to post to $postable ($?)" and I consistently get "Unable to post to test.group (2)" when I attempt to post. I've posting with pine from the local host and also Mozilla news remotely; both appear to fail in the same way. Any insights would be most appreciated... most of the sn installation setup was so much better than working with the behemoth that is innd that I would love to be able to continue using it. Thanks, Sonya