🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by sandie.hui Mon, 21 Dec 1998 00:00
Expire failed with "Can't initialise unified overview"
#33978
Author: sandie.hui
Date: Mon, 21 Dec 1998 00:00
26 lines
1789 bytes
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.

Please email a copy to my account.  Thanks a lot for your attention.

Sandie

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    

Re: Expire failed with "Can't initialise unified overview"
#34010
Author: 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 


Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads