LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 03-10-2007, 09:33 AM   #1
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Rep: Reputation: 0
Shutdown message appears multiple times


Hello!

I've encountered rather weird behaviour from /sbin/shutdown.

Code:
shutdown -h now
or any other shutdown command will show

Code:
Broadcast message from root (tty1) (Sat Mar 10 15:57:54 2007):

The system is going DOWN for system halt NOW!

Broadcast message from root (tty1) (Sat Mar 10 15:57:54 2007):

The system is going DOWN for system halt NOW!

Broadcast message from root (tty1) (Sat Mar 10 15:57:54 2007):

The system is going DOWN for system halt NOW!

Broadcast message from root (tty1) (Sat Mar 10 15:57:54 2007):

The system is going DOWN for system halt NOW!

Broadcast message from root (tty1) (Sat Mar 10 15:57:54 2007):

The system is going DOWN for system halt NOW!
5 times on /dev/tty1 and
1 time on /dev/tty2 and /dev/tty3 and
not on /dev/tty4-6

In terminals in X it's shown once.

I have looked "everywhere" in /etc and have even replaced /etc with /etc from another Slackware machine which only shows the message once as it is supposed to.

Anyone have an idea as to what might be causing this?

I know this isn't a big deal, however, it's pretty annoying...

I am running Slackware 11.

Thank you,

Philipp
 
Old 03-10-2007, 10:12 AM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
Never seen that. You haven't by any chance done multiple "su" commands on tty1? If you did perhaps it was sending the message to each subshell?
 
Old 03-10-2007, 10:55 AM   #3
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,749

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
Try using poweroff.
 
Old 03-10-2007, 01:05 PM   #4
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlightner
Never seen that. You haven't by any chance done multiple "su" commands on tty1? If you did perhaps it was sending the message to each subshell?
Well, I have tried again logged in as root directly on tty1, same result...

Quote:
Originally Posted by gnashley
Try using poweroff.
poweroff produces the same result as well.

*confused*
 
Old 03-10-2007, 04:02 PM   #5
h1tman
Member
 
Registered: Jul 2003
Distribution: Slackware 11
Posts: 439

Rep: Reputation: 30
When did this start happening?
We need to backtrack.
 
Old 03-10-2007, 04:24 PM   #6
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by h1tman
When did this start happening?
We need to backtrack.
Well, I have no idea. It's been quite some time now but I have never cared enough to investigate on this. Now I do ;o) Funnily enough, with a different Kernel version (2.6.19.2) the message only appears 4 times on tty1 , 5 times with 2.6.20.2

I appreciate your help!

Philipp
 
Old 03-11-2007, 09:33 AM   #7
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Does this also happen if you use init 0?
 
Old 03-11-2007, 10:13 AM   #8
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pdw_hu
Does this also happen if you use init 0?
No, init 0 shuts down without further notice, just its own messages.
 
Old 03-11-2007, 10:21 AM   #9
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,950
Blog Entries: 5

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
What run level is it at when you start the shutdown? It sounds almost as if it is sending you the alert going from level 5 to 4 then 4 to 3 then 3 to 2 then 2 to 0. Odd behavior indeed.
 
Old 03-11-2007, 10:53 AM   #10
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlightner
What run level is it at when you start the shutdown? It sounds almost as if it is sending you the alert going from level 5 to 4 then 4 to 3 then 3 to 2 then 2 to 0. Odd behavior indeed.
Nope, I am always in runlevel 3, start X/Ion from there.

Code:
runlevel
returns

Code:
N 3
Do you know of anything in /etc that might trigger this?
 
Old 03-12-2007, 09:35 AM   #11
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Could you please post your /etc/rc.d/rc.6 and /etc/inittab? Use some pasting site please (http://rafb.net/paste/)
 
Old 03-12-2007, 09:58 AM   #12
kluetsch
LQ Newbie
 
Registered: Mar 2007
Location: Magdeburg, Germany
Distribution: Slackware 11.0
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pdw_hu
Could you please post your /etc/rc.d/rc.6 and /etc/inittab? Use some pasting site please (http://rafb.net/paste/)
Here you go:

http://rafb.net/p/Nzvbm560.html (/etc/rc.d/rc.6)

http://rafb.net/p/iKwTdF14.html (/etc/inittab)

Thanks!

Btw, I have tried some (stupid) settings, until now to no avail.

Philipp
 
Old 03-12-2007, 01:04 PM   #13
pdw_hu
Member
 
Registered: Nov 2005
Location: Budapest, Hungary
Distribution: Slackware, Gentoo
Posts: 346

Rep: Reputation: Disabled
Well i've no idea what could be wrong
I guess there aren't any weird messages in /var/log/messages either, nor have you SUID'ed shutdown.
You could maybe try recreating /var/log/btmp and /var/log/wtmp (back them up first, then 'touch'-em, just so they're created, and reboot).
Other than these i can't think of anything else right now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I detect boot and shutdown times from logs? RichardBronosky Linux - General 2 02-26-2007 10:53 PM
Boot and Shutdown at specified times? lexton Linux - General 2 01-02-2007 10:15 AM
Qmail deliver the same message multiple times sufiah Linux - Software 0 02-19-2006 06:31 PM
running wget multiple times quickk Linux - Newbie 1 09-16-2004 06:53 AM
CD burner appears seven times jfi Mandriva 8 05-19-2004 01:45 PM


All times are GMT -5. The time now is 01:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration