LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-09-2002, 06:32 PM   #1
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Rep: Reputation: 30
Run Level Failure Message


Whenever I reboot... the messages i get are like this:

switching to runlevel 6: [failure]

why do i get that?
 
Old 02-09-2002, 06:34 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
how are you rebooting ?? you shouldn't get a message like that.. and what does it do.. does it happen before it reboots or after it reboots ??
 
Old 02-09-2002, 11:04 PM   #3
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
this is happening as it shuts down...

i noticed that after that happened i could never get samba to run without reinstalling it... (i hate to have to do that )
 
Old 02-09-2002, 11:58 PM   #4
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
When you shut down or reboot, the scripts referenced by the symlinks in /etc/rc.d/rc6.d are processed. On my box (also Mandrake, and also running Samba), one of those links (K35smb; the "K" means Kill) runs /etc/init.d/smb, which starts or, in the case of a shutdown/reboot, kills smbd and nmbd, as far as I can tell.

I think the initial "switching to runlevel 6" message comes from init, but from the information you've given, epecially regarding the Samba corruption, you might want to look at the scripts that get executed at shutdown/reboot and see if there isn't something amiss there. Sorry I can't offer anything more specific, but I haven't enountered this particular problem before and I'm still more than a bit of a Newbie.

 
Old 02-10-2002, 06:55 PM   #5
Chijtska
Member
 
Registered: Jan 2002
Location: High Falls, GA
Distribution: Mandrake8.2, FreeBSD, Solaris
Posts: 362

Original Poster
Rep: Reputation: 30
ive noticed since i reinstalled samba that the problem stopped... so maybe there was a file corruption...im not sure... i really have no clue as to hoe the runlevels work... i am so used to windows in that there seems to be only one run level...im sure, oif course, theres more but windows tens to try to keep underground things from becoming apparent to the user...

thanks for the help
 
Old 02-10-2002, 08:50 PM   #6
DMR
Member
 
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
If you think Windows tries to hide its inner workings from you, check out a Mac- it hides everything from you.


As far as runlevels go, Windows actually does have a few equivalents. When you boot into "safe mode" or "command prompt" in Win, it isn't the same as booting straight into the GUI (Windows). Less services are started, and fewer drivers are loaded.

The comments at the beginning of /etc/inittab describe the different runlevels in Linux a bit:
Quote:
[# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)
The above runlevels apply to Redhat and Mandrake at least, but some distros (Slackware is one) use a slightly different numbering scheme.

Last edited by DMR; 02-10-2002 at 08:51 PM.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is Run Level? Khmer Linux - General 5 10-18-2005 12:25 PM
Run Level 3 webwolf70 Mandriva 5 01-17-2005 10:41 PM
apache2 error message in run level hiplainsdrifter Linux - Networking 3 04-21-2004 01:18 PM
What is run level? ejennings_98 Linux - Newbie 8 11-05-2003 04:46 PM
Run Level POWERBOOKM Linux - Newbie 2 12-01-2001 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:52 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration