given any specific fix, how can I determine if the machine will require a reboot? (I don't have a window for downtime)
obvious fix's to the kernel / lvm will require a reboot ... bos.rte files etc...
is there a tool or command that I am able to run against a specific IY that will inform me if this fix requires a reboot? I only want to install a specific IY, and not the entire ML .. but I don't have downtime available?
Copy your fixes to a directory, then make this your current directory and issue an "inutoc .". A file called ".toc" will be created. For every package there is a multiline entry created, in the first line of this entry there is a single "b" or "B" if a bosboot is required.
You might want to search comp.unix.aix for "installp reboot" for this issue explained and check the AIX 5.2 (5.1) documentation for "installp" (rather lengthy) for the details of this.
You can try this by copying only one fix which you know to (not) require a reboot to a firectory and compare the various .toc-files generated by "inutoc".
this command does NOT work from the beginning ...
yes, you'll build a new .toc file
however, if you grep for the IY ... you won't show any specific b or B for that IY.
we need a "perfect solution" that can tell us ahead of time without installing the fix into the system. of course when you do it manually, the system will inform us to reboot -- this is not the desired approach.
IYXXXXX ... what command or work around will allow us to know if this needs a reboot to take effect?
Ok, i copied two sample files to a directory and did as I said. The first example is a file requiring no reboot:
now a file requiring a reboot:
Notice the difference in the third lines of the outputs:
"bos.adt.include 05.01.0000.0067 1 N U en_US...."
versus:
"bos.mp64 05.01.0000.0066 1 b U en_US...."
This "b" means "have to reboot afterwards". And, yes, it is failsafe because this flag is what is making installp initiating the reboot in first place.
Hi Guys,
I need to reboot one Server as the newly inserted disk is not getting detected in system , I have also confirmed with Sun Support and finally it was the reboot which was required after doing all troubleshooting stuff.
So I have disassembled the mirror and kept working disk's single... (3 Replies)
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Is it possible to have the user press enter to acknowledge a message
before typing in his or her login name and password? I need to add
this functionality to the CDE login, ssh, and ibm 3151 console on AIX
5.3. (0 Replies)
Hi,
Anyone got a clue? is there some tool for it? couldnt find it in apt get, anyway i hope so cos i must build a patch management tool for work:P
Greetz. (10 Replies)
Hi - How can I determine the time my system was last booted when my "wtmp" file is broken? (It is being cleaned out incorrectly, I'mm working on that issue)
ie
uptime shows invalid details and who -b shows "nothing at all"
is there a shutdown log somewhere that may indicat the last re-boot? (3 Replies)
Hi
First I want to explain the scenerio :
In my project I want to control the printing of some messages. Thats why I use
#ifdef MESSAGE
------------print message--------------
#endif
And when I compile the program with -DMESSAGE option, it shows all message and without -DMESSAGE option... (7 Replies)