Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

AutoStart / AutoStop in Linux

AmiWFeb 11 2021 — edited Feb 11 2021

Running DB 19c on RHEL
I followed this Oracle Doc(https://docs.oracle.com/en/database/oracle/oracle-database/19/unxar/stopping-and-starting-oracle-software.html#GUID-CA969105-B62B-4F5B-B35C-8FB64EC93FAA) and was able to setup the dbora. However when I run service dbora stop or service dbora start I get the prompt for su password. If I don't type in the root password, it gave me an Authentication failure and it just errors out (did not stop or start db). Is it because my ORA_OWNER is not a admin in that box?
The topic on the Doc is automating database shutdown and startup, I figure it's used like Windows service, is it not? Or during a server reboot, we can call the service to start up Oracle DB automatically?
What is the correct way to run the dbora without requiring password?
Thank you

Comments
Post Details
Added on Feb 11 2021
2 comments
593 views