- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Init scripts for Oracle startup/shutdown on reboot...
Operating System - HP-UX
1819743
Members
3150
Online
109606
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
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
тАО03-16-2011 12:40 PM
тАО03-16-2011 12:40 PM
Init scripts for Oracle startup/shutdown on reboot new twist
I've read an older forumn about dbora and it's location and starting up. But my machine is different and I am puzzled by it.
I have HP-UX 11.31 u ia64 running. My init.d
file is under /sbin not etc. I see combinations of S & K scripts in the rc2,rc3,rc0.d directories.
my dbora is under /sbin/init.d/dbora, as root
I issue a ./dbora stop and all works, I write
to a startup or shutdown log.
When I issue a shutdown -r now, of course the
database is shutdown and doesn't come up.
Does any one know what the correct rcX. d the links should be made in ? is my shutdown command correct ?
Appreciate your help.
I have HP-UX 11.31 u ia64 running. My init.d
file is under /sbin not etc. I see combinations of S & K scripts in the rc2,rc3,rc0.d directories.
my dbora is under /sbin/init.d/dbora, as root
I issue a ./dbora stop and all works, I write
to a startup or shutdown log.
When I issue a shutdown -r now, of course the
database is shutdown and doesn't come up.
Does any one know what the correct rcX. d the links should be made in ? is my shutdown command correct ?
Appreciate your help.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-16-2011 01:14 PM
тАО03-16-2011 01:14 PM
Re: Init scripts for Oracle startup/shutdown on reboot new twist
Shalom,
Oracle scripts should not be ever run by root.
Never.
Any scripts performing this function need to use su to become oracle and execute under oracle.
/usr/bin/su - oracle -c "command:
/sbin/init.d is the same as /etc/init.d under Linux. This is where the init scripts linked to in rc3 and rc2 should link.
SEP
Oracle scripts should not be ever run by root.
Never.
Any scripts performing this function need to use su to become oracle and execute under oracle.
/usr/bin/su - oracle -c "command:
/sbin/init.d is the same as /etc/init.d under Linux. This is where the init scripts linked to in rc3 and rc2 should link.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-17-2011 05:57 AM
тАО03-17-2011 05:57 AM
Re: Init scripts for Oracle startup/shutdown on reboot new twist
SEP is right.
Another thing to consider is the sequence of the startup scripts. You cannot start oracle before starting a process / demon on which oracle depends. A crude example: disks must be up before the database can be started.
Also don't forget about oracle sqlnet / listener and network dependancies.
Another thing to consider is the sequence of the startup scripts. You cannot start oracle before starting a process / demon on which oracle depends. A crude example: disks must be up before the database can be started.
Also don't forget about oracle sqlnet / listener and network dependancies.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-18-2011 07:51 AM
тАО03-18-2011 07:51 AM
Re: Init scripts for Oracle startup/shutdown on reboot new twist
"dbora" is the standard name for Oracle DB startup/shutdown script examples provided by Oracle (and others).
In modern versions of Oracle, the example scripts already include the necessary "su" commands.
Examples of examples:
http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
http://www.remote-dba.net/t_grid_db_startup_shutdown.htm
As Raynald says, the correct ordering depends on your system configuration. Disks must be up before database can be started, and database must be up before starting an application that uses the database.
Likewise, the shutdown should happen in the reverse order: the applications must stop first, then the database, and the disks will be among the last.
MK
In modern versions of Oracle, the example scripts already include the necessary "su" commands.
Examples of examples:
http://www.oracle-base.com/articles/linux/AutomatingDatabaseStartupAndShutdownOnLinux.php
http://www.remote-dba.net/t_grid_db_startup_shutdown.htm
As Raynald says, the correct ordering depends on your system configuration. Disks must be up before database can be started, and database must be up before starting an application that uses the database.
Likewise, the shutdown should happen in the reverse order: the applications must stop first, then the database, and the disks will be among the last.
MK
MK
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP