Enterprise manager is not working [message #579211] |
Sat, 09 March 2013 01:26 |
|
ansar5
Messages: 8 Registered: March 2013 Location: Lahore, Pakistan
|
Junior Member |
|
|
Hi!
I am having problem with EM for Oracle DB 11.2.0.1 on windows 7. I performed following steps in order.
1 - Installed oracle software only from Oracle 11gR2 setup
2 - assigned IP address as 192.168.14.252, gateway as 192.168.14.1, dns server as 192.168.14.1 to my network adapter. My system is attached on a LAN.
3 - made following entry in hosts file
192.168.14.252 ansar.com
4 - set following environment variables in windows 'system properties'
ORACLE_HOSTNAME=IT02
ORACLE_UNQNAME=orcl
5 - opened cmd and typed following command
c:\>set ORACLE_UNQNAME=orcl
6 - launched dbca from cmd as c:\>dbca
7 - entered oracle sid as orcl when asked
8 - at 85% of installation dbca launched a warning message as under:
Enterprise Manager configuration succeeded with the following warning:
Error starting database control.Please execute the following command(s):
1) Set the environment variable ORACLE_UNQNAME to database unique name.
2) D:\app\administrator\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole
9 - I pressed ok button. completed the installation process.
10- executed commands as mentioned in step 8 shown in warning message.
11- tried to launch EM in ie 9. entered sys credentials. a warning message appeared on very next page as "Internal Error has occurred. Check the log file for details.".
12- typed following command in cmd:
emctl start dbconsole
it showed "An instance of Oracle Database 11g Enterprise Manager is already running"
13- then i typed
emctl status dbconsole
it showed "EM daemon is not running. Logs are generated in directory D:\app\administrator\product\11.2.0\dbhome_1\it02_orcl\sysman\log"
14- i checked above mentioned folder. It contains two txt files named OracleDBConsoleorclexit and OracleDBConsoleorclsrvc. OracleDBConsoleorclexit contains only one line "03/09/13 09:35:37 main exits" then i checked OracleDBConsoleorclsrvc which showed following text:
-------------- [OracleDBConsoleorcl] ------------
EMDROOT=D:\app\Administrator\product\11.2.0\dbhome_1
ORACLE_HOME=D:\app
\Administrator\product\11.2.0\dbhome_1
EMSTATE=D:\app\Administrator\product\11.2.0\dbhome_1\IT02_orcl
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=30
03/09/13 09:35:03 Job Process API is available
03/09/13 09:35:03 Start pending...
03/09/13 09:35:03 Verifying
dbconsole is not started already. Command line "D:\app\Administrator\product\11.2.0\dbhome_1\bin\emctl.bat" istatus dbconsole
03/09/13 09:35:03 Service Job object queried for basic limit information
03/09/13 09:35:03 Service Job object set with
JOB_OBJECT_LIMIT_BREAKAWAY_OK limit
03/09/13 09:35:07 dbconsole launch commandline is "D:\app\Administrator\product
\11.2.0\dbhome_1\bin\emctl.bat" istart dbconsole
03/09/13 09:35:07 Tracking process launch...
03/09/13 09:35:37 dbconsole exited with retCode 55.
03/09/13 09:35:37 Check D:\app\Administrator\product\11.2.0\dbhome_1\sysman\log\OracleDBConsoleorcl.nohup for details
15- There is no file whose name is OracleDBConsoleorcl.nohup in above mentioned folder.
Please someone help me as i don't know what to do next? All other things are running fine. DB is installed sqlplus, Oracle
sqldeveloper all are accessing the db in normal way, the only issue is with EM.
Thanks and regards,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Enterprise manager is not working [message #579241 is a reply to message #579233] |
Sun, 10 March 2013 00:16 |
|
ansar5
Messages: 8 Registered: March 2013 Location: Lahore, Pakistan
|
Junior Member |
|
|
i restatrted windows, db and listener then ran emctl start dbconsole, but same result as under:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>set ORACLE_HOSTNAME=it02
C:\Users\Administrator>set ORACLE_UNQNAME=orcl
C:\Users\Administrator>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://IT02:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already runn
ing.
C:\Users\Administrator>emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
https://IT02:1158/em/console/aboutApplication
EM Daemon is not running.
------------------------------------------------------------------
Logs are generated in directory D:\app\Administrator\product\11.2.0\dbhome_1/it0
2_orcl/sysman/log
C:\Users\Administrator>
i think there is some problem with em of oracle db 11gR2. EM of 11gR1 works perfectly. Nothing to setup anything, no warning, no error.
|
|
|