05-22-2013
Auto startup and shutdown in AIX
@bakunin
its HMC managed LPAR.
i would like to test on LAB box. need to shutdown my LPAR at some time and after that it has to start automatically after 30 min.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do i make a program run at system startup?
is there a hirarchy i have to consider?
is there any equivalent to an NT "Service" in unix?
how do you set it up?
thanx
Ron (2 Replies)
Discussion started by: exoron
2 Replies
2. 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
3. SuSE
The wtmp file records all logins and logouts. Its format is exactly like utmp except that a null user name indicates a logout on the associated terminal. Furthermore, the terminal name "~" with user name "shutdown" or "reboot" indicates a system shutdown or reboot and the pair of terminal names... (1 Reply)
Discussion started by: Laksmi
1 Replies
4. Shell Programming and Scripting
Hi all,
I have a shell script which does db shutdown ..the script snippet which does this is as follows:
function call_sql_plus {
${SQLPLUS:-sqlplus} -s /nolog <<EOF
EXIT;
EOF
if
then
echo "Error occurred while calling sqlplus "
... (3 Replies)
Discussion started by: KrishnaSaran
3 Replies
5. UNIX for Dummies Questions & Answers
Having difficulty trying to locate startup and shutdown messages. I had a bunch of servers shutdown over the weekend (due to a scheduled power outage) and upon reboot a lot of the filesystems weren't mounted and several processes weren't started...
I checked /var/adm/messages and can't locate... (2 Replies)
Discussion started by: jamie_collins
2 Replies
6. Solaris
Are rc scripts executed serially or all at the same time. Is there a way to see this happen? A log file or the syslogd?
This is Solaris 10. (2 Replies)
Discussion started by: djehresmann
2 Replies
7. 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
8. Shell Programming and Scripting
Dear Experts ,
I want to stop and Start tomcat at the time of shutdown and startup of our server . I was trying to stop tomcat with following command
# su - dm -c "/export/home/Finder/FinderWeb/jakarta-tomcat-3.3.1a/bin/shutdown.sh"
but i am getting following error. Please suggest .... (1 Reply)
Discussion started by: Amit.saini333
1 Replies
9. Shell Programming and Scripting
Hi all,
I'm writing a script to stop & start oracle:
su - oracle -c "sqlplus / as sysdba" -c "shutdown immediate">> ${log} 2>&1
The {log} refers to the log file. The part in bold gives error:
/usr/sbin/shutdown: Only root can run /usr/sbin/shutdown
Pls suggest how to correct this.
... (5 Replies)
Discussion started by: frum
5 Replies
10. UNIX for Beginners Questions & Answers
This question is more in the line of how init messages get sent to a console during startup/shutdown. My problem has to do with exporting a VM from AWS to KVM (and a retry on virtual box). I am looking for a understanding on how init messages are sent to a device and what controls them My two... (0 Replies)
Discussion started by: jtkells
0 Replies
SPLASHY(1) Splashy POSIX boot splash system SPLASHY(1)
NAME
Splashy - a user-mode, POSIX and LSB compliant, boot splashing system for UNIX.
SYNOPSIS
splashy { boot | shutdown | test | preview }
splashy_chvt { TTY_NUMBER }
DESCRIPTION
Splashy displays an image and a progress bar at boot time. When called as splashy_chvt, it allows the same functionality as the UNIX
command chvt.
OPTIONS
boot Does boot sequence. See EXAMPLES.
shutdown
Does shutdown sequence. See EXAMPLES.
test, preview
Use to test splashy without having to reboot the system. this shows a progressbar continuously moving as well as the current image
for the currently selected theme. See EXAMPLES.
EXAMPLES
"/sbin/splashy test"
Used to test splashy. Useful for testing new themes.
"/sbin/splashy boot"
Used when booting your system. This is run automatically by a initrc script during boot.
"/sbin/splashy shutdown"
Similar in spirit to boot, but run during shutdown. This is run automatically by a initrc script during shutdown.
FILES
/etc/splashy/config.xml
Main configuration. defines how splashy should be setup.
/etc/splashy/themes/default/config.xml
Default theme. defines how the images displayed by splashy should be setup, their location and other theme-related variables.
NOTES
To use splashy as chvt, make a symbolic link from splashy's location to a new path. i.e.: cd /sbin; ln -s splashy splashy_chvt
SEE ALSO
splashy_config(1), splashy_update(1), splashy-config.xml(5), splashy-theme.xml(5)
AUTHORS
Luis Mondesi <lemsx1@gmail.com>
perl v5.12.1 2010-07-05 SPLASHY(1)