11-02-2002
First, It is very important that any database startup before the application assoc with it will be able to run properly. My understanding is that an App tries to send threads out to the DB to establish connection to it. So this can't be done if the DB is not running.
Second, the /sbin/rc3.d directory is a representation of what processes start based on runlevel for HPUX. There is one for each runlevel in HPUX. (/sbin/rc0.d thru rc4.d) the last one, rc4.d, is generally used only for development and testing of scripts at least for me.
My DBAs have the DB start in /sbin/rc3.d at boot time and the lsnrs for data as well. Yours may be started differently, via crontab. My DB runs 24/7 so that may be the difference.
All other major UNIX brands have something similar to this. Where processes are either started or killed based on the runlevel and whether the system is going up or coming down.
Last edited by Kelam_Magnus; 11-02-2002 at 02:04 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Would you run the ‘identd' daemon on UNIX servers? can you please Explain.
thanks in advance! (3 Replies)
Discussion started by: xoxouu
3 Replies
2. Shell Programming and Scripting
I have simple shell script that I run as cron job every hour of the day. I would like to make it a daemon that runs far more frequently like every 30 seconds or so, but I have never made daemon before. How can I do this?
-Sam (7 Replies)
Discussion started by: Sammy_T
7 Replies
3. Red Hat
Hi All,
Hope this is right area to ask this question.
I have a shell script (bash) "wrapper.sh", which contains few simple shell command
which executes a "server.sh" (conatins code to execute a java server) as a daemon.
Now what I want to kill this "server.sh" so that the server should... (2 Replies)
Discussion started by: jw_amp
2 Replies
4. Shell Programming and Scripting
I am trying to create a service to always run and monitor a script that has a tendency to hang, we could not find what is causing it to hang so are in the process of completely reprogramming just about everything, however, that will take upto 6 months.
So I need to create this to monitor the... (5 Replies)
Discussion started by: ukndoit
5 Replies
5. Shell Programming and Scripting
Hi,
HI ,
I have a simple script that moves files from one folder to another folder, I have already done the open-ssh server settings and the script is working fine and is able to transfer the files from one folder to another but right now I myself execute this script by using my creditianls to... (3 Replies)
Discussion started by: nks342
3 Replies
6. Shell Programming and Scripting
Hi,
I have one query that is suppose if I have a script that pick up some files from source folder and put it into destination folder , and I want this script to run after every 1 hour, to make it configurable as per that I have options like crontab and nohup but when I test this script I have to... (2 Replies)
Discussion started by: nks342
2 Replies
7. AIX
We encounted the following err msg
and then use
to fix this issue.
But before I finish the ipcrm cmd,the AIX systerm was restarted by using
.
After this,the cicscp cmd failed with the following:
I've tried execute it under debug mode,but got no useful information.
Who... (0 Replies)
Discussion started by: tiger_wen
0 Replies
8. UNIX for Advanced & Expert Users
Hello Gurus,
In solaris server, one folder say /appl/prod/usr/sendme get files those need to be processed. The script named checkFile.sh can process the each file.
This script checkFile.sh is not scheduled in crontab. But whenever file puts in sendme folder, the checkFile.sh is called and... (1 Reply)
Discussion started by: get_chandrakant
1 Replies
9. Shell Programming and Scripting
Say i have a simple example:
root@server # cat /root/scripts/test.sh
while sleep 5
do
echo "how are u mate" >> /root/scripts/test.log
done
root@server #
Instead of using rc.local to start or another script to check status, I would like make it as daemon, where i can do the following:
... (2 Replies)
Discussion started by: timmywong
2 Replies
10. HP-UX
Whenever I tried to login as a root the following message is consecutively appearing
esmd: System Error: The EVM daemon has failed and cannot be restarted
I check the patches which and all previously installed. But those are correctly present. And I replace the evmstop and evmstart script... (0 Replies)
Discussion started by: siva3492
0 Replies
LEARN ABOUT LINUX
startup
startup(7) Miscellaneous Information Manual startup(7)
NAME
startup - event signalling system startup
SYNOPSIS
startup [ENV]...
DESCRIPTION
The startup event is generated by the Upstart init(8) daemon after it has completed its own initialisation and is the signal that the rest
of the system may be started.
Typically this will involve checking and mounting the partitions and drives that form the filesystem, loading drivers for connected devices
and starting the X windowing system or other login environment.
In the default Upstart configuration, the primary task run on the startup event is the /etc/init/rc-sysinit.conf job responsible for gener-
ating the System V compatible runlevel(7) event. See that page for a more detailed explanation of this process.
Paradoxically there is currently no corresponding Upstart-native event signifying that the system is to be shutdown, only the System V com-
patible runlevel 0 and runlevel 6 events provide this functionality.
EXAMPLE
A service with no other dependencies run on startup might use:
start on startup
SEE ALSO
runlevel(7) init(8)
Upstart 2009-07-09 startup(7)