I've been running a local newsgroup server for the lab I work in for the summer, and I am using innd. After finally getting it working, I ran into a really weird problem. I only recently discovered the source because I didn't realize that it was logging to /var/log/everything/current instead of /var/log/news/<whatever>. The problem is this: after the servers been running for a little while, it just stops responding. I use Thunderbird to read newsgroups (not that it really matters, it happens with every client). Any newsreader indicates that it is connected to the server, but it does nothing. If I telnet in, it connects then just drops me. Here's the message I see from syslog:
Code:
Jul 19 21:42:23 [innd] SERVER cant exec in pG__/lib/news/bin/nnrpd No such file or directory
If I restart the server, the problem goes away for a bit, then starts again. At first, I thought it was a connection limiting issue, but seeing as there's only about 7 people accessing the server, the default limit of 50 should be fine.
nnrpd is located at /usr/lib/news/bin/nnrpd. What does pG__ signify? Why is it looking there? (sometimes the two lettters 'pG' are something else, I think I saw 'dF' once)
Another problem I ran into is with attachments. In inn.conf, I set both
maxartsize and
localmaxartsize to 100000000. After restarting the server, it still complains that the max attach size is 1MB. Any ideas here? Is there a field I'm missing?
Lastly, I have a problem with authentication. Since a few members of the team are on DSL and cable, their IP addresses change dramatically every so often (69.* to 24.* -- don't ask me). So obviously, filtering connections by IP address does not work well. I used the example provided by readers.conf:
Code:
auth all {
auth: "/usr/lib/news/bin/auth/passwd/ckpasswd -d /usr/lib/news/db/newsusers"
# auth: "ckpasswd -s"
}
access full {
users: *
newsgroups: *
}
I actually removed the 'ckpasswd -s' line because I don't think it's completely necessary, plus from what I understand, the password sent aren't encrypted, so sending shell account passwords unencrypted isn't great. I've set up the password database using the script they provided (it's just for one user) and put it in /usr/lib/news/db. After I create a user/pw and try to authenticate, I can't. No errors from Thunderbird, it just keeps prompting me for the username and password.
Help on any of the above would be greatly appreciated.
Thanks,
Andrew