0% found this document useful (0 votes)
141 views7 pages

Em Howto Reset Sysman Password

This document provides steps to reset the SYSMAN password in Oracle 10gR2 Enterprise Manager. It involves shutting down the EM console, modifying the SYSMAN password using SQL Plus, verifying the new password works, reconfiguring the password in the emoms.properties file, and restarting the EM service. Troubleshooting tips for EM configuration on DHCP environments and issues with the Internet Explorer enhanced security setting are also provided.

Uploaded by

willygomez02
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
141 views7 pages

Em Howto Reset Sysman Password

This document provides steps to reset the SYSMAN password in Oracle 10gR2 Enterprise Manager. It involves shutting down the EM console, modifying the SYSMAN password using SQL Plus, verifying the new password works, reconfiguring the password in the emoms.properties file, and restarting the EM service. Troubleshooting tips for EM configuration on DHCP environments and issues with the Internet Explorer enhanced security setting are also provided.

Uploaded by

willygomez02
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 7

http://madrid9999.googlepages.

com/emhowtoresetsysmanpassword

EM HowTo Reset sysman


Password
Resetting SYSMAN's password Oracle 10gR2

1. Set environment variables

set ORACLE_HOME=yourOracleHome

set ORACLE_SID=yourSID

set PATH=$ORACLE_HOME/bin:$PATH (assuming unix OS)

2. Shutdown EM and ensure your console is completely shutdown.

emctl stop dbconsole

emctl status dbconsole

3. From a SQL plus prompt modify sysman's password

SQL> alter user SYSMAN identified by yourNewPassword;

4. Verify you can open a sqlplus session with the sysman user using the reseted

password.

sqlplus sysman/yourNewPassword

SQL>

5. Reconfigure password

a. Change directory to ORACLE_HOME/hostname_sid/sysman/config

b. Backup file emoms.properties

c. Edit the file emoms.properties

d. Look for the line beginning with:

oracle.sysman.eml.mntr.emdRepPwd=

Replace the encrypted value by the new password value


e. Look for the line:

oracle.sysman.eml.mntr.emdRepPwdEncrypted=TRUE

Replace TRUE by FALSE

6. Start the EM service

emctl start dbconsole

7. Verify the above written password has been changed to an encrypted version in the

emoms.properties file.

8. EM DB Control should be up and running by now.

EM DB Control Reconfi gure


 

Reconfiguring Enterprise Manager or rebuilding EM repository is a very common issue, as far as I

have seen on the OTN Forums, these are simple steps to reconfigure and/or rebuild EM

repository.  The port configuration is optional and should be used only in case the port is to be

changed or if there are port conflicts. 

set oracle_sid=YourInstanceName

emctl stop dbconsole

emca -deconfig dbcontrol db

emca -repos recreate

emca -config dbcontrol db

emca -reconfig ports -DBCONTROL_HTTP_PORT 80

 
EMCA reference

ORACLE_HOME/bin/emca [operation] [mode] [dbType] [flags] [parameters]

-h | --h | -help | --help: prints this help message

-version: prints the version

-config dbcontrol db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]:

configure Database Contro

l for a database

-config centralAgent (db | asm) [-cluster] [-silent] [parameters]: configure central agent

management

-config all db [-repos (create | recreate)] [-cluster] [-silent] [-backup] [parameters]: configure

both Database Control and central agent management

-deconfig dbcontrol db [-repos drop] [-cluster] [-silent] [parameters]: de-configure Database

Control

-deconfig centralAgent (db | asm) [-cluster] [ -silent] [parameters]: de-configure central agent

management

-deconfig all db [-repos drop] [-cluster] [-silent] [parameters]: de-configure both Database

Control and central agent management

-addInst (db | asm) [-silent] [parameters]: configure EM for a new RAC instance

-deleteInst (db | asm) [-silent] [parameters]: de-configure EM for a specified RAC instance

-reconfig ports [-cluster] [parameters]: explicitly reassign Database Control ports

-reconfig dbcontrol -cluster [-silent] [parameters]: reconfigures RAC Database Control deployment

-displayConfig dbcontrol -cluster [-silent] [parameters]: displays information about the RAC

Database Control configurat

ion
-upgrade (db | asm | db_asm) [-cluster] [-silent] [parameters]: upgrades an earlier version of the

EM configuration to the current version

-restore (db | asm | db_asm) [-cluster] [-silent] [parameters]: restores the current version of the

EM configuration to an earlier version

Parameters and Options:

[parameters]: [ -respFile fileName ] [ -paramName paramValue ]*

db: perform configuration operation for a database (including databases that use ASM)

asm: perform configuration operation for an ASM-only instance

db_asm: perform upgrade/restore operation for a database and an ASM instance

-repos create: create a new Database Control repository

-repos drop: drop the current Database Control repository

-repos recreate: drop the current Database Control repository and recreate a new one

-cluster: perform configuration operation for a RAC database

-silent: perform configuration operation without prompting for parameters

-backup: configure automatic backup for a database

Parameters for single instance databases

        HOST: Database hostname

        SID: Database SID

        PORT: Listener port number

        ORACLE_HOME: Database ORACLE_HOME

        HOST_USER: Host username for automatic backup

        HOST_USER_PWD: Host user password for automatic backup

        BACKUP_SCHEDULE: Automatic backup schedule (HH:MM)

        EMAIL_ADDRESS: Email address for notifications

        MAIL_SERVER_NAME: Outgoing Mail (SMTP) server for notifications

        ASM_OH: ASM ORACLE_HOME

        ASM_SID: ASM SID

        ASM_PORT: ASM port

        ASM_USER_ROLE: ASM user role


        ASM_USER_NAME: ASM username

        ASM_USER_PWD: ASM user password

        SRC_OH: ORACLE_HOME for the database to be upgraded

        DBSNMP_PWD: Password for DBSNMP user

        SYSMAN_PWD: Password for SYSMAN user

        SYS_PWD: Password for SYS user

        DBCONTROL_HTTP_PORT: Database Control HTTP port

        AGENT_PORT: EM agent port

        RMI_PORT: RMI port for Database Control

        JMS_PORT: JMS port for Database Control

Additional Parameters for cluster databases

        CLUSTER_NAME: Cluster name

        DB_UNIQUE_NAME: Database unique name

        SERVICE_NAME: Service name

        EM_NODE: Database Control node name

        EM_SID_LIST: Agent SID list [comma separated]


EM Troubleshooting
 

Configuring EM on DHCP environments. 

Dynamic IP assignment cause EM not to properly work, or work in an intermitent way.  It is

suggested to configure the loopback adapter and once done,  to reconfigure your Enterprise

Manager.

For further references on how to configure Loopback Adapter these references are recommended

http://download-west.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGCEAI

http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABGHEFB

Installing on DHCP environments

http://download-east.oracle.com/docs/cd/B19306_01/install.102/b14316/reqs.htm#BABBDGBI

In order to reconfigure Enterprise Managers


 set oracle_sid=YourInstanceName
 emctl stop dbconsole
 emca -deconfig dbcontrol db
 emca -repos recreate
 emca -config dbcontrol db

Internet Explorer Enhanced Security 

I recently faced a similar situation, IE6, this didn't show any thing. It happened that due to

security issues, this was not added as a secure site. When this feature is enabled IE asks you if

you want to add this site to the secure list. It also displays a check box, in case you want to

display this again in the future. In case this checkbox is marked, there is no prompt in the future,

and the site is not displayed. I had to reconfigure this so it could be displayed.

I have disabled the "IE Enhanced Security Option" from the windows components at the

add/remove software option from the control panel. 

 
/etc/hosts

The hostname must be properly identified by the hostname resolution mechanism, the most

commonly used is the hosts file.  At the hosts file, in case DHCP is used and in case a loopback

adapter has been configured, the IP address against which the hostname has to solved is the one

assigned to the loopback adapter.

"Error loading listener" or "HTTP 500 Internal Server Error" when accessing the DBConsole URL

This error appears when upgrading from 10.2.0.1.0 to 10.2.0.3.0.  If this is the case, read

metalink note 431519.1.

Suggested reading 

Oracle Enterprise Manager Concepts

You might also like