🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Wuxu Peng Tue, 27 Apr 1993 06:32
nn crashed the system
#3979
Author: Wuxu Peng
Date: Tue, 27 Apr 1993 06:32
27 lines
1768 bytes
I was curious about "nn" and tried to install it.
It compiled ok. After "make install", and "./inst",
I typed "./init INIT".  All in a sudden, the screen
blackened, I was logout forcefully by the system and 
the system prompt "DIGITAL" appeared (my machine is a
DEC RISC station running Ultrix 4.2A). I tried and 
was able to login. Then I found out that most daemons
were killed, including "inn".  Therefore I decided to
shutdown the system.  However, no matter how many times
I typed "shutdown -r now", or "shutdown -h", the system 
just flashed and returned to the DIGITAL login prompt
right away.  This lasted for 30 mins. I was scared!

Eventually I killed the daemon "/etc/init" and "/etc/inetd",
because these two daemons were always there, even
"shutdown" could not kill them.  I then tried shutdown.
It worked.  I killed all "nn" related staff right after
login. It's not worth the big trouble.  I am still scared.
Anybody out there knows what happened?


--wuxu peng(peng@pirates.cs.swt.edu)

-- 

--wuxu peng (peng@pirates.cs.swt.edu)
Re: nn crashed the system
#3984
Author: William Devine II
Date: Tue, 27 Apr 1993 14:02
35 lines
2159 bytes
peng@pirates.cs.swt.edu (Wuxu Peng) writes:



>Eventually I killed the daemon "/etc/init" and "/etc/inetd",
>because these two daemons were always there, even
>"shutdown" could not kill them.  I then tried shutdown.
>It worked.  I killed all "nn" related staff right after
>login. It's not worth the big trouble.  I am still scared.
>Anybody out there knows what happened?


>--wuxu peng(peng@pirates.cs.swt.edu)
------
  When you INIT nn it starts the new article collection and will attempt
  to collect the subjects of the somewhat 500K to 1million articles
  there are on the server.  I started mine by cron six months ago
  at about noon using nice and it didn't crash the system at all.
  If you just do a plain old init and you expect to use the system then
  you won't be able to!  It takes up as much of the system's resources
  it can to continually request subjects and make the directories it needs
  for the groups and such.  I suggest you have it run at night with a lower
  priority.
  
  william
  


--
                                  William C. Devine, II
------------------------------------------------------------------------
DECnet:     pvhep::devine       Internet:   wdevine@andrew.cea.pvamu.edu
            		                    devine@pvhep.pvamu.edu
Sneakernet: Rm 101 HP/Mac/IBM Computer Lab, Engineering Building
------------------------------------------------------------------------
Re: nn crashed the system
#3991
Author: Wuxu Peng
Date: Tue, 27 Apr 1993 15:42
36 lines
2217 bytes
In article <1rjedpINN98j@tamsun.tamu.edu> wdevine@andrew.cea.pvamu.edu (William Devine II) writes:
>peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>
>
>
>>Eventually I killed the daemon "/etc/init" and "/etc/inetd",
>>because these two daemons were always there, even
>>"shutdown" could not kill them.  I then tried shutdown.
>>It worked.  I killed all "nn" related staff right after
>>login. It's not worth the big trouble.  I am still scared.
>>Anybody out there knows what happened?
>
>
>>--wuxu peng(peng@pirates.cs.swt.edu)
>------
>  When you INIT nn it starts the new article collection and will attempt
>  to collect the subjects of the somewhat 500K to 1million articles
>  there are on the server.  I started mine by cron six months ago
>  at about noon using nice and it didn't crash the system at all.
>  If you just do a plain old init and you expect to use the system then
>  you won't be able to!  It takes up as much of the system's resources
>  it can to continually request subjects and make the directories it needs
>  for the groups and such.  I suggest you have it run at night with a lower
>  priority.
>  

I followed the "INSTALLATION" instructions closely and just did
what was said there.   No matter how extensive & expensive such
a collecting procedure is,  "nn" should not disable the system!!
That is the bottom line.

--wuxu peng (peng@pirates.cs.swt.edu)

-- 

--wuxu peng (peng@pirates.cs.swt.edu)
Re: nn crashed the system
#3997
Author: Gunther Anderson
Date: Tue, 27 Apr 1993 19:36
29 lines
2272 bytes
Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
: In article <1rjedpINN98j@tamsun.tamu.edu> wdevine@andrew.cea.pvamu.edu (William Devine II) writes:
: >peng@pirates.cs.swt.edu (Wuxu Peng) writes:
: >>"shutdown" could not kill them.  I then tried shutdown.
: >>It worked.  I killed all "nn" related staff right after
: >>login. It's not worth the big trouble.  I am still scared.
: >>Anybody out there knows what happened?
: >
: I followed the "INSTALLATION" instructions closely and just did
: what was said there.   No matter how extensive & expensive such
: a collecting procedure is,  "nn" should not disable the system!!
: That is the bottom line.

