Skip to Main Content

Database Software

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!

Start data guard observer in the background

Tom321Feb 18 2014 — edited Feb 19 2014

Hi,

is there a way to start the data guard observer in the background, without showing the db credentials in the process list?

The usually recommended way is to start it with a command similar to this:

nohup dgmgrl sys/XXX@dgtest "start observer" &


A simple ps sadly shows the sys password:

oracle@rac-prod1:~$ ps -ef | grep dgmgrl

  oracle 10225  9549   0 13:31:37 pts/1       0:00 grep dgmgrl

  oracle 10072  9549   0 13:31:10 pts/1       0:00 dgmgrl sys/XXX@dgtest start observer

How can i prevent this? How do you start & run your observer?

Regards

Thomas

This post has been answered by mseberg on Feb 18 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 19 2014
Added on Feb 18 2014
2 comments
1,258 views