03-14-2009
after booting with failsafe, mount the rootfs to /mnt
then do "bootadm update-archive /mnt"
umount /mnt
then reboot
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Could somone please tell me what happened when I reboot my computer, it take too long to pass the part it said "starting sendmail"
I only changed the server name and when I reboot the server, all of the services are running except when it got to :
starting sendmail
it take toooo long to... (1 Reply)
Discussion started by: lapnguyen
1 Replies
2. Shell Programming and Scripting
Hi,
I make a tar archive:
tar -czvf /path_to/cucu.tar.gz /path/dir_to_archive/
In the archive the /path/dir_to_archive/ is maintained for every file.
I need that the archive to be made without the /path/dir_to_archive/ to contain only the files in /path/dir_to_archive/.
Thanks,... (4 Replies)
Discussion started by: potro
4 Replies
3. HP-UX
Hello, have HP Visualize C3600 workstation. Issue is as follows:
When I attempt to boot, unit will not boot successfully and will halt at a menu, the same menu as when during a boot one hits any key within 10 seconds to discontinue. When I attempt to boot with Boot primary, both with IPL... (17 Replies)
Discussion started by: davel1000
17 Replies
4. Solaris
hi, I' ve found an error while starting up solaris 10, so I booted in safe mode from grub and modified the menu.lst with vi, to obtain a verbose output of the error. It says
failed to readsuperblock
diskread reading beyound end of ramdisk
start = 0x800 size=0x800
...
...
panic: cannot... (9 Replies)
Discussion started by: freeware
9 Replies
5. Solaris
I have created a flash archive from a Ldom on T5220 with zfs root solaris 10_u8. But after creation of flar the info shows the
content_architectures=sun4c,sun4d,sun4m,sun4u,sun4us,sun4s
but not sun4v due to which i 'm unable to install this flash archive on another Ldom on the same host. Is... (0 Replies)
Discussion started by: fugitive
0 Replies
6. Solaris
I disabled the boot-archive service by using
#svcadm disable svc:/system/boot-archive:default
then i rebooted my system but i am unable to boot. It throws the following errors
CONSOLE LOGIN SERVICE(S) CANNOT RUN
then it automatically asked me for the maintenance mode passwd.
i logged... (3 Replies)
Discussion started by: dinu
3 Replies
7. UNIX for Advanced & Expert Users
Hi Guys,
I am facing a strange issue
while doing parallel (using & for background) scp/untar operation from my unix box to multiple unix boxes...
I am getting
tar : unexpected EOF in archive error
the code is as follows.,,,
for i in 10
do
sh -c "scp <command> ; ssh tar -xf <tar> -C... (1 Reply)
Discussion started by: mihirvora16
1 Replies
8. Solaris
Hi experts,
I would have a question on boot archive files on solaris10 platform running on T5220 cluster servers.
When we check the /platform/sun4v directory , and perform boot archive-list , we see that on both units same files exist. And when we mount the boot archive we see that all files... (0 Replies)
Discussion started by: dyavuzy1
0 Replies
9. Solaris
In the server room at my new job, there is a V100 with a problem. When power is turned on, the machine goes to the lom prompt. Entering poweron yields an endless supply of this message with no way to break out of it.
**********************************************
PSTATE=0000000000000015... (3 Replies)
Discussion started by: chilinski
3 Replies
10. SCO
Hi,
I am using SCO OpenServer 5
During boot I get this message:
PANIC: HTFS: Bad directory ino 2 (offset 0) on HTFS dev hd (1/42)
Cannot dump 8095 pages to dumpdev hd (1/41): Space for only 0 pages
Dump not completed
How can I fix this? I have no boot/root floppy.
If it is a "disk... (8 Replies)
Discussion started by: nubian_sundance
8 Replies
LEARN ABOUT POSIX
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)