09-12-2003
Well there you go, thanks for the info about the single user mode stuff. I have never run in to any problems with running in runlevel 3, but its a bad habit that I should probally stop doing
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I'm hoping someone might be able to help me here. After installing Solaris, we use a script to copy site sepcific files over the machine. Now I want the script add the appropiate Sun patches as well. As the script hits that part it errors out, now the script finishes but the Patch... (3 Replies)
Discussion started by: viRaven
3 Replies
2. Solaris
I'm attempting to install a Sun patch and keep getting an error:
# patchadd /tmp/patches/110722-03
Checking installed patches...
One or more patch packages included in
110722-03 are not installed on this system.
Patchadd is terminating.
#
How can I find out what are the "One or... (7 Replies)
Discussion started by: FredSmith
7 Replies
3. UNIX for Dummies Questions & Answers
Hi, guys !
I usually run this task without even thinking on outcome, because it never failed. But this time when I tried installation of patches for Solaris 8 OS on my old machine, I received this message:
"pkgadd: ERROR: no packages were found in </var/spool/pkg>"
I compared the contents... (5 Replies)
Discussion started by: Deicide5997
5 Replies
4. Solaris
Hi all,
We are planning to install Oracle 10g in the Sun Solaris 10 (64 bit Sun Sparc ).
Can any one please tell me what are the OS level patches that has to be installed in the OS before starting installation of Oracle 10g.
Thanks and Regards,
Prashanth (1 Reply)
Discussion started by: prashanth_gs
1 Replies
5. UNIX for Dummies Questions & Answers
Hi admins....
I want to install 100 Patches in Hpux.. is it possible to install using single command....
if possible ple give me the solution... (1 Reply)
Discussion started by: Prem
1 Replies
6. Linux
Hi all,
I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies
7. Solaris
# /usr/sbin/patchadd -p | grep 119961
Patch: 119961-02 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot
Patch: 119961-04 Obsoletes: Requires: Incompatibles: Packages: SUNWsprot
I was trying to check if i have the above patch on my system when i got the result as shown above, does this... (1 Reply)
Discussion started by: seyiisq
1 Replies
8. Solaris
Hi,
Please let me know how to check all the opearating system patches that were applied on an Sun Solaris machine.
Thanks. (2 Replies)
Discussion started by: jjoy
2 Replies
9. HP-UX
Hi,
I donīt have support HP, so I donīt get download patches on itrc.
Somebody know a free site to download HP-UX patches? (3 Replies)
Discussion started by: quimera
3 Replies
10. AIX
I need to find out list of installed patches from given list of patches.
I have tried using instfix -f <File containing list of patches> -i -c
But I was not able to understand the output of this command. It was like below.
bos.perf.tools: :0.0.0.0:?:
bos.rte.libc: :0.0.0.0:?: ... (4 Replies)
Discussion started by: Saurabh Agrawal
4 Replies
LEARN ABOUT XFREE86
runlevel
RUNLEVEL(8) runlevel RUNLEVEL(8)
NAME
runlevel - Print previous and current SysV runlevel
SYNOPSIS
runlevel [options...]
OVERVIEW
"Runlevels" are an obsolete way to start and stop groups of services used in SysV init. systemd provides a compatibility layer that maps
runlevels to targets, and associated binaries like runlevel. Nevertheless, only one runlevel can be "active" at a given time, while systemd
can activate multiple targets concurrently, so the mapping to runlevels is confusing and only approximate. Runlevels should not be used in
new code, and are mostly useful as a shorthand way to refer the matching systemd targets in kernel boot parameters.
Table 1. Mapping between runlevels and systemd targets
+---------+-------------------+
|Runlevel | Target |
+---------+-------------------+
|0 | poweroff.target |
+---------+-------------------+
|1 | rescue.target |
+---------+-------------------+
|2, 3, 4 | multi-user.target |
+---------+-------------------+
|5 | graphical.target |
+---------+-------------------+
|6 | reboot.target |
+---------+-------------------+
DESCRIPTION
runlevel prints the previous and current SysV runlevel if they are known.
The two runlevel characters are separated by a single space character. If a runlevel cannot be determined, N is printed instead. If neither
can be determined, the word "unknown" is printed.
Unless overridden in the environment, this will check the utmp database for recent runlevel changes.
OPTIONS
The following option is understood:
--help
Print a short help text and exit.
EXIT STATUS
If one or both runlevels could be determined, 0 is returned, a non-zero failure code otherwise.
ENVIRONMENT
$RUNLEVEL
If $RUNLEVEL is set, runlevel will print this value as current runlevel and ignore utmp.
$PREVLEVEL
If $PREVLEVEL is set, runlevel will print this value as previous runlevel and ignore utmp.
FILES
/run/utmp
The utmp database runlevel reads the previous and current runlevel from.
SEE ALSO
systemd(1), systemd.target(5), systemctl(1)
systemd 237 RUNLEVEL(8)