🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #26766

Re: inn-1.5.1 problems with Solaris 2.6

#26766
From: Chris Adams
Date: Wed, 11 Mar 1998 00:00
30 lines
1915 bytes
According to Forrest J. Cavalier III <mibsoft@mibsoftware.com>:
>I've always thought that error reporting and handling in INN could
>be greatly improved by including numeric error codes in addition
>to the text message.  This would allow a list error codes and
>appropriate solutions (and FAQ tie-ins) to be used.  For example,
>instead of:
>	Server throttled No space left on device writing logging article file
>
>You would have something like:
>	F10040.ENOSPC Server throttled No space left on device writing logging
>article file
>
>"F" for fatal/throttle, then a unique error code, and ENOSPC denotes the
>errno value.  The
>rest of the text would remain.
>
>....I'm wondering, what do other people think of this idea?

Another nice thing would be to use the C preprocessor defines __FILE__
and __LINE__ to include exactly where in INN the error came from.  For
some things (like really filling up the disk), it would be meaningless
but for things that someone is trying to debug it would be usefull.  A
#define wrapper for the error message functions is all that you need.
-- 
Chris Adams - cadams@ro.com
System Administrator - Renaissance Internet Services
I don't speak for anybody but myself - that's enough trouble.

Technical Details
Message-ID: <6e68pe$84$1@news.ro.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
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <35057FDE.2C6A9D24@domaintje.com> <6e5jin$4gb$1@mercur.foa.se> <6e63cp$slu$3@nntp.epix.net>

Show Full Headers
Complete Article Headers
Message-ID: <6e68pe$84$1@news.ro.com>
Subject: Re: inn-1.5.1 problems with Solaris 2.6
Date: Wed, 11 Mar 1998 00:00:00 +0000
From: cadams@ro.com (Chris Adams)
References: <6e3u1m$p4j$1@newsreader.wustl.edu> <35057FDE.2C6A9D24@domaintje.com> <6e5jin$4gb$1@mercur.foa.se> <6e63cp$slu$3@nntp.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
X-Deja-AN: 332989648
Distribution: inet
Organization: Renaissance Internet Services
Newsgroups: news.software.nntp