🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #23548

Re: innd: SERVER cant ioctl(TIOCNOTTY) Inappropriate ioctl for device

#23548
From: Per Hedeland
Date: Sun, 23 Nov 1997 00:00
29 lines
1721 bytes
In article <9711191629.AA02566@fatx1c12.tei.ericsson.se>
teifam@tss.tei.ericsson.se (Mander Fabio) writes:
>[ Note: This question was sent to inn-questions@pilhuhn.de and is posted ]
>[       here, so that someone will see and answer it. Please email your  ]
>[       answer to the original author in addition to posting it.         ]

OK.:-)

>after compiling inn-1.7, every time the server starts i get this message in 
>/var/adm/messages

Very strange, if you're really running SunOS 4.x - the only thing that
comes to mind is that your /dev/tty device node might be corrupt - an
'ls -l /dev/tty' should look like this:

crw-rw-rw-  1 root       2,   0 Nov 18 13:50 /dev/tty

>I have also "traced" inndstart and here it is the important part:

Actually no, that part is perfectly normal (it's stdio checking to see
if the file opened is a terminal) - the TIOCNOTTY ioctl would be done
after an open() of /dev/tty; you won't be able to see that with SunOS 4
"trace" though, as it happens in a forked child process.

--Per Hedeland
per@erix.ericsson.se

Technical Details
Message-ID: <65a4oj$l8l$1@news.du.etx.ericsson.se>
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: <9711191629.AA02566@fatx1c12.tei.ericsson.se>

Show Full Headers
Complete Article Headers
Message-ID: <65a4oj$l8l$1@news.du.etx.ericsson.se>
Subject: Re: innd: SERVER cant ioctl(TIOCNOTTY) Inappropriate ioctl for device
Date: Sun, 23 Nov 1997 00:00:00 +0000
From: per@erix.ericsson.se (Per Hedeland)
References: <9711191629.AA02566@fatx1c12.tei.ericsson.se>
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: 291909648
Organization: Ericsson Telecom, Stockholm, Sweden
NNTP-Posting-User: per
Newsgroups: news.software.nntp