LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-21-2006, 11:14 PM   #1
linuxjamil
Member
 
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Rep: Reputation: 15
runlevel


Plz anybody help that what is the use of runlevel 7,8,9.

And how can i use that.


Bye
 
Old 07-21-2006, 11:55 PM   #2
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,457

Rep: Reputation: 277Reputation: 277Reputation: 277
http://www.tldp.org/LDP/intro-linux/...ect_04_02.html

PS: Switch from runlevel(=init) by pressing Ctrl-Alt-F1 and typing init x.
(replace x with you desired runlevel)

Last edited by jens; 07-22-2006 at 07:38 AM.
 
Old 07-22-2006, 12:23 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Maybe this will help

http://rute.2038bug.com/node35.html.gz
 
Old 07-22-2006, 01:32 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by jens
PS: Switch from runlevel(=init) by typing Ctrl-Alt-Fx.
(replace x with you desired runlevel)
You are confusing run levels and virtual consoles, which are completely unrelated.
 
Old 07-22-2006, 01:33 AM   #5
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by linuxjamil
Plz anybody help that what is the use of runlevel 7,8,9.
They are of no use, or at least nobody is using them if they really exist.
 
Old 07-22-2006, 06:07 AM   #6
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,457

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by jlliagre
You are confusing run levels and virtual consoles, which are completely unrelated.
No I'm not (see the link).
Calling "runlevel init x", "init x" is to make it easier.
The name calling changes from distro to distro. (or sysV- vs BSD style init).
The "PS" might have been confusing since I forgot adding the "and type init x" part (but not unrelated, serial consoles are almost never needed/used and can go wacky with X).

While most distros stop at init 6(reboot), this actually isn't limited.

I only assumed that that's what the OP meant and was looking for.

OT: If you just want to see what runlevels you're using type(and for what they're configured): less /etc/inittab instead of "init x".

Last edited by jens; 07-22-2006 at 06:42 AM.
 
Old 07-22-2006, 06:22 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by jens
No I'm not (see the link).
Calling "runlevel init x", "init x" is to make it easier.
The name calling changes from distro to distro. (or sysV- vs BSD style init).
The "PS" might have been a little confusing since I forgot adding the init part (but not unrelated, serial consoles are almost never needed/used and can go wacky with X).

I only assumed that that's what the OP meant and was looking for.
I can't immediately find the section in your linked document which addresses the question.

I just did a test: Running in the GUI, I opened a terminal and confirmed runlevel 5. I then used ctlr-alt-F1 to get another virtual console. The runlevel was still 5. It would appear that jlliagre is correct.
 
Old 07-22-2006, 06:55 AM   #8
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,457

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by pixellany
I can't immediately find the section in your linked document which addresses the question.

I just did a test: Running in the GUI, I opened a terminal and confirmed runlevel 5. I then used ctlr-alt-F1 to get another virtual console. The runlevel was still 5. It would appear that jlliagre is correct.
Type "init x" after logging in (for runlevel x). Did I ever say jlliagre was incorrect about what v-console to use. As I already admitted, I just forgot to add the init part while editing (as I just corrected). IMO it's just a lot easier an safer to do it like that than changing the default or the actual script.

And why would that link not answer his question?

Last edited by jens; 07-22-2006 at 07:37 AM.
 
Old 07-22-2006, 07:42 AM   #9
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I see now what caused the confusion---now we are ALL right....

AND--I just learned something: When I tell gdm to start three X-servers (accessible with ctrl-alt-f7,8, etc. These behave as additional virtual terminals. I can have root logged in on ctrl-alt-f1, nd 3 other users logged in on the 3 X servers... Neat...
 
Old 07-22-2006, 09:55 AM   #10
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by jens
And why would that link not answer his question?
I believe that link doesn't answer the question as it doesn't tell anything about run levels 7 8 and 9, and the question was only about them.

This is however expected, as these run levels have never been implemented by any Unix, as far as I know.
 
Old 07-22-2006, 12:03 PM   #11
jens
Senior Member
 
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,457

Rep: Reputation: 277Reputation: 277Reputation: 277
Quote:
Originally Posted by jlliagre
I believe that link doesn't answer the question as it doesn't tell anything about run levels 7 8 and 9, and the question was only about them.

This is however expected, as these run levels have never been implemented by any Unix, as far as I know.
I doubt he has them (I'm not aware of any Linux distro that doesn't follow the SVR4 runlevel way either), but if so, they should be listed /etc/inittab as well (and also work the same as the normal 6).

PS: AIX uses 10 runlevels as default, since it starts from 0, its last 3 ones are 7,8 and 9 as well. Perhaps he's reading a wrong manual
 
Old 07-23-2006, 10:26 AM   #12
linuxjamil
Member
 
Registered: Dec 2005
Distribution: Fedora Core 5, Sun Solaris 8
Posts: 122

Original Poster
Rep: Reputation: 15
thnks for you all s response...
And i want to start a new daemon process but the bible says
that after installing the binaries for the functions such as my_daemon program.

My question is that how can i install the binaries. I can handle the rest of the steps but i am in a problem for installing the binaries.

ok bye
 
Old 07-23-2006, 12:14 PM   #13
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Ubuntu/WSL
Posts: 9,785

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
You should tell more about that bible saying, and these binaries.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 09:15 AM
Runlevel? bluethundr Linux - Newbie 7 09-29-2005 05:27 AM
What does Runlevel mean, and why am I in 3? thalerz Linux - General 6 11-21-2003 12:35 PM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 06:24 AM

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

All times are GMT -5. The time now is 04:24 PM.

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