EMCA Error; DatabaseUnavailableException
Hi Guys,
I have installed Oracle 11gR2 on Windows 7 professional. I created a DB and a listener also.
No issues there; I can connect to the DB with sqlplus and SQL Developer.
But when I try to configure dbcontrol on this DB, it fires errors;
C:\Windows\system32>emca -config dbcontrol db
STARTED EMCA at Jun 7, 2012 2:20:15 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORA112
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableExcep
tion: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(Databas
eChecks.java:151)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChe
cks.java:144)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.
java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.jav
a:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAss
istant.java:1272)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.jav
a:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
In the emca log file there are different errors;
Jun 7, 2012 2:20:18 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Couldn't get listener port. File e:\Oracle\product\11.2.0\dbhome_1\sanjaya_null\sysman\config\emoms.properties does not exists
Jun 7, 2012 2:20:18 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SERVICE_NAME.
Jun 7, 2012 2:20:18 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Jun 7, 2012 2:20:18 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Jun 7, 2012 2:20:18 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: ORA112, oracleHome: e:\Oracle\product\11.2.0\dbhome_1, and user:
Jun 7, 2012 2:20:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: ORA-01031: insufficient privileges
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1655)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:978)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngineLoacly(GeneralUtil.java:445)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:637)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:118)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1272)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:574)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:522)
It says, "Couldn't get listener port". How this can happen?
Regards,
Issue was due to DHCP networking.
I was on DHCP. So I created a loopbak network device and assigned the IP 10.10.10.10.
I removed all the other entries related to my machine's name from hosts file. And added one entry with new loopbak IP (10.10.10.10).
Now everything's working fine.
Regards,
Similar Messages
-
Hi,,
I have drop the emca through command line. Now when i create the repos it is showing the error
[oracle@HMCSDS02V01 bin]$ emca -config dbcontrol db -repos create
STARTED EMCA at Nov 12, 2010 9:46:19 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:151)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:139)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:163)
at oracle.sysman.emcp.DatabaseChecks.getDbServiceName(DatabaseChecks.java:582)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1267)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:573)
at oracle.sysman.emcp.EMConfigAssistant.main(
EMConfigAssistant.java:521)
[oracle@HMCSDS02V01 bin]$
Please assist me on this..
Regards
BobsIs your listener running?
Please look at:
*How to Troubleshoot EMCA Failures Due to Connectivity Issue to Database [ID 1106623.1]*
The only thing I can think is that either your database is not running or your environment is not set correctly.
So please make sure your PATH, ORACLE_SID and ORACLE_HOME are set correclty, your database is started and your listener is running.
also look at
EMCA Fails With Error "ORA-01034: ORACLE not available" and "Invalid username/password." For DBSNMP User [ID 550484.1]Regards.
Edited by: user11150436 on Nov 12, 2010 4:51 PM -
how to solve the warning and severe error....................
[oracle@ip-********* Oracle11g_R2]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 10:20:41 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 10:22:13 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM
Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
Could not complete the configuration. Refer to the log file at
/u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_22_20_40.log for more details.
[oracle@ip-******* Oracle11g_R2]$ cdtried but getting the same error.............
[oracle@ip-10-68-199-69 oracle]$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 29-MAR-2012 23:37:21
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=localhost)(PORT=1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 29-MAR-2012 23:37:21
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u02/oracle/Oracle11g_R2/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u02/oracle/Oracle11g_R2/diag/tnslsnr/ip-10-68-199-69/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@ip-10-68-199-69 oracle]$ sqlplus
SQL*Plus: Release 11.2.0.1.0 Production on Thu Mar 29 23:37:34 2012
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Enter user-name: sys/Ashwin
ERROR:
ORA-28009: connection as SYS should be as SYSDBA or SYSOPER
Enter user-name: sys/Ashwin as sysdba
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> startup
ORA-01081: cannot start already-running ORACLE - shut it down first
SQL> shutdown abort
ORACLE instance shut down.
SQL> startup
ORACLE instance started.
Total System Global Area 1603411968 bytes
Fixed Size 2213776 bytes
Variable Size 402655344 bytes
Database Buffers 1191182336 bytes
Redo Buffers 7360512 bytes
Database mounted.
Database opened.
SQL> exit
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@ip-10-68-199-69 oracle]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Mar 29, 2012 11:55:28 PM
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: testdb11g3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMDBPreConfig performDeconfiguration
WARNING: EM is not configured for this database. No EM-specific actions can be performed.
Mar 29, 2012 11:55:57 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details.
Could not complete the configuration. Refer to the log file at /u02/oracle/Oracle11g_R2/cfgtoollogs/emca/testdb11g3/emca_2012_03_29_23_55_27.log for more details. -
Emca error with 11gR2 on OEL 5.4
Hi,
I am trying to manually configure dbconsole on a new DB instance.
emca -config dbcontrol db -repos recreate
After having entered the required parameters (well, I am actually using a rsp file), the process fails with the following:
SEVERE: Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again .
Of course, the listener is running and ezconnect connection to the DB works perfectly.
I am rather stuck with this error and I am looking forward an helping hand...
RgdsMaybe bug 8638267
From the 11gR2 README file (under Open Bugs):
Bug 8638267
If you select the "Desktop Class" style database configuration in the Installer, and after completing the installation you attempt to create a database using DBCA or any DBControl setup using Enterprise Manager Configuration Assistant (EMCA), then you must set the ORACLE_HOSTNAME environment variable to 'localhost'. If you do not set ORACLE_HOSTNAME, then DBCA fails while configuring Enterprise Manager with the following error:
Listener is not up or database service is not registered with it. Start the Listener and register database service and run EM Configuration Assistant again.
Workaround: Set the ORACLE_HOSTNAME environment variable to 'localhost' and retry creating the database.
http://download.oracle.com/docs/cd/E11882_01/readmes.112/e11015/toc.htm
Werner
Edited by: oradba on Dec 16, 2009 2:45 PM -
11g1 installed but error starting/installing emca
I've seen no instruction in the docs that says to create any environment variable like
ORACLE_HOME. In one of the messages it syas that the script created ORACLE_HOME but
ORACLE_HOME does not appear in the environment. YES I have rebooted!
The path was augmented by the oracle BIN directory during the initial install.
BTW I did add ORACLE_HOSTNAME to the environment. I specified that it be my computer name.
Question is : what do I do to fix this error???
I did as standard an install as I could but...
(1) installed 11g1 on Win XP Pro SP3.
(2) 11g1 database is working through
(a) command line sqlplus
(b) PHP
(c) OCI C++ program
(3) install error :
EM config failed due to the following error:
Error starting database control
log file:
C:\app\landonkelsey\cfgtoollogs\dbca\LMKIIIGDN\emConfig.log
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.util.CentralAgentUtil getURLAndCentralAgentHome
CONFIG: URL and Central Agent home : {}
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.util.CentralAgentUtil getCentralAgentHomeAndURL
CONFIG: Central Agent home and URL: {}
Sep 19, 2009 3:40:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Sep 19, 2009 4:01:59 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LOG_FILE value: C:\app\landonkelsey\cfgtoollogs\dbca\LMKIIIGDN\emConfig.log
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: HOST value: landon
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: LMKIIIGDNSID
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER value: LISTENER
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: LISTENER_OH value: C:\app\landonkelsey\product\11.1.0\db_1
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: C:\app\landonkelsey\product\11.1.0\db_1
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: C:\app\landonkelsey\product\11.1.0\db_1
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to false
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-backup' set to false
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to false
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :C:\app\landonkelsey
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\landonkelsey\cfgtoollogs\emca\emca_2009_09_19_15_40_04.log to C:\app\landonkelsey\cfgtoollogs\emca\LMKIIIGDN\emca_2009_09_19_15_40_04.log
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\landonkelsey\cfgtoollogs\dbca\LMKIIIGDN\emConfig.log.
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Sep 19, 2009 4:02:04 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:08 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: DBSNMP
Sep 19, 2009 4:02:11 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:11 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 19, 2009 4:02:11 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:12 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:12 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Sep 19, 2009 4:02:12 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 19, 2009 4:02:12 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Sep 19, 2009 4:02:12 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Sep 19, 2009 4:02:13 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:14 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:16 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 2720994149
Sep 19, 2009 4:02:16 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 19, 2009 4:02:16 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:16 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:22 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:22 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Sep 19, 2009 4:02:25 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Sep 19, 2009 4:02:26 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: LMKIIIGDN
Sep 19, 2009 4:02:26 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties.emca.tmp
Sep 19, 2009 4:02:26 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties has been copied to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties.emca.tmp
Sep 19, 2009 4:02:27 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties.emca.tmp
Sep 19, 2009 4:02:27 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties has been copied to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties.emca.tmp
Sep 19, 2009 4:02:27 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_RECONFIG' set to false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 agentHome: null isCentral: false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 isDBC: false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_CENTRAL_AGENT_CONFIGURED' set to false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'IS_DBCONTROL_CONFIGURED' set to false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 isDBC: false
Sep 19, 2009 4:02:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter PORTS_FILE.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT.
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.OUIInventoryUtil setOUILoc
CONFIG: Setting oracle.installer.oui_loc to C:\app\landonkelsey\product\11.1.0\db_1\oui
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Homes to scan for used ports: [C:\app\landonkelsey\product\11.1.0\db_1]
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Searching all DBConsole instances for used ports under ORACLE_HOME C:\app\landonkelsey\product\11.1.0\db_1
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: null from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: null from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole
Sep 19, 2009 4:02:29 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: null from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking JMS port: 5540 from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole_landon_LMKIIIGDNSID
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking RMI port: 5520 from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole_landon_LMKIIIGDNSID
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking HTTP port: 1158 from C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole_landon_LMKIIIGDNSID
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager getAgentPort
CONFIG: Cannot parse EMD_URL correctly. No port identified
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Marking Agent port: null from C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager markAllUsedPorts
CONFIG: Cannnot parse EMD_URL correctly. No port identified
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.FileUtil getProperties
CONFIG: Error reading file C:\app\landonkelsey\product\11.1.0\db_1\install\staticports.ini
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.util.PortManager getFreePorts
CONFIG: C:\app\landonkelsey\product\11.1.0\db_1:landon:null:LMKIIIGDNSID:{}:null:{DBCONTROL_HTTP_PORT=1158, RMI_PORT=5521, JMS_PORT=5541, AGENT_PORT=3938}
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter AGENT_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: AGENT_PORT_LMKIIIGDNSID value: 3938
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBCONTROL_HTTP_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBCONTROL_HTTP_PORT_LMKIIIGDNSID value: 1158
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter JMS_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: JMS_PORT_LMKIIIGDNSID value: 5541
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter RMI_PORT_LMKIIIGDNSID.
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: RMI_PORT_LMKIIIGDNSID value: 5521
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.EMDBPreConfig getFreePorts
CONFIG: Ports assigned for SID: LMKIIIGDNSID : {DBCONTROL_HTTP_PORT=1158, RMI_PORT=5521, JMS_PORT=5541, AGENT_PORT=3938}
Sep 19, 2009 4:02:30 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:02:31 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 19, 2009 4:02:31 PM oracle.sysman.emcp.EMDBPreConfig copyAgentTimeStampFile
CONFIG: File: C:\app\landonkelsey\product\11.1.0\db_1\landon_LMKIIIGDNSID\sysman\emd\agntstmp.txt:landon does not exists.
Sep 19, 2009 4:02:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 19, 2009 4:02:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:02:32 PM oracle.sysman.emcp.EMReposConfig unlockAccounts
CONFIG: Unlocking dbsnmp and sysman
Sep 19, 2009 4:02:32 PM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked relevant accounts
Sep 19, 2009 4:02:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 19, 2009 4:02:33 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:05:28 PM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Finished executing emreposoutofbox.sql
Sep 19, 2009 4:05:29 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Submitting dbms job: C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\emdrep\sql\core\latest\admin\admin_submit_dbms_jobs.sql
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.EMReposConfig createOutOfBoxJobs
CONFIG: Successfully submitted dbms job
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Unlocking mgmt view user account
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: view user sql: declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
Sep 19, 2009 4:05:30 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Starting execution: CMD /C C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.bat "C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts;C:\app\landonkelsey\product\11.1.0\db_1\bin;" C:/app/landonkelsey/product/11.1.0/db_1/perl/5.8.3/bin/MSWin32-x86-multi-thread\perl.exe C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.pl C:\app\landonkelsey\product\11.1.0\db_1 LMKIIIGDNSID SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Exit value of 0
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Execution of CMD /C C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.bat "C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts;C:\app\landonkelsey\product\11.1.0\db_1\bin;" C:/app/landonkelsey/product/11.1.0/db_1/perl/5.8.3/bin/MSWin32-x86-multi-thread\perl.exe C:\app\landonkelsey\product\11.1.0\db_1\sysman\admin\scripts\emca\emcaDbUtil.pl C:\app\landonkelsey\product\11.1.0\db_1 LMKIIIGDNSID SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD completed successfully
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
CONFIG: Arguments passed C:\app\landonkelsey\product\11.1.0\db_1 LMKIIIGDNSID SYS SYSDBA declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end; 1 SYSMAN_PWD
Connecting to database LMKIIIGDNSID in home C:\app\landonkelsey\product\11.1.0\db_1 with user "SYS" role "SYSDBA".
connected to database.
sql to execute declare repos_pwd varchar2(30); view_user varchar2(30); view_user_pwd varchar2(30); view_user_acc_status varchar2(30); begin repos_pwd := ?; sysman.mgmt_view_priv.get_view_user(view_user); select account_status into view_user_acc_status from sys.dba_users where upper(username) = upper ( view_user ); IF view_user_acc_status like '%LOCKED%' THEN execute immediate 'alter user ' || view_user || ' account unlock'; END IF; IF view_user_acc_status like '%EXPIRED%' THEN sysman.mgmt_view_priv.set_view_user_creds ( repos_pwd ); sysman.mgmt_view_priv.GET_VIEW_USER_CREDS ( view_user, view_user_pwd ); execute immediate 'alter user ' || view_user || ' identified by ' || view_user_pwd || ''; END IF; end;
noOfParams to bind: 1.
sql execute successfully.
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.EMReposConfig unlockMGMTAccount
CONFIG: Unlocked mgmt_view account
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.EMReposConfig invoke
CONFIG: Successfully unlocked mgmt_view account
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 19, 2009 4:05:59 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 19, 2009 4:06:01 PM oracle.sysman.emcp.ParamsManager checkListenerStatusForDBControl
CONFIG: Passed listener validation check.Listener is up and running.
Sep 19, 2009 4:06:01 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 19, 2009 4:06:01 PM oracle.sysman.emcp.EMReposConfig uploafrom another post I tried: (Enterprise Manaer Configuration failed
C:\>emca -config dbcontrol db
STARTED EMCA at Sep 21, 2009 7:51:32 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: LMKIIIGDNSID
Listener port number: 1521
Password for SYS user: Terminate batch job (Y/N)? n
C:\>emca -config dbcontrol db
STARTED EMCA at Sep 21, 2009 7:53:24 PM
EM Configuration Assistant, Version 11.1.0.5.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: LMKIIIGDNSID
Listener port number: 1521
Password for SYS user:
Password for SYS user: Invalid username/password.
Password for SYS user:
Password for DBSNMP user:
Invalid username/password.
Password for DBSNMP user:
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional): [email protected]
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ C:\app\landonkelsey\product\11.1.0\db_1
Local hostname ................ landon
Listener port number ................ 1521
Database SID ................ LMKIIIGDNSID
Email address for notifications ............... [email protected]
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\landonkelsey\cfgtoollogs\emca\LMKIIIGDN\emca_2009_09_21_19_53_24.log.
Sep 21, 2009 7:55:29 PM oracle.sysman.emcp.EMReposConfig uploadConfigDataToRepository
INFO: Uploading configuration data to EM repository (this may take a while) ...
Sep 21, 2009 8:02:26 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Uploaded configuration data successfully
Sep 21, 2009 8:02:29 PM oracle.sysman.emcp.util.FileUtil modifyPortValuesInXML
SEVERE: Error writing file C:\app\landonkelsey\product\11.1.0\db_1\oc4j\j2ee\OC4J_DBConsole_landon_LMKIIIGDNSID\config\rmi.xml
Sep 21, 2009 8:02:29 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating OC4J configuration files
Refer to the log file at C:\app\landonkelsey\cfgtoollogs\emca\LMKIIIGDN\emca_2009_09_21_19_53_24.log for more details.
Could not complete the configuration. Refer to the log file at C:\app\landonkelsey\cfgtoollogs\emca\LMKIIIGDN\emca_2009_09_21_19_53_24.log for more details.
here is the file: (showing ORACLE_HOSTNAME no defined...it has been defined for days
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-migrate' set to false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromDBControl' set to false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToCentralAgent' set to false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateFromCentralAgent' set to false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'migrateToDBControl' set to false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-config' set to true
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'UPDATE_EMAIL' set to true
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'dbcontrol' set to true
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: C:\app\landonkelsey\product\11.1.0\db_1
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Sep 21, 2009 7:53:24 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:53:25 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: C:\app\landonkelsey\product\11.1.0\db_1
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: LMKIIIGDNSID
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: Cluster.isCluster: false. Skip call to getLocalNode
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.ClusterUtil getLocalNode
CONFIG: isLocalNodeDone: true localNode: null
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.DBControlUtil isDBConsoleConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 isDBC: false
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 agentHome: null isCentral: false
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.CentralAgentUtil isCentralAgentConfigured
CONFIG: Sid: LMKIIIGDNSID Host: landon Node: null OH: C:\app\landonkelsey\product\11.1.0\db_1 agentHome: null isCentral: false
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Sep 21, 2009 7:53:33 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user:
Sep 21, 2009 7:53:34 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01031: insufficient privileges
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:106)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Sep 21, 2009 7:53:34 PM oracle.sysman.emcp.DatabaseChecks isASMDb
CONFIG: Database instance unavailable.
oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.
at oracle.sysman.emcp.DatabaseChecks.throwDBUnavailableException(DatabaseChecks.java:136)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:129)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1982)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2725)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Sep 21, 2009 7:53:34 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Sep 21, 2009 7:53:38 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Sep 21, 2009 7:53:43 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Sep 21, 2009 7:53:43 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:53:44 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01031: insufficient privileges
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01031: insufficient privileges
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:364)
at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1040)
at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:2885)
at oracle.sysman.emcp.EMConfigAssistant.promptForData(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.promptForParams(EMConfigAssistant.java:2680)
at oracle.sysman.emcp.EMConfigAssistant.displayWarnsAndPromptParams(EMConfigAssistant.java:2706)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2733)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Sep 21, 2009 7:53:56 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Sep 21, 2009 7:53:56 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:53:57 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:54:06 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: DBSNMP
Sep 21, 2009 7:54:06 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01017: invalid username/password; logon denied
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01017: invalid username/password; logon denied
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:805)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:360)
at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1040)
at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:2885)
at oracle.sysman.emcp.EMConfigAssistant.promptForData(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.promptForParams(EMConfigAssistant.java:2680)
at oracle.sysman.emcp.EMConfigAssistant.displayWarnsAndPromptParams(EMConfigAssistant.java:2706)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2733)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Sep 21, 2009 7:54:06 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:54:07 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:54:07 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: DBSNMP
Sep 21, 2009 7:54:07 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: ORA-01017: invalid username/password; logon denied
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01017: invalid username/password; logon denied
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1530)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:853)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.connect(SQLEngine.java:805)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:360)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:385)
at oracle.sysman.emcp.DatabaseChecks.validateUserCredentials(DatabaseChecks.java:1080)
at oracle.sysman.emcp.ParamsManager.validatePassword(ParamsManager.java:2885)
at oracle.sysman.emcp.EMConfigAssistant.promptForData(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.promptForParams(EMConfigAssistant.java:2680)
at oracle.sysman.emcp.EMConfigAssistant.displayWarnsAndPromptParams(EMConfigAssistant.java:2706)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2733)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1010)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:519)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:468)
Sep 21, 2009 7:54:24 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: DBSNMP
Sep 21, 2009 7:54:25 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:54:30 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 21, 2009 7:54:30 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:54:41 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EMAIL_ADDRESS value: [email protected]
Sep 21, 2009 7:54:55 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: MAIL_SERVER_NAME value:
Sep 21, 2009 7:54:55 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:54:56 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.EMConfig addEMCALogFile
CONFIG: ORACLE_BASE :C:\app\landonkelsey
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at C:\app\landonkelsey\cfgtoollogs\emca\LMKIIIGDN\emca_2009_09_21_19_53_24.log.
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.util.ClusterUtil isCRSInstalled
CONFIG: isCRSInstalled: false
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'CHECK_CONFIG' set to true
Sep 21, 2009 7:55:19 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: DBSNMP
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'asm_db' set to false
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: LMKIIIGDN
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: LMKIIIGDN
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DBID.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.DatabaseChecks getDbid
CONFIG: No dbid available. Will query db to extract it.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DBID value: 2720994149
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYSMAN
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:55:20 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MAIL_SERVER_NAME.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.EMDBPreConfig invoke
CONFIG: Passed repository configuration check
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: LMKIIIGDNSID, oracleHome: C:\app\landonkelsey\product\11.1.0\db_1, and user: SYS
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: LMKIIIGDN
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties.emca.tmp
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.FileUtil backupFile
CONFIG: The original file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties has been copied to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emd.properties.emca.tmp
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.FileUtil _copyFile
CONFIG: Copying file C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties to C:\app\landonkelsey\product\11.1.0\db_1\sysman\config\emoms.properties.emca.tmp
Sep 21, 2009 7:55:21 PM oracle.sysman.emcp.util.FileUtil backupFile
Edited by: landonmkelsey on Sep 21, 2009 10:01 PM -
Error while creating db control repos using emca -repos create
hello all
I am trying to configure the db control on the database..db version 10.2.0.2.0
this is the error i m getting when recreating the repos
[oracle@t3 bin]$ emca -repos recreate
STARTED EMCA at Jun 10, 2009 6:37:34 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: test3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: yes
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log.
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /d01/oracle/t3/db/tech_st/10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))) -repos_user SYSMAN -action drop -verbose -output_file /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_2009-06-10_06-37-47-PM.log
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_<date>.log for more details.
Jun 10, 2009 6:37:47 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log for more details.
Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-37-34-PM.log for more details.
Then i saw the logfile..
It gives this error
[10-06-2009 18:37:47] Enter SYS user's password :
[10-06-2009 18:37:47]
[10-06-2009 18:37:47] Enter repository user password :
[10-06-2009 18:37:47]
[10-06-2009 18:37:47] Getting temporary tablespace from database...
[10-06-2009 18:37:47] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin)
This error i am getting when creating the repos
[oracle@t3 bin]$ emca -repos create
STARTED EMCA at Jun 10, 2009 6:44:21 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: test3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log.
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_<date>.log for more details.
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
the logfile for this says :
Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag '-repos' set to true
Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'create' set to true
Jun 10, 2009 6:44:21 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: ORACLE_HOME value: /d01/oracle/t3/db/tech_st/10.2.0
Jun 10, 2009 6:44:23 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SID value: test3
Jun 10, 2009 6:44:26 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: PORT value: 1521
Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter SYS_PWD.
Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
Jun 10, 2009 6:44:28 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Jun 10, 2009 6:44:30 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value:
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: CONFIRMATION ANSWER value: yes
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter LOG_FILE.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test3
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: EM_HOME value: /d01/oracle/t3/db/tech_st/10.2.0
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setFlag
CONFIG: Flag 'db' set to true
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbServiceName
CONFIG: No service name available. Will try to set db_unique_name.db_domain
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value:
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_UNIQUE_NAME.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbUniqueName
CONFIG: No Database unique name available. Will try to retrieve it from DB itself
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test3
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: DB_UNIQUE_NAME value: test3
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: SERVICE_NAME value: test3
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter MODIFY_SID.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter GLOBAL_DB_UNIQUE_NAME.
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.DatabaseChecks getGlobalDbUniqueName
CONFIG: No Global database unique name available. Will try to retrieve it from DB itself
Jun 10, 2009 6:44:31 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.ParamsManager getParam
CONFIG: No value was set for the parameter DB_DOMAIN.
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.DatabaseChecks getDbDomain
CONFIG: No db domain available. Will query db for db_domain parameter
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: GLOBAL_DB_UNIQUE_NAME value: test3
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine connecting with SID: test3, oracleHome: /d01/oracle/t3/db/tech_st/10.2.0, and user: SYS
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: SQLEngine created successfully and connected
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_2009-06-10_06-44-32-PM.log
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-20001: SYSMAN already exists..
ORA-06512: at line 17
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1467)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeScript(SQLEngine.java:841)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:265)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.executeScript(SQLPlusEngine.java:306)
at oracle.sysman.emcp.EMReposConfig.createRepository(EMReposConfig.java:365)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:187)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:129)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_create_<date>.log for more details.
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-10_06-44-21-PM.log for more details.
Jun 10, 2009 6:44:32 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:199)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:129)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:142)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:479)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1123)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:463)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:412)same error
[oracle@t3 bin]$ emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Jun 11, 2009 10:13:40 AM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: test3
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Jun 11, 2009 10:13:53 AM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log.
Jun 11, 2009 10:13:53 AM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /d01/oracle/t3/db/tech_st/10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))) -repos_user SYSMAN -action drop -verbose -output_file /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_2009-06-11_10-14-03-AM.log
Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_repos_drop_<date>.log for more details.
Jun 11, 2009 10:14:03 AM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log for more details.
Could not complete the configuration. Refer to the log file at /d01/oracle/t3/db/tech_st/10.2.0/cfgtoollogs/emca/test3/emca_2009-06-11_10-13-40-AM.log for more details.
log file says this
[11-06-2009 10:14:03] Enter SYS user's password :
[11-06-2009 10:14:03]
[11-06-2009 10:14:03] Enter repository user password :
[11-06-2009 10:14:03]
[11-06-2009 10:14:03] Getting temporary tablespace from database...
[11-06-2009 10:14:03] Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=t3.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test3))): ORA-01031: insufficient privileges (DBD ERROR: OCISessionBegin) -
Error while creating DB CONSOLE conf and rep using EMCA
Dears,
I have 10g R1 database and used to have a db console for DEMO database.
I deleted that using EMCA -X DEMO...deletion was successful.
Now i;m trying to create the em db console conf and rep again using EMCA...when i finish entering parameters it gives me this error:
SEVERE: Database instance unavailable. Fix the error(s) and run EM Configuration Assistant again in standalone mode !!!!!!
By the way EMDROOT is set to ORACLE_HOME, Database is up and running...listening port is right...Just want to make sure of one thing please which is related to passwords...when he requested passwords for
Password for dbsnmp:
Password for sysman:
Password for sys:
Is it here asking for original passwords for dbsnmp, sysman or just to reset them?
The detailed log file:
==============
CONFIG: No value was set for the parameter AGENT_PORT
Feb 13, 2008 8:25:14 AM oracle.sysman.emcp.EMConfig perform
CONFIG: Passed parameter check
Feb 13, 2008 8:25:14 AM oracle.sysman.emcp.EMConfig initSQLEngine
CONFIG: SQLEngine connecting with SID: demo, oracleHome: /oracle/product/10.1.0/db_1, and user: SYS
Feb 13, 2008 8:25:15 AM oracle.sysman.emcp.EMConfig initSQLEngine
CONFIG: SQLEngine created successfully and connected
Feb 13, 2008 8:25:15 AM oracle.sysman.emcp.EMConfig checkConfiguration
CONFIG: ORA-01034: ORACLE not available
oracle.sysman.assistants.util.sqlEngine.SQLFatalErrorException: ORA-01034: ORACLE not available
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeImpl(SQLEngine.java:1418)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.executeQuery(SQLEngine.java:651)
at oracle.sysman.emcp.EMConfig.checkConfiguration(EMConfig.java:1041)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:271)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:692)
at oracle.sysman.emcp.EMConfigAssistant.performSetup(EMConfigAssistant.java:641)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:340)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:180)
Feb 13, 2008 8:25:15 AM oracle.sysman.emcp.EMConfig checkConfiguration
EVERE: Database instance unavailable. Fix the error(s) and run EM Configuration Assistant again in standalone mode !!!
Cheers,
FirasI restarted the database and then tried,still getting the same errors.I am trying to configure the EM on an EBS Database(Oracle 10g), and I find that there is no user sysman, is this causing the errors?
$ emca -config dbcontrol db -repos create
INFO: This operation is being logged at /vis_ora_home/vis_db/VIS/db/tech_st/10.2.0//cfgtoollogs/emca/emca_2009-02-24_05-29-41-PM.log.
Feb 24, 2009 5:30:17 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Database instance unavailable.
Refer to the log file at /vis_ora_home/vis_db/VIS/db/tech_st/10.2.0//cfgtoollogs/emca/emca_2009-02-24_05-29-41-PM.log for more details.
Could not complete the configuration. Refer to the log file at /vis_ora_home/vis_db/VIS/db/tech_st/10.2.0//cfgtoollogs/emca/emca_2009-02-24_05-29-41-PM.log for more details.
Edited by: orarup on Feb 24, 2009 8:29 PM -
Changed server name, reconfiged emca, still getting java errors on console
I installed 10gr2 with local database control only, and had all working fine. I then moved the server into production after testing and changed the server name. Of course this changed all the settings for dbconsole so I ran the emca config again from some info I got off of this forum a week or so ago. I can't seem to find that thread any more, and I need to get this working. I could not find any more references to the old server name, but the java error is still showing one. I can bring up the login page and login, but then it wont display any info.
I've been searching to see what I need to do to totally re-install the local database control component but can't seem to find anything. I am also going to eventually have grid control running on another machine as well, but I imagine that I still have to have all the proper things in place on this server before I can connect either thru grid control or locally in any case.REPOSITORY_URL=http://winms-wwscale.millsite.net:5500/em/upload/
I searched every file in the <server url> directory and changed any references to the old servername to the new one. The only ones that showed up were for isqlplus items.
I am pretty sure I have run the "emca dbcontrol db -repos recreate" command, but perhaps I'll do it again. I also have a thread going on this in metalink and one suggestion is to do the following:
SHUTDOWN IMMEDIATE;
STARTUP RESTRICT;
A. Drop the repository manually using following procedure.
Stop the DB Console if not already stoped: $ORACLE_HOME/bin/emctl stop dbconsole
Log on in sqlplus as sys user and run the following commands:
a. drop user sysman cascade;
b. drop role MGMT_USER;
c. drop user MGMT_VIEW cascade;
d. drop public synonym MGMT_TARGET_BLACKOUTS;
e. drop public synonym SETEMVIEWUSERCONTEXT;
(Note If any of the above statement failed and saying object doesn't exist just skip that
statement)
B. Drop the DB Control configuration files.
Remove the following directories:
$rm -rf $ORACLE_HOME/<HOSTNAME_SID>
$rm -rf $ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_<HOSTNAME_SID>
On Windows systems just delete the folders above from the Explorer.
You have to replace the values in the <> with the correct values from your environment .
The shutdown and startup restrict seems a tad severe to me, I'm thinking thats if others may be trying to access the database control page while you are doing all of this. -
Emca -config emkey error running on windows 2003 r2
Hello
I have recreate EM using ...
Step One:-
SHUTDOWN IMMEDIATE;
STARTUP RESTRICT;
DROP USER sysman CASCADE;
DROP ROLE mgmt_user;
DROP USER mgmt_view;
DECLARE
CURSOR c1 IS
SELECT owner, synonym_name name FROM dba_synonyms WHERE table_owner = 'SYSMAN';
BEGIN
FOR r1 IN c1 LOOP
IF r1.owner = 'PUBLIC' THEN
EXECUTE IMMEDIATE 'DROP PUBLIC SYNONYM '||r1.name;
ELSE
EXECUTE IMMEDIATE 'DROP SYNONYM '||r1.owner||'.'||r1.name;
END IF;
END LOOP;
END;
ALTER SYSTEM DISABLE RESTRICTED SESSION;
Step two:-
emca -config dbcontrol db -repos create
While the processes run ok untill I get an EMKEY error:-
SEVERE: Error copying Em Key to Management Repository. The Em Key is not configu
red properly or is corrupted in the file system and does not exist in the Manage
ment Repository. To correct the problem:
1) Copy the emkey.ora file from another OMS or backup machine to the G:\app\Adm
inistrator\product\11.2.0\dbhome_1/sysman/config and run following commands:
i) G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
ii) G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -copy_
to_repos
iii) Run EM Configuration Assistant again
2) If emkey.ora is not available from backup, run G:\app\Administrator\product\
11.2.0\dbhome_1/bin/emca with -repos create option.
I tried running emctl config and getting error:-
C:\>G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1\c100795_orcl\sysman\config/emkey
.ora -force
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Please enter repository password:
Exception caught
3
java.lang.ArrayIndexOutOfBoundsException: 3
at oracle.sysman.util.crypt.DataHolder.getSet(Crypt.java:780)
at oracle.sysman.util.crypt.Crypt.decryptAsByteArray(Crypt.java:256)
at oracle.sysman.util.crypt.Crypt.decrypt(Crypt.java:227)
at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(Con
figManager.java:1225)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1150)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1127)
at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:105)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:478)
What am I doing wrong?
All help very welcome
Thanks, PeteDear Deebee
Still seeing the same problem
This is what I have done (incorrectly I believe) ...
1) Removed (after taking a back up) file and folders from
ORACLE_HOME/host_sid/
ORACLE_HOME/oc4j/j2ee/OC4J_DBConsole_host_sid
2) run emca -config dbcontrol db -repos create
3) run
G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfile G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
got follwoing error ...
Can't find file G:\app\Administrator\product\11.2.0\dbhome_1/c100795_orcl/sysman/config/emoms.properties
4) Replaced the G:\app\Administrator\product\11.2.0\dbhome_1/c100795_orcl/sysman/config/emoms.properties from the back up
5) rerun G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfile G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
got the same error as before ...
C:\>G:\app\Administrator\product\11.2.0\dbhome_1/bin/emctl config emkey -emkeyfi
le G:\app\Administrator\product\11.2.0\dbhome_1/sysman/config/emkey.ora -force
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Please enter repository password:
Exception caught
3
java.lang.ArrayIndexOutOfBoundsException: 3
at oracle.sysman.util.crypt.DataHolder.getSet(Crypt.java:780)
at oracle.sysman.util.crypt.Crypt.decryptAsByteArray(Crypt.java:256)
at oracle.sysman.util.crypt.Crypt.decrypt(Crypt.java:227)
at oracle.sysman.emSDK.conf.ConfigManager.processSensitiveProperties(Con
figManager.java:1225)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1150)
at oracle.sysman.emSDK.conf.ConfigManager.processProperties(ConfigManage
r.java:1127)
at oracle.sysman.eml.sec.rep.EmKeyUtil.<init>(EmKeyUtil.java:105)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:478)
Hope this makes sense?
Regards
Pete -
Emca -config dbcontrol db fails with grid control error
hi friends
i am using oracle 11.2.0.2.0 in windows xp 32 bit
while i was trying to config the EM with the command
emca -config dbcontrol db
i am getting the following error
The existing database you have specified has Grid Control repository.This operation is not supported.
what should i do as i tried everything like i stopped the gridcontrol services already
with regards
saugatJul 28, 2011 6:23:23 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager getHost
CONFIG: Host having instnces running for database orcl : accessdba
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager setParam
CONFIG: Setting param: REP_DB_RUNNING_HOST value: accessdba
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.ParamsManager getRepDbPort
CONFIG: Listener Port: 1521
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil isLocalConnectionRequired
CONFIG: isLocalConnectionRequired: true
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngine
CONFIG: isLocalConnectionRequired: true. Connecting to database instance locally.
Jul 28, 2011 6:23:23 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine connecting with SID: orcl, oracleHome: D:\app\saugat\product\11.2.0\dbhome_1, and user: SYS
Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.util.GeneralUtil initSQLEngineLoacly
CONFIG: SQLEngine created successfully and connected
Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.EMReposConfig createRepository
CONFIG: Spooling to D:\app\saugat\cfgtoollogs\emca\orcl\emca_repos_create_2011_07_28_18_23_27.log
Jul 28, 2011 6:23:27 PM oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig createRepository
WARNING: ORA-25153: Temporary Tablespace is Empty
ORA-06512: at line 37
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at D:\app\saugat\cfgtoollogs\emca\orcl\emca_repos_create_<date>.log for more details.
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at D:\app\saugat\cfgtoollogs\emca\orcl\emca_2011_07_28_18_15_19.log for more details.
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig perform
CONFIG: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: Error creating the repository
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:252)
at oracle.sysman.emcp.EMReposConfig.invoke(EMReposConfig.java:160)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:253)
at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:599)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1482)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:583)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:529)
Jul 28, 2011 6:34:32 PM oracle.sysman.emcp.EMConfig restoreOuiLoc
CONFIG: Restoring oracle.installer.oui_loc to D:\app\saugat\product\11.2.0\dbhome_1\oui
it shows thaat temp tablespace is empty -
Hi all,
11.2.0.3
Aix 6.1
I am configuring emca for the DEV machine > emca -config dbcontrol db -repos create ....and it was successful.
Then I am configuring another UAT machine which the same specs, but my emca got error:
SEVERE: Failed to allocate port(s) in the specified range(s) for the following process(es): JMS [5540-5559],RMI [5520-5539],Database Control [5500-5519],EM Agent [3938] | [1830-1849]. Fix the error(s) and re-run EM Configuration Assistant.
Some of the possible reasons may be:
1) Firewall may be on. Turn it off.
2) Port is already in use by some other process. Either free the port or re-run emca script by providing free ports as command line options.
The sysadmin said no firewall was turned on as it was the same setup with the DEV machine. The server has been rebooted so all the ports are free.
How do I troubleshoot this error? How do I check if firewall was turnedON on Aix?
Thanks a lot,
pKHI,
Please check Oracle support id (Maybe this can help you) : Troubleshooting Dbconsole EMCA Failures Due to Hostname and Port Related Issues (Doc ID 1107743.1)
Also : https://community.oracle.com/thread/699943?start=0&tstart=0
Thank you -
Error during repository drop (emca -repos drop)
Hi
emca -repos drop failed
in log i've the error beyond however my password is set correctly.
<message from log>
Enter repository user password :
Getting temporary tablespace from database...
Could not connect to SYS/(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=srMyserver)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=test10g))): ORA-01031: i
nsufficient privileges (DBD ERROR: OCISessionBegin)
with the other command:
RepManager srMyserver 1521 test10g -sys_password zectl12zZ -action drop
the system ask "Enter Repository User name" & "Enter Password user Name"
ok. i give him what it want but another error message ...
<message from console>
Getting temporary tablespace from database...
Could not connect to SYS/(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=sr012641)(Port=1521))(CONNECT_DATA=(SID=test10g))): ORA-01031: insufficient privileges (
DBD ERROR: OCISessionBegin)
Config system: 10g release 2, AIX 5.3
Thanks for reading and any posts.
regards
DenisTry:
emca -deconfig dbcontrol db -repos drop
The Repository password prompt is for SYSMAN password.
or:
RepManager srMyserver 1521 test10g -sys_password zectl12zZ -repos_user sysman -repos_password sysmanpassword -action drop.
Note:
I have noticed the two different HOST names in the two errors ( srMyserver and sr012641). So Ensure you are connectign to the correct host and db -
If I execute the command:
emca -config dbcontrol db -repos create
the following error comes back (after I enter the SID):
UnsatisfiedLinkError exception loading native library: njni11
Exception in thread "main" java.lang.UnsatisfiedLinkError: get
at oracle.net.common.NetGetEnv.get(Native Method)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.getEnvParams(SQLEngine.java:425)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.initialize(SQLEngine.java:244)
at oracle.sysman.assistants.util.sqlEngine.SQLEngine.<init>(SQLEngine.java:229)
at oracle.sysman.assistants.util.sqlEngine.SQLPlusEngine.<init>(SQLPlusEngine.java:109)
at oracle.sysman.emcp.util.GeneralUtil.initSQLEngine(GeneralUtil.java:353)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailabilityImpl(DatabaseChecks.java:106)
at oracle.sysman.emcp.DatabaseChecks.checkDbAvailability(DatabaseChecks.java:148)
at oracle.sysman.emcp.DatabaseChecks.isASMDb(DatabaseChecks.java:720)
at oracle.sysman.emcp.EMConfigAssistant.getParamsWarnsList(EMConfigAssistant.java:1981)
at oracle.sysman.emcp.EMConfigAssistant.getDisplayAndPromptWarnsParms(EMConfigAssistant.java:2636)
at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1009)
at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:518)
at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:467)
Any thoughts?Are you on Linux?
It could be the same issue as dbca?
https://metalink.oracle.com/metalink/plsql/f?p=130:14:3959056658989306518::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,468977.1,1,1,1,helvetica
Which says:
Please ensure that the following RPMs are present:
# elfutils-libelf-0.97-5 *
# elfutils-libelf-devel-0.97-5
# libaio-0.3.105-2 *
# libaio-devel-0.3.105-2 -
C:\Documents and Settings\testifs>emca -config dbcontrol db -repos create
STARTED EMCA at 25-Nov-2010 12:02:40
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle. All rights reserved.
Enter the following information:
Database SID: IFSP
25-Nov-2010 12:02:50 oracle.sysman.emcp.util.GeneralUtil initSQLEngine
WARNING: ORA-01031: insufficient privileges
25-Nov-2010 12:02:50 oracle.sysman.emcp.DatabaseChecks throwDBUnavailableExcepti
on
SEVERE:
Database instance is unavailable. Fix the ORA error thrown and run EM Configurat
ion Assistant again.
Some of the possible reasons may be :
1) Database may not be up.
2) Database is started setting environment variable ORACLE_HOME with trailing '/
'. Reset ORACLE_HOME and bounce the database.
For eg. Database is started setting environment variable ORACLE_HOME=/scratch/db
/ . Reset ORACLE_HOME=/scratch/db and bounce the database.Is really your database up ?
Has You try to connect and works fine ? -
Emca -repos recreate ends with severe error
hi all
I cloned the production to a test
now i want to configure em on it
If i directly config the dbcontrol it does happen successfully but iwhen i login to the em, it shows the host as the production..thats so stange
now what i did was to recreate the repos
this is what happened
[oracle@prod1 bin]$ emca -repos recreate
STARTED EMCA at Nov 14, 2009 3:09:52 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: p1
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: yes
Nov 14, 2009 3:10:12 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_2009-11-14_03-09-52-PM.log.
Nov 14, 2009 3:10:12 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Nov 14, 2009 3:10:13 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing /d02/db/tech_st/10.2.0/sysman/admin/emdrep/bin/RepManager -connect (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=prod1.luckyerp)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=p1))) -repos_user SYSMAN -action drop -verbose -output_file /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_repos_drop_2009-11-14_03-10-12-PM.log
Nov 14, 2009 3:10:13 PM oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error dropping the repository
Nov 14, 2009 3:10:13 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_repos_drop_<date>.log for more details.
Nov 14, 2009 3:10:13 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Error dropping the repository
Refer to the log file at /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_2009-11-14_03-09-52-PM.log for more details.
Could not complete the configuration. Refer to the log file at /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_2009-11-14_03-09-52-PM.log for more details.
so than i tried to config the dbcontrol directly and it happens succesfully..why is this happening..and it shows me wrong IP in host too..original IP for the test serve ris 192.1.1.82 while it shows me 127.0.0.1
[oracle@prod1 bin]$ emca -config dbcontrol db
STARTED EMCA at Nov 14, 2009 3:14:53 PM
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: p1
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ /d02/db/tech_st/10.2.0
Database hostname ................ prod1.luckyerp
Listener port number ................ 1521
Database SID ................ p1
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: yes
Nov 14, 2009 3:15:08 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /d02/db/tech_st/10.2.0/cfgtoollogs/emca/p1/emca_2009-11-14_03-14-53-PM.log.
Nov 14, 2009 3:15:15 PM oracle.sysman.emcp.util.DBControlUtil startOMS
INFO: Starting Database Control (this may take a while) ...
Nov 14, 2009 3:16:53 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: Database Control started successfully
Nov 14, 2009 3:16:53 PM oracle.sysman.emcp.EMDBPostConfig performConfiguration
INFO: >>>>>>>>>>> The Database Control URL is http://prod1.luckyerp:5500/em <<<<<<<<<<<
Enterprise Manager configuration completed successfully
FINISHED EMCA at Nov 14, 2009 3:16:53 PMHi,
so than i tried to config the dbcontrol directly and it happens succesfully..why is this happening..and it shows me wrong IP in host too..original IP for the test serve ris 192.1.1.82 while it shows me 127.0.0.1Do you have proper entry in the hosts file?
Regards,
Hussein
Maybe you are looking for
-
Displaying certain Line Items on a Sales Order
I have sales order with both line items that are populated because we have BOM Items that are marked as u201CSales Relevantu201D items from a production BOM and I also have some items that are line items generated from a true Sales BOM. The user wan
-
Reg. Automatic payment program - URGENT!
Hi all, We are creating a validation for the F110. Can somebody tel me where do i enter my header data like th reference and other details? Is there a way to change my parameter screen layout? Kindly guide me on this. Regards Karpagam
-
i have a 2008(?) macbook with integrated intel gma x3100 graphics. i need to run solidworks for my major, and i am wondering if my computer will run it in bootcamp? i have xp sp3, but could also run win7 if need be. please help! i may need to get a n
-
Unreliable iCloud calendar sync
The calendar entries are synced to the "cloud", I can see it in the calendar Web-App, but can not get on the mobile devices (iPad & iPhone). The sync takes place after opening the iOS Calendar app, deactivate and activate the calender sync in the iCl
-
Japanese double byte characters
Hi all, We have a ECC 6.0 system and we are introducing Japanese markets. When we try to see table KNA1: SE16-->KNA1 and we search a word in Japanese language written in single-byte format, there is no problem, the search returns us the entries. But