Auto start on Solaris Forums - Powered by vBulletin
Results 1 to 5 of 5

Thread: Auto start on Solaris

  1. #1
    Join Date
    May 2000


    I have an Oracle database 8.1.6 running on Solaris 5.7. Earlier when it was installed it was not configured to startup automatically whenever the box was booted. So I edited the oratab file so that the instance (there is only one on the box) will come up everytime the box is booted. But seems like it is not working.

    Did I miss something here?? Can somebody point me in the right direction?

  2. #2
    Join Date
    Jun 2000
    Did you add scripts in /etc/init.d?

    Refer Oracle installation Guide please.

  3. #3
    Join Date
    Nov 2000
    In your /etc/init.d directory, you can have a script that controls the startup and shutdown of the db. For example, in /etc/init.d/oracle:
    case "$1" in
    su - oracle -c dbstart
    su - oracle -c lsnrctl start
    su - oracle -c dbshut

    Then, in your /etc/rc2.d directory, you have to create links that will run the oracle script on startup and shutdown of the system. (The K script is run when the system is going down and the S script runs when the system is coming up. Case is very important)
    ln -s /etc/init.d/oracle S88oracle
    ln -s /etc/init.d/oracle K88oracle
    Jeff Hunter
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  4. #4
    Join Date
    Oct 2000
    Saskatoon, SK, Canada
    The steps on installing the auto start script are well explained in the oracle 8.1.6 installation guide, page 4-4
    under post installation options. Check that out.


  5. #5
    Join Date
    May 2000
    Thank you works now...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width