Unable to start EM on Solaris 10 Oracle db 10.2 [message #398945] |
Sun, 19 April 2009 23:56 |
sailesh
Messages: 72 Registered: September 2007 Location: MAURITIUS
|
Member |
|
|
Hi,
I am unable to start my em console on oracle 10g R2. I have set up a test database from my live environment. Both database are in open mode. They are similar except the hostname are not the same. when i am starting the em on the test database. it is referencing on the live database. the hostname of the live database is appearing on the em of the test database. moreover, i am able to log in as system on the test database and that it. if i try to move to the next features on the em, it send it on the login page of the em.
i have try to recreate the DB Control configuration and repository,
but still it does not work.
Please help???????????
sailesh
|
|
|
|
|
Re: Unable to start EM on Solaris 10 Oracle db 10.2 [message #399026 is a reply to message #399013] |
Mon, 20 April 2009 05:34 |
sailesh
Messages: 72 Registered: September 2007 Location: MAURITIUS
|
Member |
|
|
Hi,
I have been able to solve the problem, follow the procedures below:
1. Logon sqlplus as sys
2. drop user sysman cascade;
3. drop role MGMT_USER;
4. drop user MGMT_VIEW cascade;
5. drop public synonym MGMT_TARGET_BLACKOUTS;
6. drop public synonym SETEMVIEWUSERCONTEXT;
7. exit sqlplus
Delete DB Control Configuration Files using EMCA scripts
In 10.2g run, $emca -deconfig dbcontrol db
Create Database Console
To create the configuration files and repository for Database Console, run:
$ emca -config dbcontrol db -repos create
Now it should work, because for me it is working.
Here is the log:
2006-01-09 10:06:42 Thread-1 WARN http: snmehl_connect: connect failed
to (i2dbuat:1830): A remote host refused an attempted
connect operation. (error = 79)
2006-01-09 10:06:48 Thread-1 WARN http: snmehl_connect: connect failed
to (i2dbuat:5500): A remote host refused an attempted
connect operation. (error = 79)
2006-01-09 10:07:12 Thread-1 ERROR http: 6: snmehl_read: error on read:
A connection with a remote socket was reset by that s
ocket. (error = 73)
2006-01-09 10:08:47 Thread-1 WARN http: snmehl_connect: connect failed
to (i2dbuat:5500): A remote host refused an attempted
connect operation. (error = 79)
2006-01-09 10:11:18 Thread-1 WARN http: snmehl_connect: connect failed
to (i2dbuat:5500): A remote host refused an attempted
connect operation. (error = 79)
2006-01-09 10:13:48 Thread-1 WARN http: snmehl_connect: connect failed
to (i2dbuat:5500): A remote host refused an attempted
connect operation. (error = 79)
|
|
|
|
|
|
Re: Unable to start EM on Solaris 10 Oracle db 10.2 [message #399076 is a reply to message #399061] |
Mon, 20 April 2009 08:04 |
sailesh
Messages: 72 Registered: September 2007 Location: MAURITIUS
|
Member |
|
|
hi babu,
Please find the errors:
Test#more emca_2009-04-17_07-00-35-PM.log
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /oracle/app/oracle/product/10.2
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Apr 17, 2009 7:00:35 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /oracle/app/oracle/product/10.2
Apr 17, 2009 7:00:38 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: cnp1
Apr 17, 2009 7:00:38 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Apr 17, 2009 7:00:38 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: This is expected, as we might be calling it from a non-rac home
Apr 17, 2009 7:00:38 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Error retrieving the local node for the cluster
Thanks,
Sailesh
|
|
|
|