🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
7 messages
7 total messages Started by Robert Yoder Sat, 25 Feb 2006 14:22
INND shutting its self down
#73311
Author: Robert Yoder
Date: Sat, 25 Feb 2006 14:22
112 lines
8631 bytes
This is a multi-part message in MIME format.
--------------060609070002010605070802
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I have a machine running:

- inn-2.4.2 on port 1119, compiled with gcc version 3.4.3.
  (It handles our private internal groups).

- nntpcache-3.0.1 on port 119.
  (It connects to innd on 1119 for private internal groups,
   and and to external news provider for public groups.)

The problem is that innd seems to mysteriously shut its self down every day at
around the same time, (~10:30am).  I have attached the log entries leading up
to the shutdown yesterday.

The logs have been sanitized;  XXXXXXXX is the localhost, YYYYYYYY is another
internal server running innd and exchanging private internal postings.


$ uname -a
SunOS XXXXXXXX 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000


$ which gcc
/usr/sfw/bin/gcc
$ gcc -v
Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --ena
ble-languages=c,c++ --enable-shared
Thread model: posix
gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)

--------------060609070002010605070802
Content-Type: text/plain;
 name="log.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="log.txt"

Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
Feb 24 10:39:08 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] innfeed! closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] controlchan! closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] overview! closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] n2m! closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] control:14 closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] localconn:16 closed
Feb 24 10:39:08 XXXXXXXX innd: [ID 903239 news.warning] YYYYYYYY:18 closed seconds 3075 accepted 14 refused 0 rejected 0 duplicate 0 accepted size 45453 duplicate size 0
Feb 24 10:39:08 XXXXXXXX innd: [ID 679368 news.warning] remconn:4 closed
Feb 24 10:39:08 XXXXXXXX innfeed[21801]: [ID 702911 news.notice] ME source lost . Exiting
Feb 24 10:39:08 XXXXXXXX innfeed[21801]: [ID 702911 news.notice] ME finishing at Fri Feb 24 10:39:08 2006
Feb 24 10:39:08 XXXXXXXX innd: [ID 516902 news.warning] SERVER perl filtering disabled
Feb 24 10:39:09 XXXXXXXX innd: [ID 678872 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:19 XXXXXXXX innd: [ID 349736 news.warning] SERVER descriptors 256
Feb 24 10:39:19 XXXXXXXX innd: [ID 355441 news.warning] SERVER outgoing 243
Feb 24 10:39:19 XXXXXXXX innd: [ID 213933 news.warning] SERVER ccsetup control:14
Feb 24 10:39:19 XXXXXXXX innd: [ID 432620 news.warning] SERVER lcsetup localconn:16
Feb 24 10:39:19 XXXXXXXX innd: [ID 878405 news.warning] SERVER rcsetup remconn:4
Feb 24 10:39:19 XXXXXXXX innd: [ID 907491 news.warning] innfeed! spawned innfeed!:19:proc:21116
Feb 24 10:39:19 XXXXXXXX innd: [ID 907491 news.warning] controlchan! spawned controlchan!:20:proc:21118
Feb 24 10:39:19 XXXXXXXX innd: [ID 907491 news.warning] overview! spawned overview!:21:proc:21119
Feb 24 10:39:19 XXXXXXXX innfeed[21116]: [ID 702911 news.notice] ME starting innfeed 2.4.2 at Fri Feb 24 10:39:19 2006
Feb 24 10:39:19 XXXXXXXX innfeed[21116]: [ID 277948 news.notice] loading /var/spool/news/etc/innfeed.conf
Feb 24 10:39:19 XXXXXXXX innd: [ID 907491 news.warning] n2m! spawned n2m!:22:proc:21120
Feb 24 10:39:19 XXXXXXXX innd: [ID 516902 news.warning] SERVER perl filtering enabled
Feb 24 10:39:19 XXXXXXXX innd: [ID 547456 news.notice] SERVER starting
Feb 24 10:39:19 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
Feb 24 10:39:19 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] innfeed! closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] controlchan! closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] overview! closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] n2m! closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] control:14 closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] localconn:16 closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 679368 news.warning] remconn:4 closed
Feb 24 10:39:19 XXXXXXXX innd: [ID 516902 news.warning] SERVER perl filtering disabled
Feb 24 10:39:19 XXXXXXXX innd: [ID 678872 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:20 XXXXXXXX controlchan[21118]: starting
Feb 24 10:39:21 XXXXXXXX innfeed[21116]: [ID 702911 news.notice] ME source lost . Exiting
Feb 24 10:39:21 XXXXXXXX innfeed[21116]: [ID 702911 news.notice] ME finishing at Fri Feb 24 10:39:21 2006
Feb 24 10:39:26 XXXXXXXX innd: [ID 349736 news.warning] SERVER descriptors 256
Feb 24 10:39:26 XXXXXXXX innd: [ID 355441 news.warning] SERVER outgoing 243
Feb 24 10:39:26 XXXXXXXX innd: [ID 213933 news.warning] SERVER ccsetup control:14
Feb 24 10:39:26 XXXXXXXX innd: [ID 432620 news.warning] SERVER lcsetup localconn:16
Feb 24 10:39:26 XXXXXXXX innd: [ID 878405 news.warning] SERVER rcsetup remconn:4
Feb 24 10:39:26 XXXXXXXX innd: [ID 907491 news.warning] innfeed! spawned innfeed!:19:proc:21168
Feb 24 10:39:26 XXXXXXXX innd: [ID 907491 news.warning] controlchan! spawned controlchan!:20:proc:21169
Feb 24 10:39:26 XXXXXXXX innd: [ID 907491 news.warning] overview! spawned overview!:21:proc:21171
Feb 24 10:39:26 XXXXXXXX innd: [ID 907491 news.warning] n2m! spawned n2m!:22:proc:21172
Feb 24 10:39:26 XXXXXXXX innd: [ID 516902 news.warning] SERVER perl filtering enabled
Feb 24 10:39:26 XXXXXXXX innd: [ID 547456 news.notice] SERVER starting
Feb 24 10:39:26 XXXXXXXX innfeed[21168]: [ID 702911 news.notice] ME starting innfeed 2.4.2 at Fri Feb 24 10:39:26 2006
Feb 24 10:39:26 XXXXXXXX innfeed[21168]: [ID 277948 news.notice] loading /var/spool/news/etc/innfeed.conf
Feb 24 10:39:26 XXXXXXXX controlchan[21169]: starting
Feb 24 10:39:26 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
Feb 24 10:39:26 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] innfeed! closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] controlchan! closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] overview! closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] n2m! closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] control:14 closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] localconn:16 closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 679368 news.warning] remconn:4 closed
Feb 24 10:39:26 XXXXXXXX innd: [ID 516902 news.warning] SERVER perl filtering disabled
Feb 24 10:39:26 XXXXXXXX innd: [ID 678872 news.warning] SERVER shutdown rc.news stop
Feb 24 10:39:28 XXXXXXXX innfeed[21168]: [ID 702911 news.notice] ME source lost . Exiting
Feb 24 10:39:28 XXXXXXXX innfeed[21168]: [ID 702911 news.notice] ME finishing at Fri Feb 24 10:39:28 2006

