![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting Started in CEP: How to Build an Event Processing Application (Slides) | iBot | Complex Event Processing RSS News | 0 | 09-23-2007 09:50 AM |
| Getting Started in CEP: How to Build an Event Processing Application (Part 1) | iBot | Complex Event Processing RSS News | 0 | 07-19-2007 02:10 AM |
| Start and stop of an application thru shell scripts. | sadha | Shell Programming and Scripting | 1 | 05-08-2006 06:36 AM |
| where to put an application if i want to start it on start up | shukla_chanchal | Linux | 3 | 11-03-2005 07:12 PM |
| how do i auto start application upon startup? | doofie | UNIX for Dummies Questions & Answers | 2 | 04-01-2004 06:20 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Who can tell me how I can see to it that a application doesn't try to start it's processes untill Oracle has completely started.
Thanx. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
The exact answer depends on which OS you are running. But these days most unix variants have a series of little start up scripts that are run in order according to the name of the script. If you look at your start up scripts, it should be fairly obvious.
|
|
#3
|
|||
|
|||
|
Thank you for your reply, but the boot sequence is OK. It just doesn't seem to wait for one (Oracle) to completely start up, before it tries to start up the next one.[
QUOTE]Originally posted by Perderabo The exact answer depends on which OS you are running. But these days most unix variants have a series of little start up scripts that are run in order according to the name of the script. If you look at your start up scripts, it should be fairly obvious. [/quote] |
|
#4
|
||||
|
||||
|
First, post what OS and version.
Second, post how you are starting these two processes - include, if applicable, the lines from the script(s). Post if the processes are started from the same script, or two different ones. As a suggestion (since the information isn't yet known), you could look for the first process id from the script running the second process (modify your script to write it to a file, or create a temp file that the second script waits to be delete before starting to run) and use either the sleep command or wait command while waiting for the first to finish. Example: First script starts first Oracle process: change it to create a temp file touch /tmp/Oracle1.tmp At the end of the script, remove the temp file. Second script starts second Oracle process: Checks to see if the file exists - if it does, sleep for xx amount of time and then check again. Once the file is removed, the second script will start the second process. If your OS, as Perderabo has mentioned, uses different scripts in startup, then it's also just as easy to find how much time you need to wait and just put the second script in a 'later' start by changing the number of the script (S99 versus S01). |
||||
| Google The UNIX and Linux Forums |