Article View: news.software.nntp
Article #31985Problems with running news.daily (INN Ver 2.1 on Solaris 2.6)
From: PSB Network
Date: Mon, 05 Oct 1998 00:00
Date: Mon, 05 Oct 1998 00:00
74 lines
3611 bytes
3611 bytes
Folks
We put the news server in production and it is working fine for the most
part. I can post and read news. I am having trouble expiring the artilces
(I think the problem is with news.daily). I run the following job through
cron everyday.
/usr/local/news/bin/news.daily expireover lowmark
The things that happen are as follows.
The files are stored properly in the following directories
"/usr/local/news/log/OLD" with the proper .gz extensions.I do not get any
e-mail even though I am configured as the newsmaster.
I do not see any expire.log. Also point to be noted is the the articles
started coming from Sept 26 and have a default expiry of 14 days.
When I ran the same command (/usr/local/news/bin/news.daily expireover
lowmark) manually at command line I see expire.log, expire.list and
expire.lowmark created under "/usr/local/news/log". But when the process
does exit out somehow the daemon "innd" dies. And I get the following
e-mail. What is unthrottle news? I think it cannot unthrottle news because
at that point "innd" has already died.? Am I coorect?
/news.daily_newblsnews: Cannot unthrottle news
Server status:
Can't send "mode" command (dead server failure) No such process.
Disk usage:
/usr/local (/dev/dsk/c1t2d0s5 ): 2639288 blocks 347873 files
Batch file sizes:
Log file sizes:
0 errlog 2 news 0 news.err 0 nntpsend.log
2 expire.log 0 news.crit 0 news.notice 2 unwanted.log
Lock files:
LOCK.news.daily LOCK.nntpsend
Server connections:
1 ()
TOTAL: 1 1
At this point the ownership of the history files under "/usr/local/news/db"
is changed to root, which has to be changed back to news. and the innd
daemon has to be started again as "news".
I have checked most of the logs (/var/adm/messages, /var/log/syslog,
/news.err, news.notice etc) but do not get any hint as to what is going
wrong.
Other than the operation of news.daily the news server is functioing fine.
No other problems.
The questions I have is
Why don't I get the e-mail when the job news.daily runs as cron? Also when
it runs as cron why the files "expire.list, expire.log, expire.lowmark" not
created?
Why is expire not functioing properly. (Articles have started coming from
Sep 26 and the default expiry date is 14 days as of today the period is not
over) but still I think it should go through the expire process realize
that there is no article for expiry and forward me the newsreport.
I know these questions are very general but would appreciate if anybody
could think of something and point me in the right direction. I am totally
puzzled by this.
Thanks for all your help, efforts and time. You can respond here or e-mail
me directly at (bhangui_s@bls.gov)
Sandeep
Technical Details
Message-ID:
<01bdf089$a0ce43a0$92248e92@bhangui-s-psb.psb.bls.gov>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-mailShow Full Headers
Complete Article Headers
Message-ID: <01bdf089$a0ce43a0$92248e92@bhangui-s-psb.psb.bls.gov> Subject: Problems with running news.daily (INN Ver 2.1 on Solaris 2.6) Date: Mon, 05 Oct 1998 00:00:00 +0000 From: "PSB Network" <bhangui_s@bls.gov> 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: 397985715 X-Complaints-To: usenet@blsnews.bls.gov X-Trace: dcgate.bls.gov 907610241 1038 146.142.36.146 (5 Oct 1998 17:57:21 GMT) Organization: Bureau of Labor Statistics NNTP-Posting-Date: 5 Oct 1998 17:57:21 GMT Newsgroups: news.software.nntp