iSelfSchooling.com - Copyright © 1999-2009  References  |  Job Openings  | Login (Staff | Members)
    Home  | Search more...  | Community of Sharing Knowledge (with FREE Online Video Training)
    Oracle Syntax  | Suggestions  | Private Tutoring  | Member Collaboration  | Get Translations...

  Copyright & User Agreement

    Email2aFriend  | Homepage us! |  Bookmark

Services

 Vision/Mission

 Services

 Biography

 Contact Us

 

 FREE Training

 SQL

 PL/SQL

 Forms 

 Reports

 Other TOOLS

 Fundamentals

 Performance

 OEM

 Application Server

 Grid Control

 Articles

 Prepare for OCP

 

More to know...

Acknowledgement___

 Who is who

 University Directory

 Links...

 

 

 

 

FREE Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

BASICS

SQL | PL/SQL

DEVELOPERS

FORMS 2 | REPORTS | Other TOOLS

DBAs

FUNDAMENTALS 2 | PERFORMANCE | OEM

ADVANCE

APPLICATION SERVER | GRID CONTROL | ARTICLES 2 3 4

Advanced - Articles I

Lesson 01 | Lesson 02 | Lesson 03 | Lesson 04 | Lesson 05 | Lesson 06 | Lesson 07 | Lesson 08 | Lesson 09 | Lesson 10 | Lesson 11 | Lesson 12 | Lesson 13 | Lesson 14 | Lesson 15 | Lesson 16 | Lesson 17 | Lesson 18 | Lesson 19 | Lesson 20 | Lesson 21 | Lesson 22 | Lesson 23 | Lesson 24 | Lesson 25 | Lesson 26 | Lesson 27 | Lesson 28 | Lesson 29 | Lesson 30 | Lesson 31 | Lesson 32 | Lesson 33 | Lesson 34 | Lesson 35 |

Lesson 21

"The superior reasoning power...revealed in the incomprehensible universe, forms my idea of God."

-Albert Einstein (1879-1955)

How to change the SYSMAN user password for the Oracle Grid Control?

I installed Grid Control with a repository in the same server. It was working fine. I went to repository database and changed the SYSMAN password. Since then I have problem and my Management Server is not working. Can you please let me know what should I do?

 

You should be very careful when you change the SYSMAN password for the Oracle Grid Control. Remember that the SYSMAN user is the owner of the Enterprise Manager 10g (OEM) repository schema. Therefore not only you must change the password in the database, you should change the SYSMAN password in the Enterprise Manager configuration files too.

 

The following are the steps for changing the SYSMAN password for the Oracle Grid Control.

1. Stop the OMS instances that are associated with the repository
- change the directory to opmn/bin directory.

# cd $ORACLE_HOME/opmn/bin

- execute the opmctl control command to stop all the processes.

# opmnctl stopall

2. Change the sysman password in the database:
a. Logon to sqlplus as a dba user
b. Issue the command: alter sysman identified by newpassword;
c. Exit Sqlplus

3. On each management server host, cd to the OMS $ORACLE_HOME/sysman/config directory
a. backup the emoms.properties file
b. edit the emoms.properties file and modify the parameters;
oracle.system.eml.mntr.emdRepPwd=new_password oracle.sysman.eml.mntr.emdRepPwdEncrypted=FALSE

NOTE: When you restart the OMS, the FALSE setting will change to TRUE and the password will become encrypted in the file

4. Still on Management Repository host, cd to the AGENT_HOME/bin and stop the agent:
# ./emctl stop agent


5. Next, cd to the AGENT_HOME/sysman/emd directory
a. Edit the targets.xml file and modify the oracle_emrep target definition with the following in bold:
<Target TYPE="oracle_emrep" NAME="Management Services and Repository" VERSION="1.0">
<Property NAME="MachineName" VALUE="host.us.oracle.com"/>
<Property NAME="Port" VALUE="1521"/>
<Property NAME="SID" VALUE="sid"/>
<Property NAME="UserName" VALUE="552f2080d6d8c3c6" ENCRYPTED="TRUE"/>
<Property NAME="password" VALUE="newpassword" ENCRYPTED="FALSE"/>
..
..
b. Save the file. The TRUE value will change to FALSE and the newpassword will become encrypted when you restart the Agent.

6. Issue the command (from the Agent O_H/bin):

- Change directory to the agent directory;

# cd $ORACLE_HOME/agent
# ./emctl start agent

7. Restart each of the OMS's

- Change directory to the bin directory;

# cd $ORACLE_HOME/bin
# ./emctl start oms

8.Start the OMS instances that are associated with the repository

- change the directory to opmn/bin directory.

# cd $ORACLE_HOME/opmn/bin

- execute the opmctl control command to start all the processes.

# opmnctl startall

 

 

 
 
Google
 
Web web site