LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-21-2013, 01:22 AM   #1
anil98433
LQ Newbie
 
Registered: May 2012
Posts: 18

Rep: Reputation: Disabled
Question system boot in runlevel 1instad of runlevel 5


Hi frns,

I am facing problem reagrding to booting of my machine running on rhel 5 actually every time when i am starting my machine (linux server RHEL 5) it automatically enters in runlevel 1 and to enter in to runlevel 5 i am using startx command or init 5 command....n when i check /etc/inittab file every thing was fine i.e. runlevel described there is 5 so please tell me the exact solution. Hope to hear soon from you !!
 
Old 11-21-2013, 01:26 AM   #2
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
you can pass telinit 3 from grub not sure if in RH but in slackware you can edit your /etc/initab
Quote:
# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:
 
Old 11-21-2013, 01:53 AM   #3
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
@anil98433: Normally RHEL boots into runlevel 3 or 5. There are 2 places you can influence this behaviour: From grub, by adding single or 1 to the kernel line or from /etc/inittab

If both are correct and the system still boots into runlevel 1 then something is probably wrong. Is there any information in the log files? Have a look in /var/log. Specifically dmesg and messages.
 
Old 11-21-2013, 02:13 AM   #4
anil98433
LQ Newbie
 
Registered: May 2012
Posts: 18

Original Poster
Rep: Reputation: Disabled
Smile

Thanks for writing. however one thing i want to ask why it not enter in runlevel 5 however i had made entry in /etc/inittab "id:5:initdefault:" as per your suggestion it will enter in runlevel 3 which is cui but i want Gui. i appriciate your help in this regards.

Thanks
Anil
 
Old 11-21-2013, 02:33 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
level 5 is the GUI
and xorg needs to be installed
most servers do not have x installed nor even want it installed

you do NOT need a gui on a headless server ( no monitor so no need for a desktop environment )

if you really MUST add Gnome2 to a server
see the rather old rhel5 install docs
https://access.redhat.com/site/docum...erprise_Linux/
but if there is no monitor physically attached to this server gnome will be of very little use .

for the current older RHEL 5.10 have a look at the output of
Code:
su -
yum grouplist
for a list of software groups

Last edited by John VV; 11-21-2013 at 02:38 AM.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
MES5 in runlevel 3 stuck after starting mavisd. Can't change back to runlevel 5 JnPson Linux - Enterprise 3 01-16-2013 05:58 PM
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
[SOLVED] Getting a text console runlevel in Kubuntu 10.04 (Changing runlevel won't work) gregorian Linux - Newbie 4 09-05-2010 10:50 AM
New Install of PCLinuxOS boots into runlevel 3. Should be runlevel 5 MonctonJohn Linux - General 4 02-01-2008 04:38 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 09:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 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