Article View: news.software.nntp
Article #51167cnfsstat error
From: Russell Virgilio
Date: Tue, 13 Mar 2001 18:08
Date: Tue, 13 Mar 2001 18:08
27 lines
2434 bytes
2434 bytes
Has anyone seen the error below? The only problem I see is I was using /dev/zero as my if= and i had a divide by zero error in the cnfsstat program. I can trace the line number and it seems there are a couple of lines that $len is used as a dividend, but what happens when $len=0? This should be coded into cnfsstat I would think, does anyone have any suggestions as to how to rewrite cnfsstat so it doesn't crash when $len=0. Has anyone else encountered this problem. Can I use a different value for if=/dev/zero and still create the cycbuff files able to be initialized by inn? Am I diagnosing my problem accurately? Thanks for any and all help, I am most grateful to everyone on this newsgroup.... -Russell > It seems Solaris 2.8 with 64 bit will not accept >2Gig cycbuffs, so I have > remidied my own question. It seems I am still having errors though this > time inn sees the cycbuffs. This is the error I receive when I run > cnfsstat -c ONE, which corresponds to a partition created with this > command. > > dd if=/dev/zero of=/var/spool/news/cycbuffs/one bs=1k count=2097150 > > Illegal division by zero at /services/server/news/bin/cnfsstat line 289, > <STOR> chunk 81. > Buffer , size: 0.00 TBytes, position: 0.00 TBytes
Technical Details
Message-ID:
<3AAE623B.44EC8044@gatech.edu>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!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!sunqbc.risq.qc.ca!/services/server/news!GT-News!not-for-mailReferences:
<3AACFFA9.58F769D4@gatech.edu> <3AAD47C2.67E787F2@gatech.edu>Show Full Headers
Complete Article Headers
Message-ID: <3AAE623B.44EC8044@gatech.edu> Subject: cnfsstat error Date: Tue, 13 Mar 2001 13:08:59 -0500 From: Russell Virgilio <russ@gatech.edu> References: <3AACFFA9.58F769D4@gatech.edu> <3AAD47C2.67E787F2@gatech.edu> 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!supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!63.208.208.143!feed2.onemain.com!feed1.onemain.com!news-out.cwix.com!newsfeed.cwix.com!sunqbc.risq.qc.ca!/services/server/news!GT-News!not-for-mail Newsgroups: news.software.nntp Organization: Georgia Institute of Technology, Atlanta GA, USA Lines: 26 NNTP-Posting-Host: unknown@dedalus.ns.gatech.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news-int.gatech.edu 984506733 2998 128.61.2.38 (13 Mar 2001 18:05:33 GMT) X-Complaints-To: usenet@news.gatech.edu NNTP-Posting-Date: 13 Mar 2001 18:05:33 GMT X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.4.2 i686) X-Accept-Language: en