- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Oracle 10g startup issue
Operating System - HP-UX
1753531
Members
5673
Online
108795
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
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
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
тАО12-15-2005 04:01 PM
тАО12-15-2005 04:01 PM
Re: Oracle 10g startup issue
hi mike,
one simple way to do it is:
....
'start')
# source the system configuration variables
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
# Check to see if this script is allowed to run...
if [ "$ORACLE_START_STOP" != 1 ]; then
rval=2
else
# Execute the commands to start your subsystem
echo "/u01/app/oracle/product/8.1.7/bin/lsnrctl start "| su - oracle
echo "/u01/app/oracle/product/8.1.7/bin/sqlplus /nolog <
one simple way to do it is:
....
'start')
# source the system configuration variables
if [ -f /etc/rc.config ] ; then
. /etc/rc.config
else
echo "ERROR: /etc/rc.config defaults file MISSING"
fi
# Check to see if this script is allowed to run...
if [ "$ORACLE_START_STOP" != 1 ]; then
rval=2
else
# Execute the commands to start your subsystem
echo "/u01/app/oracle/product/8.1.7/bin/lsnrctl start "| su - oracle
echo "/u01/app/oracle/product/8.1.7/bin/sqlplus /nolog <
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 07:53 PM
тАО12-15-2005 07:53 PM
Re: Oracle 10g startup issue
There is nothing wrong with your script; is is run twice. Once as root, who changes it to run it as oracle.
The paramaters given to the script are part of the HP-UX startup paradigm ( first a start_msg to show what it's doing on the boot console, then a start to do the actual job ).
What can be the case is that your database is left in an 'unknown' state after starting and interrupting it for instance. What you have to do is: run the startup script and then do a shutdown abort. Then try again to start the database with dbora start
Good luck,
Philippe
The paramaters given to the script are part of the HP-UX startup paradigm ( first a start_msg to show what it's doing on the boot console, then a start to do the actual job ).
What can be the case is that your database is left in an 'unknown' state after starting and interrupting it for instance. What you have to do is: run the startup script and then do a shutdown abort. Then try again to start the database with dbora start
Good luck,
Philippe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-15-2005 08:32 PM
тАО12-15-2005 08:32 PM
Re: Oracle 10g startup issue
Hi Mike,
In my opinion you aren't doing the right way. You should have 5 files, for example:
/sbin/init.d/dbora10
/sbin/rc3.d/K110dbora10
/sbin/rc2.d/S990dbora10 --> this and the above file are a link to /sbin/init.d/dbora10.
/disc/.../scripts/start_boot.sh -- starts the db and services
/disc/.../scripts/stop_boot.sh -- stops the db and services
Look at my scripts (that works) at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982198
Best Regards,
Eric Antunes
In my opinion you aren't doing the right way. You should have 5 files, for example:
/sbin/init.d/dbora10
/sbin/rc3.d/K110dbora10
/sbin/rc2.d/S990dbora10 --> this and the above file are a link to /sbin/init.d/dbora10.
/disc
/disc
Look at my scripts (that works) at:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=982198
Best Regards,
Eric Antunes
Each and every day is a good day to learn.
- « Previous
-
- 1
- 2
- Next »
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