Article View: news.software.nntp
Article #79263Re: Status of NNTPCache?
From: Patrick Vervoorn
Date: Tue, 05 Aug 2008 13:38
Date: Tue, 05 Aug 2008 13:38
41 lines
2919 bytes
2919 bytes
In article <4898483a$0$49959$e4fe514c@news.xs4all.nl>,
Patrick Vervoorn <patrick.vervoorn@NOSPAM.perihelion.demon.nl> wrote:
>It's a mess. Does anyone here have a piece of code which extracts,
>cleanly, user, pass and host from a string "user:pass@host"?
Hmmkey, it seems I fixed the parsing by changing line 913 from:
if ((hostname = strrchr(password-2, '@')) != NULL) {
to
if ((hostname = strrchr(password, '@')) != NULL) {
The user, pass and hostname fields now come out ok, and it starts without
dumping core. However, I still cannot connect, I get:
Escape character is '^]'.
503 NNTPCache-3.0.2 Initial server rebuild in progress (0 groups complete,
at least 3000 groups to go. Please try again later. If you think this is
an error, get your news admin to check minGroups (in nntpcache.config),
nntpcache.servers and the nntpcache web-server output
Connection closed by foreign host.
The processes running are:
$ ps -ef | grep nntpc
vervoorn 21638 1 0 15:20 ? 00:00:00 nntpcache: waiting for connections
vervoorn 21639 21638 0 15:20 ? 00:00:00 nntpcache: watch: ready
vervoorn 21641 21638 1 15:20 ? 00:00:14 nntpcache: merging "active" <- newsreader85.eweka.nl
However, nothing seems to be happening with the 'merging' task.
Unfortunately, logging doesn't seem to work, so I can't see where things
go wrong now... How do I enable logging of nntpcached? I have the idea it
(tries to) log to syslog and/or auth.log, but since it's running non-root,
this won't happen. However, the logs don't seem to end up anywhere else
either. *sigh*
Regards, Patrick.
Technical Details
Message-ID:
<489857ee$0$49896$e4fe514c@news.xs4all.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mailReferences:
<48972169$0$49845$e4fe514c@news.xs4all.nl> <slrng9ec09.4qo.NOSPAM-seeMySig@msgid.cmeerw.org> <48973931$0$49839$e4fe514c@news.xs4all.nl> <4898483a$0$49959$e4fe514c@news.xs4all.nl>Show Full Headers
Complete Article Headers
Message-ID: <489857ee$0$49896$e4fe514c@news.xs4all.nl> Subject: Re: Status of NNTPCache? Date: Tue, 05 Aug 2008 13:38:54 +0000 From: Patrick Vervoorn <patrick.vervoorn@NOSPAM.perihelion.demon.nl> References: <48972169$0$49845$e4fe514c@news.xs4all.nl> <slrng9ec09.4qo.NOSPAM-seeMySig@msgid.cmeerw.org> <48973931$0$49839$e4fe514c@news.xs4all.nl> <4898483a$0$49959$e4fe514c@news.xs4all.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!club-internet.fr!feedme-small.clubint.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Newsgroups: news.software.nntp Organization: Patricks Home System, Hengelo, NL X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: vervoorn@perihelion.demon.nl (Patrick Vervoorn) Lines: 41 NNTP-Posting-Host: 82.161.61.59 X-Trace: 1217943534 news.xs4all.nl 49896 [::ffff:82.161.61.59]:17951 X-Complaints-To: abuse@xs4all.nl