🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #53269

Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor

#53269
From: Alex Kiernan
Date: Fri, 13 Jul 2001 07:17
29 lines
2544 bytes
Roland Jesse <jesse@cs.uni-magdeburg.de> writes:

> Russ Allbery <rra@stanford.edu> writes:
> 
> > You need to ktrace -d inndstart instead, or otherwise it can't bind to the
> > network socket (which is what the RCreader error is about).
> 
> Both, "ktrace inndstart" and "ktrace -d inndstart" don't say much but
> only:
> 

`ktrace -d -i' possibly (I'm guessing from the man page)?

>  13330 ktrace   RET   ktrace 0
>  13330 ktrace   CALL  execve(0xbfbff31c,0xbfbff828,0xbfbff830)
>  13330 ktrace   NAMI  "/usr/local/news/bin/inndstart"
>  13330 ktrace   NAMI  "/usr/libexec/ld-elf.so.1"
> 
> That's not very verbose, though. Passing "-d" to inndstart prints out
> "Jul 12 13:28:59 innfeed[13409]: Storage manager initialization
> failed" but still fails to log more than the above.
> 

An alternate approach, change the port innd binds to in inn.conf (so
that the bind doesn't fail), then run innd directly as the news user.

-- 
Alex Kiernan, Principal Engineer, Development, Thus PLC
Technical Details
Message-ID: <72n1691ens.fsf@nd1.eng.demon.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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de> <72d776oicx.fsf@nd1.eng.demon.net> <0v3d82345g.fsf@cs.uni-magdeburg.de> <72k81epkm3.fsf@nd1.eng.demon.net> <0vae2av4c3.fsf@cs.uni-magdeburg.de> <ylk81efmwc.fsf@windlord.stanford.edu> <0vzoaatmvm.fsf@cs.uni-magdeburg.de>

Show Full Headers
Complete Article Headers
Message-ID: <72n1691ens.fsf@nd1.eng.demon.net>
Subject: Re: CNFSflushhead: write failed (-1 bytes): Bad file descriptor
Date: Fri, 13 Jul 2001 07:17:27 +0000
From: Alex Kiernan <alexk@demon.net>
References: <0vd77afhon.fsf@cs.uni-magdeburg.de> <20010709.220953.105575579.10056@franconews.org> <0vhewldsdz.fsf@cs.uni-magdeburg.de> <9ieom9$r3g$2@marduk.litech.org> <0vd778dexv.fsf@cs.uni-magdeburg.de> <yld778x0h0.fsf@windlord.stanford.edu> <72wv5ffve9.fsf@nd1.eng.demon.net> <0v4rsjmtll.fsf@cs.uni-magdeburg.de> <72d776oicx.fsf@nd1.eng.demon.net> <0v3d82345g.fsf@cs.uni-magdeburg.de> <72k81epkm3.fsf@nd1.eng.demon.net> <0vae2av4c3.fsf@cs.uni-magdeburg.de> <ylk81efmwc.fsf@windlord.stanford.edu> <0vzoaatmvm.fsf@cs.uni-magdeburg.de>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!skynet.be!dispose.news.demon.net!news.demon.co.uk!demon!nd1.eng.demon.net!not-for-mail
Newsgroups: news.software.nntp
Sender: alexk@nd1.eng.demon.net
NNTP-Posting-Host: nd1.eng.demon.net
X-NNTP-Posting-Host: nd1.eng.demon.net:194.217.90.2
X-Trace: news.demon.co.uk 995008647 nnrp-10:24645 NO-IDENT nd1.eng.demon.net:194.217.90.2
X-Complaints-To: abuse@demon.net
User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Lines: 28