- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Oracle does not start automatically after a reboot
Operating System - HP-UX
1752799
Members
5854
Online
108789
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-16-2007 12:25 PM
05-16-2007 12:25 PM
Oracle does not start automatically after a reboot
Hello forum,
I have a hpux11.11 box running oracle10g and I need to configure oracle to startup automatically after a reboot.
I configure /sbin/init.d/oracle
wich I tested manually and it works.
configure
/etc/oratab
/etc/rc.config.d/oracle
create links
from rc1.d
K100oracle -> /sbin/init.d/oracle
from rc3.d
S990oracle -> /sbin/init.d/oracle
reboot the servers but the database is not up and /etc/rc.log I get error:
Output from "/sbin/rc3.d/S990oracle start":
----------------------------
/sbin/rc3.d/S990oracle [21]: su: not found.
/sbin/rc3.d/S990oracle [23]: su: not found.
"/sbin/rc3.d/S990oracle start" FAILED
Am i trying to start the oracle to early?
The command the script is using to start/shutdown are:
'start') # Start the Oracle databases and listeners
su - oracle -c "/opt/oracle/product/10.2/bin/dbstart"
su - oracle -c "/opt/oracle/product/10.2/bin/lsnrctl start"
;;
'stop') # Stop the Oracle databases and listeners
su - oracle -c "/opt/oracle/product/10.2/bin/lsnrctl stop"
su - oracle -c "/opt/oracle/product/10.2/bin/dbshut"
I have a hpux11.11 box running oracle10g and I need to configure oracle to startup automatically after a reboot.
I configure /sbin/init.d/oracle
wich I tested manually and it works.
configure
/etc/oratab
/etc/rc.config.d/oracle
create links
from rc1.d
K100oracle -> /sbin/init.d/oracle
from rc3.d
S990oracle -> /sbin/init.d/oracle
reboot the servers but the database is not up and /etc/rc.log I get error:
Output from "/sbin/rc3.d/S990oracle start":
----------------------------
/sbin/rc3.d/S990oracle [21]: su: not found.
/sbin/rc3.d/S990oracle [23]: su: not found.
"/sbin/rc3.d/S990oracle start" FAILED
Am i trying to start the oracle to early?
The command the script is using to start/shutdown are:
'start') # Start the Oracle databases and listeners
su - oracle -c "/opt/oracle/product/10.2/bin/dbstart"
su - oracle -c "/opt/oracle/product/10.2/bin/lsnrctl start"
;;
'stop') # Stop the Oracle databases and listeners
su - oracle -c "/opt/oracle/product/10.2/bin/lsnrctl stop"
su - oracle -c "/opt/oracle/product/10.2/bin/dbshut"
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2007 01:11 PM
05-16-2007 01:11 PM
Re: Oracle does not start automatically after a reboot
Hello forum,
I have found the solution of my problem.
During boot up the system does not find "su" so I have to use
"/usr/bin/su" on the startup script instead.
thanks,
I have found the solution of my problem.
During boot up the system does not find "su" so I have to use
"/usr/bin/su" on the startup script instead.
thanks,
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP