02-19-2009
using pca for the first time, any tips?
I am wanting to use pca to update my solaris 10 server.
I have figured out how to give it my SOA credentials, set it to auto update the pca tool and ignore a few patches I don't want to do. I have also ran:
pca -l missingrs
to list all available patches I need in the recommended and security categories.
My question is what about safe mode? Should I use that?
I am trying to figure out a way to stop logins while I run this in multiuser mode (question in another thread here) beyond that is there anything else I need to know?
Also as far as the ones that require a reboot (or for that matter a reconfigure reboot) how does it handle those? Just installs them and then tells me to reboot when it is done? Does it initiate the reboot for me at the end of the session?
Any help or suggestions are appreciated.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm running a small FreeBSD 5.1 system @ home. Whenever you log in with a normal account (not root) the system displays a random tip (commands, etc.) after the MOTD. I'd like to turn this feature off so that my custom MOTD fits on one screen. Is this posible at all? (3 Replies)
Discussion started by: McFlashbang
3 Replies
2. Tips and Tutorials
Tips and Tutorials was created partially as an overflow from our Answers to Frequently Asked Questions. We noticed that some of the info in that forum did not really answer a question that is frequently asked. We want to keep the FAQ forum small so that it is easily browsed. Also, a few users... (0 Replies)
Discussion started by: Perderabo
0 Replies
3. Solaris
hi all...
I need to know, how I can create a log when the user loggin and logout...day and hour....any person help me.....
thank you (7 Replies)
Discussion started by: chanfle
7 Replies
4. Red Hat
Hi,
I am working on a linux install to a desktop pc and will configure this onto our main server once happy with the functions etc.
I am actually a HP and AIX sys admin and was looking for the best ways to:
create a bootable file that can be copied to dvd-rw / cd-rw or to dds
be able to... (8 Replies)
Discussion started by: chlawren
8 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am new to unix and have a query. I have a text file which has a list of invoice numbers (00044779). There is some data (alphabetic) which follows this number. Than the second invoice number appears(00044898) and again some data follows.
I need a script which reads the whole file and... (3 Replies)
Discussion started by: saltysumi
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
Just writing to ask if any one can advise on what tools to use best for maintaining your scripts ... preferably free/open source and portable if there is one, that is, one that can be placed and run on a USB stick ...
At the moment, am having them in directories and files and no... (2 Replies)
Discussion started by: newbie_01
2 Replies
7. UNIX for Dummies Questions & Answers
hi...
I want some tips for standardizing shell script code... (1 Reply)
Discussion started by: xerox
1 Replies
8. Solaris
Full disclosure: this is my first time using PCA.
I'm trying to use PCA to update a Solaris 10 system, but it errors out because "patchdiag.xref is corrupt" and it is corrupted because I'm getting this instead of the actual patchdiag.xref, any ideas?
---------- Post updated at 08:16 PM... (0 Replies)
Discussion started by: thmnetwork
0 Replies
9. UNIX for Beginners Questions & Answers
Vim Tips and Tricks
Save and quit
:w => Save
:q => Exit as long as there have been no changes
:q! => Exit and ignore any changes
:wq => Save and Exit.
:x => Exit, saving changes
ZZ => Exit and save changes if any have been made
:10,20w filename => writes the... (34 Replies)
Discussion started by: ungalnanban
34 Replies
HALT(8) Linux System Administrator's Manual HALT(8)
NAME
halt, reboot, poweroff - stop the system.
SYNOPSIS
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
/sbin/reboot [-n] [-w] [-d] [-f] [-i]
/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]
DESCRIPTION
halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or power-off
the system.
If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it's running normally, shutdown will be invoked
instead (with the -h or -r flag). For more info see the shutdown(8) manpage.
The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
OPTIONS
-n Don't sync before reboot or halt. Note that the kernel and storage drivers may still sync. This implies -d.
-w Don't actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d Don't write the wtmp record.
-f Force halt or reboot, don't call shutdown(8).
-i Shut down all network interfaces just before halt or reboot.
-h Put all hard drives on the system in stand-by mode just before halt or power-off.
-p When halting the system, switch off the power. This is the default when halt is called as poweroff.
DIAGNOSTICS
If you're not the superuser, you will get the message `must be superuser'.
NOTES
Under older sysvinit releases , reboot and halt should never be called directly. From release 2.74 on halt and reboot invoke shutdown(8) if
the system is not in runlevel 0 or 6. This means that if halt or reboot cannot find out the current runlevel (for example, when
/var/run/utmp hasn't been initialized correctly) shutdown will be called, which might not be what you want. Use the -f flag if you want to
do a hard halt or reboot.
The -h flag puts all hard disks in standby mode just before halt or power-off. Right now this is only implemented for IDE drives. A side
effect of putting the drive in stand-by mode is that the write cache on the disk is flushed. This is important for IDE drives, since the
kernel doesn't flush the write cache itself before power-off.
The halt program uses /proc/ide/hd* to find all IDE disk devices, which means that /proc needs to be mounted when halt or poweroff is
called or the -h switch will do nothing.
AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl
SEE ALSO
shutdown(8), init(8)
Nov 6, 2001 HALT(8)