Article View: news.software.nntp
Article #33664Re: [INN 2.2] Can't initialize new unified overview (mkII)
From: Thomas Schnider
Date: Wed, 09 Dec 1998 00:00
Date: Wed, 09 Dec 1998 00:00
134 lines
5538 bytes
5538 bytes
Forget what I mentioned. I tried this really and after that I could run expire
(before I coudn't), but nnrpd couldn't read the groups anymore. It is also
described so in the man page of overview.ctl:
...
The traditional overview database was written by an external
program overchan(8), but with the unified overview, this is
now done by innd(8). This is because the overview offset is
written into a token, which is stored as the 3rd field of
each history(5) entry. Overchan(5) is still needed to store
the overview index and will require an entry in the
newsfeeds(5) file. If the overview index is not created, the
articles will not be available through nnrpd(8).
Overview entries are now expired with the normal expire(8)
program and the overview index is expired with expirein-
dex(8)
...
Anyway I activated the overview line in newsfeeds again with a very small
change:
before
#overview!:*:Tc,Ao,WhR,S30000:/opt/news/bin/overchan
now
overview!:*:Tc,Ao,WhR:/opt/news/bin/overchan
I don't really know what the function of S30000 is. Unfortunatly expiring the
articles is still a problem. My cronjob entry looks as:
08 17 * * * /opt/news/bin/news.daily flags="-e -s -v1" delayrm expireover
lowmark
When I start the server here are the parameter outputs in news.notice:
Dec 9 16:37:58 newnews innd: SERVER descriptors 1024
Dec 9 16:37:58 newnews innd: SERVER outgoing 984
Dec 9 16:37:58 newnews innd: SERVER ccsetup control:40
Dec 9 16:37:58 newnews innd: SERVER lcsetup localconn:42
Dec 9 16:37:58 newnews innd: SERVER rcsetup remconn:5
Dec 9 16:37:58 newnews innd: overview! spawned overview!:45:proc:17919
Dec 9 16:37:58 newnews innd: news opened news:44:file
Dec 9 16:37:58 newnews innd: SERVER perl filtering enabled
Dec 9 16:37:58 newnews innd: SERVER starting
After running news.daily here are the (unsuccessful) outputs:
...
Reserved "Expiring process 18059" /*???? What is the meaning of this ???? */
...
/* "This appears only the first time after a restart of inn" */
Dec 9 13:13:12 newnews expire[16022]: OVER cant open new overview file: Too
many open files
...
/* As the "Reserved" Message appears this each time of a news.daily */
Expire messages:
expire begin Wed Dec 9 16:56:14 MET 1998: (-e -s -v1
-z/opt/news/log/expire.rm
-u/opt/news/log/expire.index.rm -Z/opt/news/log/expire.lowmark)
Can't reserve server
Removed approximately 0k
Article lines processed 0
Articles retained 0
Entries expired 0
Files unlinked 0
Old entries dropped 0
Old entries retained 0
expire end Wed Dec 9 16:56:14 MET 1998
all done Wed Dec 9 16:56:14 MET 1998
lowmarkrenumber begin Wed Dec 9 16:56:15 MET 1998:
(/opt/news/log/expire.lowmark)
lowmarkrenumber end Wed Dec 9 16:56:15 MET 1998
expireindex start Wed Dec 9 16:56:15 MET 1998
expireindex end Wed Dec 9 16:56:15 MET 1998
...
What for outputs do you have? May be we will find the failure together.
Thomas
---
Thomas Schnider wrote:
> Since I had the same problem just one day ago, today I figured out that I
> have to commend out in the newsfeeds configuration all the lines with
> overview. I believe to have understood this in the man pages of
> expire.ctl.
>
> I am using only timehash (INN 2.1) at the time and so there are
> storage.ctl and expire.ctl configured.
>
> You might be careful not loosing data when you're doing this. In my case I
> deleted all articles, overview and uniover entries and buildet with
> makehistory -o a new (clean) dbz. Then I started the news server from the
> beginning.
>
> The whole thing seems to work now, but nobody knows what's comming next?
>
> Regards
> Thomas
> -------------------------------
>
> Allan J�rgensen wrote:
>
> > As you might know, I'm trying to make my newsserver run expire, but
> > since I really really need to get on with the server, I'll try to give
> > you all posible details on the server.
> >
> > When I try to run expire, this is what I get:
> >
> > expire begin Tue Dec 8 15:50:13 MET 1998: (-c -e -n
> > -z/news/log/expire.rm -u/news/log/expire.index.rm
> > -Z/news/log/expire.lowmark)
> > Can't initialize new unified overview
> > expire end Tue Dec 8 15:50:18 MET 1998
> >
> > news.err:
> > OVER cant fdopen overview file: Error 0
> >
> > The spool is mixed cycbuffs and timehash.
> >
> > This setup have been running on both BSDi 3.1/4.0 and FreeBSD 2.2.7.
--
________________________________
Thomas Schnider
e-mail: tschnider@bluewin.ch
phone : +41-1-268 96 64
fax : +41-1-268 96 90
Technical Details
Message-ID:
<366EA20A.DBDD40B4@bluewin.ch>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<366D77E4.2B43C3E5@nowhere.dk> <366E8619.3A3E4A0@bluewin.ch>Show Full Headers
Complete Article Headers
Message-ID: <366EA20A.DBDD40B4@bluewin.ch> Subject: Re: [INN 2.2] Can't initialize new unified overview (mkII) Date: Wed, 09 Dec 1998 00:00:00 +0000 From: Thomas Schnider <tschnider@bluewin.ch> References: <366D77E4.2B43C3E5@nowhere.dk> <366E8619.3A3E4A0@bluewin.ch> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 420473919 Content-Transfer-Encoding: 8bit X-Accept-Language: en Content-Type: text/plain; charset=iso-8859-1 Organization: Swisscom AG, the blue window Mime-Version: 1.0 Newsgroups: news.software.nntp