- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to autostart oracle
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 02:00 AM
тАО07-17-2002 02:00 AM
how to autostart oracle
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 02:04 AM
тАО07-17-2002 02:04 AM
Re: how to autostart oracle
if you want oracle to be automatically started in runlevel 3, then do the following:
ln -s /sbin/rc/name_of_your_script /etc/rc3.d/S90oracle
ln -s /sbin/rc/name_od_your_script /etc/rc2.d/K10oracle
Allways stay on the bright side of life!
Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 02:06 AM
тАО07-17-2002 02:06 AM
Re: how to autostart oracle
In /sbin/rc*.d you enter symlinks to the script. The name of the symlink specifies the order.
You probably want to start Oracle at run level 3, so add the start link to /sbin/rc3.d and the stop link to /sbin/rc2.d.
for example
/sbin/rc2.d/K100oracle -> /sbin/init.d/oracle
/sbin/rc3.d/S900oracle -> /sbin/init.d/oracle.
The config file should be located in /etc/rc.config.d
See man page of rc for more info.
HtH,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 04:34 AM
тАО07-17-2002 04:34 AM
Re: how to autostart oracle
Mark has given you the correct response.
Do not modify /sbin/rc, result could be BAD.
Check out this doc. It is for 10.x, but still applies and has some good info.
http://www.docs.hp.com/hpux/onlinedocs/os/startup.pdf
Hope this helps.
...jcd...
!!!Member has assigned points to 0 of 8 responses!!! You really need to correct this!!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-17-2002 04:56 AM
тАО07-17-2002 04:56 AM
Re: how to autostart oracle
Make sure the entry for your database SID in the /etc/oratab file ends in a capital "Y". Eg:
# $ORACLE_SID:$ORACLE_HOME:[N|Y]
#
ORCL:/u01/app/oracle/product/8.1.7:Y
The scripts for starting and stopping databases are: $ORACLE_HOME/bin/dbstart and dbshut. Net8 is started with the lsnrctl command. Add the following entries to your /etc/rc2.d/S99dbstart (or equivalent) file:
su - oracle -c "/path/to/$ORACLE_HOME/bin/dbstart" # Start DB's
su - oracle -c "/path/to/$ORACLE_HOME/bin/lsnrctl start" # Start listener
su - oracle -c "/path/tp/$ORACLE_HOME/bin/namesctl start" # Start OraNames (optional)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-18-2002 05:25 AM
тАО07-18-2002 05:25 AM