Thread View: news.software.nntp
3 messages
3 total messages
Started by Mander Fabio
Wed, 19 Nov 1997 00:00
innd: SERVER cant ioctl(TIOCNOTTY) Inappropriate ioctl for device
Author: Mander Fabio
Date: Wed, 19 Nov 1997 00:00
Date: Wed, 19 Nov 1997 00:00
48 lines
2123 bytes
2123 bytes
[ 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. ]
----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 29
I need help,
after compiling inn-1.7, every time the server starts i get this message in
/var/adm/messages
I have also "traced" inndstart and here it is the important part:
open ("/var/news/etc/inn.conf", 0, 0666) = 5
ioctl (5, 0x40125401, 0xf7fffabc) = -1 ENOTTY (Inappropriate ioctl for device)
fstat (5, 0xf7fffb30) = 0
brk (0x47590) = 0
read (5, "## $Revision: 1.6 $\n## inn.con".., 8192) = 917
close (5) = 0
i'm using a sparc 5 with gcc version 1.42
SunOS hostname 4.1.3_U1 1 sun4m
Can anybody help me?
thanks .../Fabio
__
/ /\ Fabio Mander
/ /**\ Ericsson Telecomunicazioni SpA
/ /*/\*\ Via Anagnina, 203
/ /*/\ \*\ 00040 Roma ITALY
/ /*/ \ \*\
/ /_/____\ \*\ Tel +39 6 7258 2695 (Fax ext. 3407)
/__________\ \*\ Mobile +39 335 348627
\_____________\/ Memo EITA.TEIFAM e-mail teifam@tss.tei.ericsson.se
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: config.gz
X-Sun-Content-Lines: 0
Re: innd: SERVER cant ioctl(TIOCNOTTY) Inappropriate ioctl for device
Author: Per Hedeland
Date: Sun, 23 Nov 1997 00:00
Date: Sun, 23 Nov 1997 00:00
29 lines
1721 bytes
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
Re: innd: SERVER cant ioctl(TIOCNOTTY) Inappropriate ioctl for device
Author: Per Hedeland
Date: Sun, 23 Nov 1997 00:00
Date: Sun, 23 Nov 1997 00:00
15 lines
1191 bytes
1191 bytes
In article <9711191629.AA02566@fatx1c12.tei.ericsson.se>
teifam@tss.tei.ericsson.se (Mander Fabio) writes:
>i'm using a sparc 5 with gcc version 1.42
^^^^
Oops, didn't notice this little detail - that's almost certainly your
problem, that version is positively ancient, and most likely installed
long before your current OS (even though that is pretty ancient too:-).
Get the current version (2.7.2.3) and install it properly, and I bet the
problem will go away.
--Per Hedeland
per@erix.ericsson.se
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads