Automatically Start
DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Automatically Start

  1. #1
    Join Date
    Feb 2003
    Posts
    24

    Automatically Start

    Hi all,

    Please help me..

    I have 5 databases in Solaris Unix,
    How to make all the databases and the listener to restart automatically when the server is restarted? Which file and location need to be modified?

    I am not familiar in Unix system, in Windows - it will be in administrator tool/ services - then make it automatic mode.

    Please help


    Thank and regards,
    Robby

  2. #2
    Join Date
    Nov 2000
    Location
    greenwich.ct.us
    Posts
    9,092
    look at install docs. You have to put a link in /etc/rc2.d.
    Jeff Hunter
    marist89@yahoo.com
    http://marist89.blogspot.com/
    Get Firefox!
    "I pledge to stop eating sharks fin soup and will not do so under any circumstances."

  3. #3
    Join Date
    Jun 2003
    Location
    India
    Posts
    118
    In linux I did following and hope this will work will SUN also

    1. there should be a file oratab in etc directory changed the setting to Y.

    2. write a script which will further call to scripts DBSTART and DBSHUT(For starting and shutting down

    3. save this script into /etc/rc.d/init.d directory

    4. Make it executable by chmod -

    5. issue command chkconfig --add scriptname

    6. restart the server.

    hope this work
    vishal sood
    OCP 8

  4. #4
    Join Date
    Sep 2002
    Location
    England
    Posts
    7,333

    Post

    linux is different to Solaris - i.e no chkconfig, dont confuse the poor chap

    Your directories are also wrong - it is /etc/init.d (on linux and sun)

    also dbstart and dbshut arent particularly good - write your own

    Read the manuals, its all in there

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