08-18-2007
Problem of booting system in init 5 level
Hi,
I am using RHEL4 and I am not booting my computer into graphics mode
i.e. It gets hangs after the step of Enabling swap space...[OK]
I.e system is not able to enter into runlevel 5.
However, when I boot it into 'runlevel3' and then I do "#startx",
It enetrs into graphics mode.
Can anyone tell me ..whats the problem exactly is that??
Waiting for Reply....
Regards
JAGDISH
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Expert,
I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0..
I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
2. Solaris
Booting the 32-bit OS ...
SunOS Release 5.7 Version Generic_106541-31
Copyright (c) 1983-2002, Sun Microsystems, Inc.
configuring network interfaces: le0.
Hostname: wz-ultra1
metainit: wz-ultra1: there are no existing databases
The system is coming up. Please wait.
checking ufs... (2 Replies)
Discussion started by: CollenM
2 Replies
3. Shell Programming and Scripting
Hi i am trying to find the operating system revsion level and know i can use the 'uname -a' commmand i just wanted to know what part of the output displays this? Also what command can i use to display the cpu run queue? (1 Reply)
Discussion started by: warlock129
1 Replies
4. Solaris
what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies
5. UNIX for Advanced & Expert Users
Hi,
I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS.
When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies
6. AIX
the error is
0518
/usr mnt failed,
pleaze tell me how i can fix it ! (1 Reply)
Discussion started by: majd_ece
1 Replies
7. Shell Programming and Scripting
hi all
I have a problem how to write a shell script which delete files/folder form directory whenever system boot and copy last updated folder/file in the specified directory.pse help me ASAP.
i write a script which copy files in directory.I want when system boot up using script it check whether... (1 Reply)
Discussion started by: shubhig15
1 Replies
8. Solaris
Hi Guys,
I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this?
Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies
9. Red Hat
Hello,
I had a linux server running mysql db without any issues, it just panic'd and now its not coming up , unfortunately we do not have backup for this server as well can anybody help on this. Following is the error
Memory for crash kernel (0x0 to 0x0 ) notwithin permissible range
Red... (2 Replies)
Discussion started by: fugitive
2 Replies
10. Red Hat
Good morning
Recently we needed to change the password from a redhat 6.5 system that no one knew the root password.
Starting the system with the init=/bin/bash method took us to the following scenario:
system_vg active with only root_lv and tmpfs mounted.
our entries at fstab are like... (1 Reply)
Discussion started by: Ikaro0
1 Replies
LEARN ABOUT LINUX
runlevel
runlevel(8) System Manager's Manual runlevel(8)
NAME
runlevel - output previous and current runlevel
SYNOPSIS
runlevel [OPTION]... [UTMP]
DESCRIPTION
runlevel reads the system UTMP file, which defaults to /var/run/utmp when no alternate filename is given, to locate the most recent run-
level record.
The previous and current runlevel from that record are output separated by a single space. If there is no previous runlevel in the record,
the letter N will be substituted.
If no runlevel record can be found, runlevel outputs the word unknown and exits with an error.
During system boot, the environment variables RUNLEVEL and PREVLEVEL will be set by the init(8) daemon, these come from the runlevel(7)
event generated by telinit(8) or shutdown(8).
When these environment variables are set, runlevel will output the values from these instead. Thus runlevel can be used in rc scripts as a
replacement for the System-V who(1) -r command.
OPTIONS
--quiet
Does not output the current and previous runlevel, nor does it output unknown in the case of error (but it will exit with an error
code).
This may be used to test for the presence of a runlevel entry, or to check for errors reading from the file.
EXIT STATUS
runlevel will exit with status 0 if a UTMP record was found, otherwise it will exit with status 1.
ENVIRONMENT
RUNLEVEL
runlevel will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
PREVLEVEL
runlevel will read the previous runlevel from this environment variable if RUNLEVEL
was given, in preference to reading from /var/run/utmp
FILES
/var/run/utmp
Where the current and previous runlevels will be read from.
NOTES
The Upstart init(8) daemon does not keep track of runlevels itself, instead they are implemented entirely by its userspace tools.
A change of runlevel is signalled by the runlevel(7) event, generated by either the telinit(8) or shutdown(8) tools. This event includes
the new runlevel in the RUNLEVEL environment variable, as well as the previous runlevel (obtained from their own environment or from
/var/run/utmp) in the PREVLEVEL variable.
As well as generating the event, both tools write the new runlevel back to /var/run/utmp and append a new entry to /var/log/wtmp.
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
runlevel(7) init(8) telinit(8) shutdown(8) who(1)
Upstart 2009-07-09 runlevel(8)