--------------060609070002010605070802--
Re: INND shutting its self down
#73312
Author: Jeffrey M. Vinocur
Date: Sat, 25 Feb 2006 14:53
34 lines
2147 bytes
In article <GdKdnZEgcPSi9Z3ZRVn-jQ@forethought.net>,
Robert Yoder  <ryoder@dim.com> wrote:
>
>- inn-2.4.2 [...] seems to mysteriously shut its self down every day at
>around the same time, (~10:30am).  I have attached the log entries leading up
>to the shutdown yesterday.
>
>The logs have been sanitized;  XXXXXXXX is the localhost, YYYYYYYY is another
>internal server running innd and exchanging private internal postings.
>
>$ uname -a
>SunOS XXXXXXXX 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
>
>Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
>Feb 24 10:39:08 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown
>rc.news stop
>[...]

I have to say, this looks exactly like someone has run

    ~news/bin/rc.news stop

and I can't imagine any way INN could produce that all on its
own, either purposefully or in a "crash" of some kind.

I suppose rc.news could be run in an automatic fashion by a
scheduling program (e.g. cron), of course.  And if you've made
your system startup/shutdown/runlevel scripts aware of INN, I
suppose they could be involved.


-- 
Jeffrey M. Vinocur
jeff@litech.org
Re: INND shutting its self down
#73313
Author: Bozweb
Date: Sat, 25 Feb 2006 14:58
36 lines
2459 bytes
On Sat, 25 Feb 2006 07:22:54 -0700, Robert Yoder <ryoder@dim.com>
wrote:

>I have a machine running:
>
>- inn-2.4.2 on port 1119, compiled with gcc version 3.4.3.
>  (It handles our private internal groups).
>
>- nntpcache-3.0.1 on port 119.
>  (It connects to innd on 1119 for private internal groups,
>   and and to external news provider for public groups.)
>
>The problem is that innd seems to mysteriously shut its self down every day at
>around the same time, (~10:30am).  I have attached the log entries leading up
>to the shutdown yesterday.
>
>The logs have been sanitized;  XXXXXXXX is the localhost, YYYYYYYY is another
>internal server running innd and exchanging private internal postings.
>
>
>$ uname -a
>SunOS XXXXXXXX 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
>
>
>$ which gcc
>/usr/sfw/bin/gcc
>$ gcc -v
>Reading specs from /usr/sfw/lib/gcc/sparc-sun-solaris2.10/3.4.3/specs
>Configured with: /gates/sfw10/builds/sfw10-gate/usr/src/cmd/gcc/gcc-3.4.3/configure --prefix=/usr/sfw --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/ccs/bin/ld --without-gnu-ld --ena
>ble-languages=c,c++ --enable-shared
>Thread model: posix
>gcc version 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
-- 
Posted
http://news.bozweb.net/
Key: 0x82DEE1A0
Re: INND shutting its self down
#73314
Author: Robert Yoder
Date: Sat, 25 Feb 2006 15:07
42 lines
3008 bytes
Jeffrey M. Vinocur wrote:
> In article <GdKdnZEgcPSi9Z3ZRVn-jQ@forethought.net>,
> Robert Yoder  <ryoder@dim.com> wrote:
>> - inn-2.4.2 [...] seems to mysteriously shut its self down every day at
>> around the same time, (~10:30am).  I have attached the log entries leading up
>> to the shutdown yesterday.
>>
>> The logs have been sanitized;  XXXXXXXX is the localhost, YYYYYYYY is another
>> internal server running innd and exchanging private internal postings.
>>
>> $ uname -a
>> SunOS XXXXXXXX 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
>>
>> Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
>> Feb 24 10:39:08 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown
>> rc.news stop
>> [...]
> 
> I have to say, this looks exactly like someone has run
> 
>     ~news/bin/rc.news stop