I don't think it had anything to do with nn.  init is also a system
program which is responsible for starting and stopping everything on your
system.  The effect you saw was consistent with having run the system init
instead of the nn init, and having it default to runlevel 1 or 2.  This
would kill all user processes, and all networking daemons, as well as
most, but not all, of the gettys.  I couldn't say why shutdown didn't
work, but I've never been in runlevel 1.  I expect that instead of 
'./init INIT' you typed something like 'init INIT', and it started
bringing things down.  If you're curious, check out the comp.unix
hierarchy (ar maybe it's comp.os.unix) and get the FAQ, and then ask
around.  But again, this wasn't nn.  Go ahead and try the installastion
again, but don't do it as root until you have to.  Root alone has rights
to the real init, so make an id like news and chown the lot of it to
news.news.

						Gunther Anderson
Re: nn crashed the system
#4003
Author: Wuxu Peng
Date: Wed, 28 Apr 1993 03:17
39 lines
2748 bytes
In article <C65qH2.KCo@ssi.edc.org> gunther@ssi.edc.org (Gunther Anderson) writes:
>Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
>: In article <1rjedpINN98j@tamsun.tamu.edu> wdevine@andrew.cea.pvamu.edu (William Devine II) writes:
>: >peng@pirates.cs.swt.edu (Wuxu Peng) writes:
>: >>"shutdown" could not kill them.  I then tried shutdown.
>: >>It worked.  I killed all "nn" related staff right after
>: >>login. It's not worth the big trouble.  I am still scared.
>: >>Anybody out there knows what happened?
>: >
>: I followed the "INSTALLATION" instructions closely and just did
>: what was said there.   No matter how extensive & expensive such
>: a collecting procedure is,  "nn" should not disable the system!!
>: That is the bottom line.
>
>I don't think it had anything to do with nn.  init is also a system
>program which is responsible for starting and stopping everything on your
>system.  The effect you saw was consistent with having run the system init
>instead of the nn init, and having it default to runlevel 1 or 2.  This
>would kill all user processes, and all networking daemons, as well as
>most, but not all, of the gettys.  I couldn't say why shutdown didn't
>work, but I've never been in runlevel 1.  I expect that instead of 
>'./init INIT' you typed something like 'init INIT', and it started
>bringing things down.  If you're curious, check out the comp.unix
>hierarchy (ar maybe it's comp.os.unix) and get the FAQ, and then ask
>around.  But again, this wasn't nn.  Go ahead and try the installastion
>again, but don't do it as root until you have to.  Root alone has rights
>to the real init, so make an id like news and chown the lot of it to
>news.news.

Well, I didn't remember whether I typed "./init" or "init".
However, my search path puts "." as the first dir, well
before "/bin", where "init" resides.  Since I did that "init"
in <nn-source> dir, that "init" must be nn's.

--wuxu peng (peng@pirates.cs.swt.edu)

-- 

--wuxu peng (peng@pirates.cs.swt.edu)
Re: nn crashed the system
#4012
Author: Gunther Anderson
Date: Wed, 28 Apr 1993 19:50
23 lines
1884 bytes
Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
: Well, I didn't remember whether I typed "./init" or "init".
: However, my search path puts "." as the first dir, well
: before "/bin", where "init" resides.  Since I did that "init"
: in <nn-source> dir, that "init" must be nn's.

There are certainly ways that /bin/init would still be found.  If you're
using [t]csh, you would have to 'rehash' before any new programs on your
path (including '.') are recognized.  If that's the case, and you typed
'init' instead of './init', it would fail to find the init in your local
directory, and keep hunting until it found another.

However it happened, the larger point is that nn doesn't do this.  Only
/bin/init (well, it's /etc/init for me, but it's the same program no
matter what) will actually go about killing processes and changing
runlevels on your machine.  If you go looking all through the source code
to nn, at no point will you find the appropriate function calls to kill
processes.  So give it another shot.  I like nn like I liked eating
dormitory food as a freshman, but at least as many people swear by it as
swear at it, so it's at least worth a real look.

						Gunther Anderson
						gunther@ssi.edc.org
Re: nn crashed the system
#4023
Author: Wuxu Peng
Date: Thu, 29 Apr 1993 02:55
43 lines
2554 bytes
In article <C67Lsp.8tx@ssi.edc.org> gunther@ssi.edc.org (Gunther Anderson) writes:
>Wuxu Peng (peng@pirates.cs.swt.edu) wrote:
>: Well, I didn't remember whether I typed "./init" or "init".
>: However, my search path puts "." as the first dir, well
>: before "/bin", where "init" resides.  Since I did that "init"
>: in <nn-source> dir, that "init" must be nn's.
>
>There are certainly ways that /bin/init would still be found.  If you're
>using [t]csh, you would have to 'rehash' before any new programs on your
>path (including '.') are recognized.  If that's the case, and you typed
>'init' instead of './init', it would fail to find the init in your local
>directory, and keep hunting until it found another.
>
>However it happened, the larger point is that nn doesn't do this.  Only
>/bin/init (well, it's /etc/init for me, but it's the same program no
>matter what) will actually go about killing processes and changing
>runlevels on your machine.  If you go looking all through the source code
>to nn, at no point will you find the appropriate function calls to kill
>processes.  So give it another shot.  I like nn like I liked eating
>dormitory food as a freshman, but at least as many people swear by it as
>swear at it, so it's at least worth a real look.
>
>						Gunther Anderson
>						gunther@ssi.edc.org

I believe that I am right. But to be more cautious,
I made the following small silly test.

(1) login as the root;
(2) "cd /usr";
(3) Create a file with name "finger" that contains
    only one line "echo hi!";
(4) Change the mode of file "finger" using
    "chmod 755 finger";
(5) Type "which finger", the  system responded
    "./finger";
(6) Type "finger", the system responded by 
    displaying "hi!".


-- 

--wuxu peng (peng@pirates.cs.swt.edu)
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