Article View: news.software.nntp
Article #52137Re: ctlinnd Return Codes
From: Russ Allbery
Date: Wed, 02 May 2001 22:04
Date: Wed, 02 May 2001 22:04
26 lines
2113 bytes
2113 bytes
Mike <msava@us.ibm.com> writes:
> I've been searching the web to try and find if there is a list of return
> codes/messages for using ctlinnd to create newgroups. I know that it
> returns "OK" if the group was created successfully, but what if it
> fails? Is there a rc list somewhere that we can use?
See the ctlinnd(8) man page:
In the normal mode of behavior, the message is sent to the server,
which then performs the requested action and sends back a reply with
a text message and the exit code for ctlinnd. If the server
successfully performed the command, ctlinnd will exit with a status
of zero and print the reply on standard output. If the server could
not perform the command (for example, it was told to remove a
newsgroup that does not exist), it will direct ctlinnd to exit with a
status of one. The ``shutdown,'' ``xabort,'' and ``xexec'' commands
do not generate a reply; ctlinnd will always exit silently with a
status of zero.
--
Russ Allbery (rra@stanford.edu) <http://www.eyrie.org/~eagle/>
Please post questions rather than mailing me directly.
<http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Technical Details
Message-ID:
<ylzocvxv9o.fsf@windlord.stanford.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!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mailReferences:
<3AF025DD.FAAFF629@us.ibm.com>Show Full Headers
Complete Article Headers
Message-ID: <ylzocvxv9o.fsf@windlord.stanford.edu> Subject: Re: ctlinnd Return Codes Date: Wed, 02 May 2001 22:04:35 +0000 From: Russ Allbery <rra@stanford.edu> References: <3AF025DD.FAAFF629@us.ibm.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!newsfeed.google.com!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail Newsgroups: news.software.nntp Organization: The Eyrie Lines: 25 NNTP-Posting-Host: windlord.stanford.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.Stanford.EDU 988841075 21103 171.64.13.23 (2 May 2001 22:04:35 GMT) X-Complaints-To: news@news.stanford.edu User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)