10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Looking to automate some commands to run at boot and poweroff in a startup/shutdown script.
How do I place it on the system so that it will be run automatically?
I don't want to use cron, not quite specific enough, random times when I may boot or shutdown.
---------- Post updated at 10:47 PM... (8 Replies)
Discussion started by: 3therk1ll
8 Replies
2. Shell Programming and Scripting
Hi,
We have a requirement wherein we do not want to share the Oracle DB sys and system passwords to be shared with the support desk.
But they will be responsible for starting/shuting down the Database.
Is it possible to write a shell script which will read the sys and system passwords from a... (0 Replies)
Discussion started by: narayanv
0 Replies
3. UNIX for Advanced & Expert Users
Hello.
I'm trying to get a Solaris (SunOS 5.10) shutdown and boot history. Unfortunately the /var/adm/wtmpx file does not cover the period I want to trace. It's been reset. Therefore the command, "last" (or "last reboot") does not reach back far enough.
Additionally the /var/adm/messages*... (4 Replies)
Discussion started by: etlpkby
4 Replies
4. AIX
HI i need help from seniors on this issue, i need to know how to do this, i need to update 50+ server starting saturday. below is the ticket which i have with full description.
Currently MQ Series must be stopped before and started after any reboot. Not having the start/stop as part of... (2 Replies)
Discussion started by: gulamibrahim
2 Replies
5. AIX
hi,
If we place Sxx (startup script) and Kxx(shutdown script) in /etc/rc.d/rc2.d,then it would start and stop automatically(assume they are linked to other script that actually starts/stops).
is there really a link needed here to /etc/rc.d/init.d? if not,what is the use of this directory..?... (1 Reply)
Discussion started by: to_bsr
1 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am new to Solaris.
I have installed a Solaris 10.0.
As default its shell is sh (#) and I want to modify boot records of my Solaris. I want to run some shell scripts, change shell, change PATH environment and similiar things after boot automaticially.
I don't know which files are read... (1 Reply)
Discussion started by: XNOR
1 Replies
7. AIX
I understand that by putting in entries into the /etc/inittab file. We can actually call the our scripts during startup.
mkitab "start_server:2:once:sh /scripts/startserver.sh"
Would the system wait for startserver.sh finish executing before it goes to another entry? and how long would it... (1 Reply)
Discussion started by: vincente
1 Replies
8. SuSE
Hello all
I'm trying to automate the startup/shutdown of my database whenever the OS is bounced ...
OS : Linux (Kernel : 2.4.20.-6)
Oracle : 9.2.0.5
The contents of /etc/init.d/dbora file is listed below
case "$1" in
'start')
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart"... (1 Reply)
Discussion started by: luft
1 Replies
9. Shell Programming and Scripting
Hi,
Recently I've created a script to shutdown a few hpux workstations and I found out that the script can only shutdown 1 workstation and then exit out from the loop without shutting down the rest of the workstation. The scripts is as below (brief one):
hcp_list="machine_a
... (4 Replies)
Discussion started by: zheng_soon
4 Replies
10. UNIX for Advanced & Expert Users
We have a bunch of tools, that run on linux and on unix, I've got start up scripts that bring up their license managers when the unix box boots, do I need kill scripts for when the box is shutting down? I've not seen much documentation on this, just on getting the license managers started, but... (1 Reply)
Discussion started by: kymberm
1 Replies