🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
2 messages
2 total messages Started by Stig Sandbeck Mathisen Fri, 20 Mar 1998 00:00
innd 1.7.2+insync1d and psychotic system calls.
#27047
Author: Stig Sandbeck Mathisen
Date: Fri, 20 Mar 1998 00:00
71 lines
3390 bytes

Innd does some psychotic system calls (fstat(-1 [...])), then exits as
if nothing had happened.

The box is an ultra 1 running solaris 2.6, newly installed.

The server is inn 1.7.2 downloaded from insync.  Stock 1.7.2
downloaded from ISC also gives me the same error.

I've tried using the sample config for solaris from inn 1.7.2, and
from 1.5.1.  nnrpd starts perfectly, it's just innd that won't start.
I did a truss, and the relevant (?) things is included here.

Have anyone experienced this, and does anyone have a pointer to where
the error may be?



readme$ su root -c "truss ./inndstart -r -i0"
Password: 
execve("./inndstart", 0xEFFFFE18, 0xEFFFFE28)  argc = 3
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 3

 [snip loading libraries]

munmap(0xEF7A0000, 8192)                        = 0
brk(0x000216C8)                                 = 0
brk(0x000236C8)                                 = 0
fstat(-1, 0xEFFFF700)                           Err#9 EBADF
open("/dev/conslog", O_WRONLY)                  = 3

 [snip stat the 'run'-directory, and SUID/SGID]
 
 [snip open more libraries]

munmap(0xEF720000, 8192)                        = 0
brk(0x00151E00)                                 = 0
brk(0x00152000)                                 = 0
brk(0x00152800)                                 = 0
brk(0x00152800)                                 = 0
brk(0x00153000)                                 = 0
brk(0x00153000)                                 = 0
brk(0x00153800)                                 = 0
fstat(-1, 0xEFFFFBD0)                           Err#9 EBADF
open("/dev/conslog", O_WRONLY)                  = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
fstat(3, 0xEFFFFBD0)                            = 0
chdir("/local/news/servers/readme/spool/articles") = 0
open("/local/news/servers/readme/etc/inn.conf", O_RDONLY) = 5
fstat64(5, 0xEFFFFA80)                          = 0
brk(0x00153800)                                 = 0
brk(0x00157800)                                 = 0
ioctl(5, TCGETA, 0xEFFFFA0C)                    Err#25 ENOTTY
read(5, " # #     $ R e v i s i o".., 8192)     = 838
llseek(5, 0xFFFFFFFFFFFFFFE6, SEEK_CUR)         = 812
close(5)                                        = 0
open("/dev/null", O_RDWR)                       = 5
fcntl(5, F_DUP2FD, 0x00000000)                  = 0
close(5)                                        = 0
umask(02)                                       = 022
stat("/local/news/servers/readme/run", 0xEFFFFBC0) = 0
setgid(72)                                      = 0
fork()                                          = 29231
_exit(0)

-- 
 SSM - Stig Sandbeck Mathisen
  Trust the Computer, the Computer is your Friend

Re: innd 1.7.2+insync1d and psychotic system calls.
#27062
Author: Andrew
Date: Fri, 20 Mar 1998 00:00
19 lines
1403 bytes
Stig Sandbeck Mathisen <ssm@rlyeh.net> wrote:
> readme$ su root -c "truss ./inndstart -r -i0"

Before that truss output will be very useful, you need to add a -f to your
truss commandline.  Since inndstart basically just binds a socket and forks,
your problem likely lies with innd, but your truss isn't following the
children.  A -f will make it follow the children and you'll probably see
more relevant information.

Also, have you got syslogging setup for INN?  I've never seen INN fail to
start without giving sime kind of reason in news.err or news.crit.

-- 
Andrew O. Smith - <aos@insync.net> | "Please allow me to present
Sysadmin, Insync Internet Services |  you with a clue."
Houston, Texas, USA                |          --The Afghan Whigs

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