![]() |
Cannot run auto shutdown script for oracle database
Dear all,
The situation is like this, in order to do full backup system, i have to shutdown the oracle database. My backup software can stop the services by running the shutdown script. But in order to shutdown the oracle database, the script must be run under oracle privilege. The conflict is our backup system which is reside under root privilege cannot run the oracle shutdown script which is needed to triggered by oracle privilege. |
Then how does the oracle shutdown work during server shutdown when the shutdown script is run as root?
root can su without supplying a password so the general technique in boot/shutdown scripts is Code:
su <appropriate user name> <service/daemon control command> Code:
su - $ORA_OWNR -c <some oracle command> |
All times are GMT -5. The time now is 03:04 PM. |