🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #34010

Re: Expire failed with "Can't initialise unified overview"

#34010
From: Forrest J. Cavalier III
Date: Tue, 22 Dec 1998 00:00
40 lines
2383 bytes
In article <75mk8v$vft$1@nnrp1.dejanews.com>, sandie.hui@telus.com wrote...
>
>Dear all,
>
>I have installed INN2.1 on a Solaris 2.6 machine.  I'm using CNFS and I need
>to expire the overview database and indexes on a daily basis.  The command I
>used for doing the expire is:
>
>/usr/local/news/news.daily expireover lowmark
>
>I issued the command at the command prompt.  Expire worked great.  However,
>once I put the command into crontab to be executed as news, news.daily
>complained "Can't initialise unified overview" and failed.
>
>What had happened?  I used /usr/bin/sh as the login shell for news.  I
>compared the settings and they are the same.  This is the strangest thing
>I've ever seen.  Anyone has any idea what's going on?  I suspect it's the
>problem with shell settings and I don't know what might go wrong.  It'd be
>greatly appreciated if someone can shed light on the problem.
>

As described at:
   http://www.mibsoftware.com/userkt/inn2.0/0070.htm

3. expireover will especially use a lot file descriptors, since many sites run
multiple unified overview files. expireover will open one for the old and one for the
new, for each separate uniover file.

Change the file descriptor limit with "ulimit -n" (or the equivalent version for your operating system.) Note that you
must do this in rc.news and news.daily. You cannot do it in .cshrc or .login
files, because those are not generally consulted when starting up rc.news or news.daily
from cron.

Forrest J. Cavalier III, Mib Software, INN customization and consulting 
'Pay-as-you-go' commercial support for INN: Only $64/hour! 
Searchable hypertext INN docs, FAQ, RFCs, etc: 650+ pages
   http://www.mibsoftware.com/innsup.htm 


Technical Details
Message-ID: <75o4hu$4n4$1@news1.epix.net>
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
References: <75mk8v$vft$1@nnrp1.dejanews.com>

Show Full Headers
Complete Article Headers
Message-ID: <75o4hu$4n4$1@news1.epix.net>
Subject: Re: Expire failed with "Can't initialise unified overview"
Date: Tue, 22 Dec 1998 00:00:00 +0000
From: mibsoft@mibsoftware.com (Forrest J. Cavalier III)
References: <75mk8v$vft$1@nnrp1.dejanews.com>
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: 424816552
Content-Type: Text/Plain; charset=US-ASCII
Organization: Mib Software
Mime-Version: 1.0
Newsgroups: news.software.nntp