HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: backup script on Hp-ux
Operating System - HP-UX
1831468
Members
3228
Online
110025
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
Forums
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
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
02-08-2002 09:30 AM
02-08-2002 09:30 AM
backup script on Hp-ux
Hi there,
I??m glad if you solve the backup script problems that I have on my environment. I??ve attached the backup script and its log. I don??t know why it is connecting 3 times to shutdown the databases and 2 times to startup them. Also the oracle 8.1.6 instance is started with other process owner (ora817) than the right one (ora816).
I??m glad if you solve the backup script problems that I have on my environment. I??ve attached the backup script and its log. I don??t know why it is connecting 3 times to shutdown the databases and 2 times to startup them. Also the oracle 8.1.6 instance is started with other process owner (ora817) than the right one (ora816).
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2002 10:22 AM
02-08-2002 10:22 AM
Re: backup script on Hp-ux
If you read the dbshut script, you can see that it parses /etc/oratab and loops to shut down each instance listed (it does in mine anyway).
Since you call it 3 times, each time as a different user, it will run the shutdown on each DB listed 3 times. This script is meant to run during boot up and should probably not be used to do scheduled DB shutdowns.
Header from script:
###################################
#
# usage: dbshut
#
# This script is used to shutdown ORACLE from /etc/rc(.local).
# It should ONLY be executed as part of the system boot procedure.
#
#####################################
I feel it's best to write your own for each DB and call as the appropriate user ID via su. My $ 0.02 anyway.
Since you call it 3 times, each time as a different user, it will run the shutdown on each DB listed 3 times. This script is meant to run during boot up and should probably not be used to do scheduled DB shutdowns.
Header from script:
###################################
#
# usage: dbshut
#
# This script is used to shutdown ORACLE from /etc/rc(.local).
# It should ONLY be executed as part of the system boot procedure.
#
#####################################
I feel it's best to write your own for each DB and call as the appropriate user ID via su. My $ 0.02 anyway.
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
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP