🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #56324

Re: innd dead but subsys locked (RH 7.2) inn-2.3.2

#56324
From: Daniel Jarboe
Date: Wed, 06 Feb 2002 13:29
90 lines
4079 bytes
Okay, I think that's why I wasn't getting errors reported... at some point in
my syslog.conf I had "corrected" 

news.=crit                                        /var/log/news/news.crit
news.=err                                         /var/log/news/news.err
news.notice                                       /var/log/news/news.notice

to take out the ='s.  I didn't realize what I was doing, it's back to normal
now.

when I strace -f -o /tmp/inn.trace /usr/bin/inndstart -r I see a few errors...

open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or directory)
but then it:
open("/etc/ld.so.cache", O_RDONLY) = 3
that doesn't look like a big problem.

I have a
connect(4, {sin_family=AF_UNIX, path="                             
/var/run/.nscd_socket"}, 110) = -1 ENOENT (No such file or directory)

and another one later one... these are followed by by a close(4)

Problems with setgroups32 and setresuid32...
3332  getuid32()                        = 9
3332  getgid32()                        = 13
3332  setgroups32(0x1, 0x7ffffa48)      = -1 EPERM (Operation not permitted)
3332  brk(0x40d000)                     = 0x40d000

3332  stat64("/var/run/news", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
3332  setresuid32(0xffffffff, 0, 0xffffffff) = -1 EPERM (Operation not
permitted)

That's all of them.


my news.crit is:
Feb  6 00:15:34 tcsl rnews: cant open_remote Connection refused
Feb  6 07:51:57 tcsl inndstart: ran by UID 0, who isn't news (9)

my news.err is:
Feb  6 00:15:34 tcsl rnews: cant open_remote Connection refused
Feb  6 07:51:57 tcsl inndstart: ran by UID 0, who isn't news (9)
Feb  6 07:53:13 tcsl inndstart: can't setgroups: Operation not permitted
Feb  6 07:53:13 tcsl inndstart: seteuid(0) failed: Operation not permitted

Okay, I'll try it again as news...

Presumably the ones at 00:15:34 are from a cron script trying to connect to the
server which isn't up.

When I try su - news -c /etc/rc.news it says "Starting innd." like always, but
still

telnet localhost nntp ... connection refused
same for
telnet localhost 119 and telnet (ipaddr) 119.

I su news and then ran
strace -f -o /tmp/inn2.trace /usr/bin/inndstart -r

Same file length as inn.trace...
same errors.

news.crit didn't grow any, but news.err did...
Feb  6 08:18:05 tcsl inndstart: can't setgroups: Operation not permitted
Feb  6 08:18:05 tcsl inndstart: seteuid(0) failed: Operation not permitted


Here's the last dozen from inn.trace

sh-2.05$ tail -n 12 inn.trace
3332  read(4, "\npathbin:                /usr/bi"..., 4096) = 530
3332  read(4, "", 4096)                 = 0
3332  close(4)                          = 0
3332  munmap(0x40018000, 4096)          = 0
3332  uname({sys="Linux", node="tcsl.tcs.timeinc.com", ...}) = 0
3332  stat64("/var/run/news", {st_mode=S_IFDIR|0750, st_size=4096, ...}) = 0
3332  setresuid32(0xffffffff, 0, 0xffffffff) = -1 EPERM (Operation not
permitted)
3332  time([1012999993])                = 1012999993
3332  rt_sigaction(SIGPIPE, {0x4014b7b4, [], 0}, {SIG_DFL}, 8) = 0
3332  send(3, "<59>Feb  6 07:53:13 inndstart: s"..., 73, 0) = 73
3332  rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
3332  _exit(1)                          = ?


Thanks for your help,
Daniel
Technical Details
Message-ID: <20020206082941.06091.00001635@mb-mq.aol.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!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!portc03.blue.aol.com!audrey05.news.aol.com!not-for-mail
References: <u60hc39rb7e8af@news.supernews.com>

Show Full Headers
Complete Article Headers
Message-ID: <20020206082941.06091.00001635@mb-mq.aol.com>
Subject: Re: innd dead but subsys locked (RH 7.2) inn-2.3.2
Date: Wed, 06 Feb 2002 13:29:41 +0000
From: djarboe0993@aol.comnojunk (Daniel Jarboe)
References: <u60hc39rb7e8af@news.supernews.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!archiver1.google.com!news1.google.com!sn-xit-03!supernews.com!peer1-sjc1.usenetserver.com!usenetserver.com!newsfeed1.cidera.com!Cidera!portc03.blue.aol.com!audrey05.news.aol.com!not-for-mail
Lines: 89
X-Admin: news@aol.com
Newsgroups: news.software.nntp
Organization: AOL http://www.aol.com