I had the same thought.  I scoured the system looking for any cron
jobs or scripts that might be doing it, but couldn't find any.

> and I can't imagine any way INN could produce that all on its
> own, either purposefully or in a "crash" of some kind.
> 
> I suppose rc.news could be run in an automatic fashion by a
> scheduling program (e.g. cron), of course.  And if you've made
> your system startup/shutdown/runlevel scripts aware of INN, I
> suppose they could be involved.

The shutdowns *usually* occurs once per day around 10:15-10:45.
Sometimes it may occur as often as five times in a day.  The
timing is not exact or completely predictable.


ry
--

Re: INND shutting its self down
#73317
Author: Russ Allbery
Date: Sat, 25 Feb 2006 20:24
13 lines
1605 bytes
Robert Yoder <ryoder@dim.com> writes:

> Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop

The only way that you get this log message is if something runs ctlinnd
shutdown 'rc.news stop'.  The only script that comes with INN that does
this is rc.news, and nothing that comes with INN runs rc.news stop.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: INND shutting its self down
#73318
Author: Bozweb
Date: Sun, 26 Feb 2006 00:14
47 lines
2805 bytes
On Sat, 25 Feb 2006 08:07:25 -0700, Robert Yoder <ryoder@dim.com>
wrote:

>Jeffrey M. Vinocur wrote:
>> In article <GdKdnZEgcPSi9Z3ZRVn-jQ@forethought.net>,
>> Robert Yoder  <ryoder@dim.com> wrote:
>>> - inn-2.4.2 [...] seems to mysteriously shut its self down every day at
>>> around the same time, (~10:30am).  I have attached the log entries leading up
>>> to the shutdown yesterday.
>>>
>>> The logs have been sanitized;  XXXXXXXX is the localhost, YYYYYYYY is another
>>> internal server running innd and exchanging private internal postings.
>>>
>>> $ uname -a
>>> SunOS XXXXXXXX 5.10 Generic sun4u sparc SUNW,Sun-Blade-1000
>>>
>>> Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
>>> Feb 24 10:39:08 XXXXXXXX innd: [ID 249022 news.warning] SERVER shutdown
>>> rc.news stop
>>> [...]
>> 
>> I have to say, this looks exactly like someone has run
>> 
>>     ~news/bin/rc.news stop
>
>I had the same thought.  I scoured the system looking for any cron
>jobs or scripts that might be doing it, but couldn't find any.
>
>> and I can't imagine any way INN could produce that all on its
>> own, either purposefully or in a "crash" of some kind.
>> 
>> I suppose rc.news could be run in an automatic fashion by a
>> scheduling program (e.g. cron), of course.  And if you've made
>> your system startup/shutdown/runlevel scripts aware of INN, I
>> suppose they could be involved.
>
>The shutdowns *usually* occurs once per day around 10:15-10:45.
>Sometimes it may occur as often as five times in a day.  The
>timing is not exact or completely predictable.
>
>
>ry
Your the only one get root access?
-- 
Posted
http://news.bozweb.net/
Key: 0x82DEE1A0
Re: INND shutting its self down
#73323
Author: Robert Yoder
Date: Mon, 27 Feb 2006 19:31
24 lines
2351 bytes
Russ Allbery wrote:
> Robert Yoder <ryoder@dim.com> writes:
> 
>> Feb 24 10:39:08 XXXXXXXX innd: [ID 702911 news.info] q:rc.news stop
> 
> The only way that you get this log message is if something runs ctlinnd
> shutdown 'rc.news stop'.  The only script that comes with INN that does
> this is rc.news, and nothing that comes with INN runs rc.news stop.
> 

Thanks for the followup!

Well today we made a discovery;  The output of the "last" command correlates
perfectly with the shutdown times, indicating remote root logins via some
idiotic so-called "security" package mandated by corporate which allows
remote root logins from so-called "secure" hosts.   This is after I and
my co-worker hve burned over a week of manhours in investigating the problem.

I have already expressed my opinion of this, but it is not printable here.


ry
--
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