how to add a run control script..?
Answer / c. anthony francis
The following procedure describes how to add a run control
script:
1.. Create the script in the /etc/init.d directory.
#Vi /etc/init.d/<filename>
#chmod 744 /etc/init.d/<filename>
#chgrp sys /etc/init.d/<filename>
2. Create links to the appropriate /etc/init.d directory.
# cd /etc/init.d
# ln filename /etc/rc#.d/S##filename
# ln filename /etc/rc#.d/K##filename
For instance, you might link a file in /etc/init.d called
database to a file called /etc/rc3.d/S99database, with a
corresponding stop script called /etc/rc3.d/K99database.
3. Use the ls command to verify that the script has links
in the appropriate directories.
# ls -li /etc/init.d/filename
# ls -li /etc/rc#.d/S##filename
# ls -li /etc/rc#.d/K##filename
4. Test the filename by performing the following commands:
# /etc/init.d/filename start
| Is This Answer Correct ? | 2 Yes | 0 No |
For maintenance purpose the system will be down and up as per weekly or monthly in production mode ,what are the needed points to mind ,what are that?
How can u configure two DHCP and Two DNS servers r there and u have 100's of users then 1st system takes which DHCP server and which DNS sever
The NIC is failed in Cluster configuration. what is state of service group.whether NIC resource probed,if so how many times probed?
how to add patched to the kernel
how u can perform security to users?
what is file system ?can u explain briefly ?
What is a Split brain scenario ?
what r the files need to edit for DNS configuration..?
In remote support environment not able to ping one solaris server .What are the necessary steps you will do ?
if u have given to install Solaris on Intel machine with more fast (70% to 80% compare to SPARC) then how can u install
Does "AMD Turion 64 X2 Processor TL50, 1.6 GHz and above" supports Solaris 10?.
After installing kernal patch if system crashed,then how to recover?