Rebbot on Solaris 5.x


 
Thread Tools Search this Thread
Operating Systems Solaris Rebbot on Solaris 5.x
# 1  
Old 06-02-2008
Rebbot on Solaris 5.x

Hi,

Can someone tell me how the shutdown process takes place for Solaris. Actually my requirement is :
Once a machine is rebooted, I need to stop all alerts during reboot. So i thought of disabling the templates which would cause alerts during reboot.

Logic built is -
before shutdown,
1: SAVE templates that are already enabled onto a file
2: DISABLE all templates

On reboot:
3: ENABLE the saved templates

For that, I edited /etc/SHUTDOWN such a way that all the enabled templates on the machine are saved onto a file, then disable all templates on the node.
Edited /etc/rc3.d/S99z_rebootcomplete such a way that after reboot, all the saved templates are enabled.
Scripts are attached...
Prob is : after reboot i find that the commands for template disable/enable are n't executed which was traced by checking teh status of the file named policy_enable which was supposed to contain the names of the templates that were enabled on the machine.


Pls help.

Thanks,
....
Login or Register to Ask a Question

Previous Thread | Next Thread

3 More Discussions You Might Find Interesting

1. Solaris

How to add Solaris text console to Solaris grub2 menu?

Hi, I am new to sloaris and just instlled the solaris 11.2, i know little more about linux, i open the /boot/grub/grub.cfg in solaris and there is many other entries forl solaris 11.2 one of them is for 'Oracle Solaris 11.2 text console' but at boot grub2 only show the first default entry that... (1 Reply)
Discussion started by: shamsat
1 Replies

2. Solaris

dual boot solaris/solaris zfs file system

Hi, I am running into a some problems creating a dual boot system of 2 solaris instances using ZFS file system and I was wondering if someone can help me out. First some back ground. I have been asked to change the file system of our server from UFS to ZFS. Currently we are using Solaris... (3 Replies)
Discussion started by: estammis
3 Replies

3. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies
Login or Register to Ask a Question