关于windows dbconsole 错误
目前环境介绍如下:
公司测试环境:win 2008 10.2.0.5 数据库
之前发现dbconsole启动不了,重建之后也启动不了,在启动时候报错:
配置: Stack Trace:
oracle.sysman.emcp.exception.EMConfigException: 启动 Database Control 时出错
at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:646)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:224)
at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:193)
at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
at oracle.sysman.assistants.util.em.EMConfiguration.run(EMConfiguration.java:436)
at java.lang.Thread.run(Thread.java:595)
最后打了:p8350262_10204_Generic.zip补丁,重配了dbconsole后可以正常启动
今天发现dbconsole无法连接,查看服务正常启动,但是运行emctl status dbconsole 提示:
Oracle Enterprise Manager 10g is not running.
尝试通过emctl start dbconsole 启动OEM 报错:
C:\Users\Administrator>emctl start dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
https://WIN-AHO9AQV3EDP:5500/em/console/aboutApplication
Agent Version : 10.1.0.6.0
OMS Version : 10.1.0.6.0
Protocol Version : 10.1.0.2.0
Agent Home : d:\oracle\product\10.2.0\db_1\WIN-AHO9AQV3EDP_test
Agent binaries : d:\oracle\product\10.2.0\db_1
Agent Process ID : 3128
Agent URL : https://WIN-AHO9AQV3EDP:1830/emd/main
Started at : 2012-10-24 09:40:09
Started by user : SYSTEM
Last Reload : 2012-10-24 09:40:09
Last successful upload : 2012-10-24 14:21:12
Total Megabytes of XML files uploaded so far : 0.87
Number of XML files pending upload : 0
Size of XML files pending upload(MB) : 0.00
Available disk space on upload filesystem : 69.39%
Agent is already started. Will restart the agent
此命令的语法是:
NET STOP
重启了windows dbconsole 服务后又可以正常连接,但是过了3分钟左右又不行
检查oracle下面OEM日志(emagent.trc):
发现:
2012-10-24 14:20:57 Thread-996 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://WIN-AHO9AQV3EDP:5500/em/upload/: retStatus=-1
2012-10-24 14:20:58 Thread-996 WARN http: snmehl_connect: connect failed to (WIN-AHO9AQV3EDP:5500): 由于目标计算机积极拒绝,无法连接。
(error = 10061)
2012-10-24 14:20:58 Thread-996 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://WIN-AHO9AQV3EDP:5500/em/upload/: retStatus=-1
2012-10-24 14:21:29 Thread-2036 WARN http: snmehl_connect: connect failed to (WIN-AHO9AQV3EDP:5500): 由于目标计算机积极拒绝,无法连接。
(error = 10061)
2012-10-24 14:21:29 Thread-2036 ERROR pingManager: nmepm_pingReposURL: Cannot connect to https://WIN-AHO9AQV3EDP:5500/em/upload/: retStatus=-1
2012-10-24 14:21:30 Thread-2036 WARN http: snmehl_connect: connect failed to (WIN-AHO9AQV3EDP:5500): 由于目标计算机积极拒绝,无法连接。
(error = 10061)
大量的报错。
检查emagent_perl.trc日志
发现错误信息:
dgGetPrimary.pl: Tue Oct 23 14:52:53 2012: ERROR: dgutil.handleError()
dgGetPrimary.pl: Tue Oct 23 14:52:53 2012: ERROR: Can't call method "FETCH" on an undefined value at d:/oracle/product/10.2.0/db_1/perl/site/5.8.3/lib/MSWin32-X64-multi-thread/Win32/TieRegistry.pm line 1487, <STDIN> line 2 during global destruction.
dgGetPrimary.pl: Tue Oct 23 14:52:53 2012: ERROR: dgutil.handleError()
dgGetPrimary.pl: Tue Oct 23 14:53:22 2012: ERROR: dgutil.handleError()
dgGetPrimary.pl: Tue Oct 23 14:53:22 2012: ERROR: Can't call method "FETCH" on an undefined value at d:/oracle/product/10.2.0/db_1/perl/site/5.8.3/lib/MSWin32-X64-multi-thread/Win32/TieRegistry.pm line 1487, <STDIN> line 2 during global destruction.
dgGetPrimary.pl: Tue Oct 23 14:53:22 2012: ERROR: dgutil.handleError()
我通过tcpview工具监控了一下:
java.exe 2900 TCP WIN-AHO9AQV3EDP 5500 WIN-AHO9AQV3EDP 0 LISTENING
java.exe 2900 TCP WIN-AHO9AQV3EDP 5521 WIN-AHO9AQV3EDP 0 LISTENING
java.exe 1344 TCP WIN-AHO9AQV3EDP 5560 WIN-AHO9AQV3EDP 0 LISTENING
java.exe 1344 TCP WIN-AHO9AQV3EDP 5580 WIN-AHO9AQV3EDP 0 LISTENING
java.exe 2900 TCP win-aho9aqv3edp 57081 win-aho9aqv3edp 1521 ESTABLISHED
java.exe 2900 TCP win-aho9aqv3edp 57082 win-aho9aqv3edp 1521 ESTABLISHED
java.exe 2900 TCP win-aho9aqv3edp 57083 win-aho9aqv3edp 1521 ESTABLISHED 24 1,000 48 1,632
java.exe 2900 TCP win-aho9aqv3edp 57084 win-aho9aqv3edp 1521 ESTABLISHED 2 304 6 257 304 257 2 6
java.exe 2900 TCP win-aho9aqv3edp 57085 win-aho9aqv3edp 1521 ESTABLISHED
java.exe 2900 TCP win-aho9aqv3edp 57091 win-aho9aqv3edp 1521 ESTABLISHED
lsass.exe 484 TCP WIN-AHO9AQV3EDP 49154 WIN-AHO9AQV3EDP 0 LISTENING
lsass.exe 484 TCPV6 win-aho9aqv3edp 49154 win-aho9aqv3edp 0 LISTENING
不过没过多久
java.exe 2900 TCP WIN-AHO9AQV3EDP 5500 WIN-AHO9AQV3EDP 0 LISTENING
这个线程就掉了,OEM也掉了,后续扫描没有看到端口为5500的线程
OEM日志信息任然是这个信息
Similar Messages
-
DBConsole Service doesn't start after Install OAS F&R-Services Win 10g
Windows DBConsole Service doesn't start after Install OAS F&R-Services
Hello,
we have installed:
WINDOWS Server 2003 with SP 2
Oracle 10.2.0.1
OAS F&R Services 10.1.2.0.2
after Install DBR2 EM / DBConsole did work
after Install OAS F&R-Service
the windows-service for DBConsole
doesn't start, return with an Error Code 2
see below
the file named emdbconsole.nohup from output log
is not to find
the ias_console does work fine
OAS F_R-Services do work too
whats may be wrong ?
regards
Norbert
OracleDBConsoleorclsrvc.log :
EMDROOT=D:\oracle\product\10.2.0\db_1
ORACLE_HOME=D:\oracle\product\10.2.0\db_1
EMDSTATE=D:\oracle\product\10.2.0\db_1\kfin_orcl
CONSOLE_CFG=dbconsole
TRACE_LEVEL=16
TIMEOUT=15
12/14/09 13:13:08 Start pending...
12/14/09 13:13:08 Verifying dbconsole is not started already. Command line "D:\oracle\product\10.2.0\db_1\bin\emctl.bat" istatus dbconsole
12/14/09 13:13:09 dbconsole launch commandline is "D:\oracle\product\10.2.0\db_1\bin\emctl.bat" istart dbconsole
12/14/09 13:13:09 Tracking process launch...
12/14/09 13:13:39 dbconsole exited with retCode 2.
12/14/09 13:13:39 Check D:\oracle\product\10.2.0\db_1\kfin_orcl\sysman\log\emdbconsole.nohup for details
Edited by: astramare on Dec 15, 2009 8:43 AMHi,
1. Stop the DBConsole. (set ORACLE_SID first & ORACLE_HOME)
cd %ORACLE_HOME%\bin
emctl stop dbconsole
2. Update the <ORACLE_HOME>/<hostname_sid>/sysman/config/emd.properties file.
Change line from:
tracelevel.main=WARN
To
tracelevel.main=DEBUG
Decomment this line, so that the line becomes :
EMAGENT_PERL_TRACE_LEVEL=DEBUG
3. Update the <ORACLE__HOME>/<hostname_sid>/sysman/config/emomslogging.properties
Change line from:
log4j.rootCategory=WARN, emlogAppender, emtrcAppender
To
log4j.rootCategory=DEBUG, emlogAppender, emtrcAppender
4. Remove/backup all log files from ORACLE_HOME/<hostname_sid>/sysman/log
5. Start the dbconsole and upload the output of each command
- start the dbconsole: "emctl start dbconsole"
- issue "emctl clearstate"
- status the dbconsole: "emctl status dbconsole"
- check the status of the agent until it comes up: "emctl status agent"
- force an upload: emctl upload
6. Check If you are able to view the dbconsole Page & login
check below logs may be you can see the close error messages to solve the issue.
<ORACLE_HOME>/<hostname_sid>/sysman/log directory
<ORACLE_HOME>/<hostname_sid>/sysman/config/emoms.properties
Otherwise re-create the DBconsole using the metalink doc 278100.1 : How To Drop, Create And Recreate DB Control In A 10g Database. (Please check the steps from Recreate/ReConfig DB Control, if you want to re-create)
Thanks. -
Hello all,
I am stumped at this error when recreating the repository on a windows 2008 server install of the dbconsole for a active database. It seems that it's not able to create or delete the service even after deconfiguring it. any ideas ? the install account is part of the windows admin group locally.
D:\app\oracle\rdbms\11.2.0.2\xxxxxxxx\BIN>emca -config dbcontrol db -repos create
WARNING: Error executing CMD /C D:\app\oracle\rdbms\11.2.0.2\cxxxx\bin\nmesrv
ops.exe delete OracleDBConsolexxxxxxxxx
Oct 10, 2013 2:02:01 PM oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C D:\app\oracle\rdbms\11.2.0.2\xxxx\bin\emctl.
bat deploy dbconsole -d xxxxD:\app\oracle\rdbms\11.2.0.2\xxxxx\xxx
SEVERE: Error instantiating EM configuration files
thank you !hi TSharma ...nothing in reply ?!
-
Dbconsole does not work after windows domain change
I have change windows domain of a oracle 10g server when it was already installed. After that, I can not install dbconsole in a new instance. The service starts but the login screen does not appear.
Does anyone have any idea ?Have you tried to start directly with the emctl command directly on the command line?
What's the error message displayed.
When you change your domain the asociated configuration file is not matched, and emctl is unable to find it.
You should try to locate a directory named like this: FullyQualifiedHostName_InstanceName
Once you have changed the domain, oracle is unable to find a configuration with the domain previously stated. You'll have to reconfigure and may be recreate your repository.
Commands follow:
set oracle_sid=YourInstanceName
emctl stop dbconsole
emca -repos recreate
emca -deconfig dbcontrol db
emca -config dbcontrol db -
11g dbconsole is not working on windows 2003 sp2
Hello,
Installed 11g db on 4 nodes rac using asm. Installed went well. I cannot bring dbconsole. windows serice is not starting any node.
Any idea whay can't i start dbconsole service..?
Please help ..
Thanks
James.Hello
here what we found.. dbconsole service in windows started now after we make somechanges in the DNS..
here what we have changed in the host file...
Our DNS entry has the following entries : (just giving you 1 machine details)
serdsos1
serdsos1p
serdsos1v
our host file has following entries
old:
198.234.79.197 serdsos1.sos.state.oh.us serdsos1
10.12.0.70 serdsos1p.sos.state.oh.us serdsos1p
198.234.79.201 serdsos1v.sos.state.oh.us serdsos1v
dbconsole service windows does not start...
after i changed the host file like below...
198.234.79.197 serdsos1 serdsos1.sos.state.oh.us
10.12.0.70 serdsos1p serdsos1p.sos.state.oh.us
198.234.79.201 serdsos1v serdsos1v.sos.state.oh.us
dbconsole start working...
do you have any idea??
Also.. I would like to ask you do i need give GLOBAL NAME with domain name..
welcome any ideas or suggestions
thanks
james
network group doesn't have any clue on this... DO you think of anything how it working now.. -
Why dbconsole won't start with emctl in Windows 7
SYSTEM information : windows 7 ultimate WITH Oracle DATABASE 11gR2
I'm connected with a windows user that reside in ora_dba and administrator groups
I execute all commands with "run as administrator"
'administrator' is also in ora_dba group
after installing oracle software I executed dbca to create a new database, but after the creation dbconsole won't run!
emctl start dbconsole gives me An instance of Oracle Enterprise Manager 11g Database Control is already runningand the service 'oracleDbConsoleorcl' is not started, when I start it mannually it gives me windows could not start the service in local computer
so now I know that this errors is caused by a running process, it's the 'java.exe : 5520', I kill it and try to start dbconsole again:
emctl start dbconsole it gives meThe OracleDBConsoleorcl service could not be started
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.
and of course the result of >NET HELPMSG 3547 is A service specific error occurred: *** :/
so I tried to recreate the repository but after the creation (successful) the result is the same errors when I want start dbconsole :
emca -config dbcontrol db -repos recreateYou have specified the following settings
Database ORACLE_HOME ................ d:\app\oracle\database\product\11.2.0\dbhome_1
Local hostname ................ localhost
Listener ORACLE_HOME ................ d:\app\oracle\database\product\11.2.0\dbhome_1
Listener port number ................ 1521
Database SID ................ orcl
.... no warning or errors ...
Sep 19, 2012 10:11:13 PM oracle.sysman.emcp.EMDBPostConfig invoke
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\oracle\database\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole
but ORACLEUNQNAME is already set !_
C:\Windows\system32>set oracle
ORACLE_HOSTNAME=localhost
ORACLE_SID=orcl
ORACLE_UNQNAME=orcl C:\Windows\system32>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://localhost:1158/em/console/aboutApplication
- An instance of Oracle Enterprise Manager 11g Database Control is already running. //_the same error before I recreate the repos_
C:\Windows\system32>emctl status agent
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Agent is Not Running
Please help
Thankscan you check the same after setting ORACLE_HOME and LD_LIBRARY_PATH=%ORACLE_HOME%/lib.
I am not sure how much this is going to help, just try it.
Once done try to start dbconsole -
Configuration mail notification in dbconsole (Windows)
Hi,
I have 10.2.0.4 db running on Windows 2003/64
Dbconsole also has been installed.
I can not define password for user mail account on the SMTP server. I can define only user name.
My question is how I can configure mail server/account on the SMTP server that give me send emails from dbconsole.
mail server lives on the other site.
Do I need to install local server or something else?
All users on the SMTP server have passwords.
I know that I can add password to the sender emuser in OEM and this field exluded in dbconsole notification configuration page.
Thanks,
OlegHi,
On GC console click on Setup and then on Notification Method which is on teh left side menu. Now you will get a form where you can enter the username , password & email address. On this form there is a button on the top righ hand cornor called Test Mail servers. By clicking on this you can test your email alerts through your smtp server.
Hope this halps. -
Windows could not start DBConsole for new database instance
Hi,
I am getting this error "Windows could not start the OracleDBConsoleOracleInstance2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1".
I installed Oracle 11g on Windows 7 and created my 1st database instance (oracleInstance1) successfully with a listener and service configured. I could access this database using DBconsole URL: https://hostname:1158/em.
I see the services started for:
OracleDBConsoleOracleInstance1
OracleOraDb11g_home1TNSListener
OracleServiceOracleInstance1
Next, I created a second database instance (oracleInstance2) and have configured a new service for this database. I am using the same listener as I intend to use one database instance at any point of time.
However, I got this warning message during configuration:
"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. C:\Oracle\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole"
To start the new database console, I stopped the previously running DBConsole, OracleDBConsoleOracle1 and started the new DBConsole OracleDBConsoleOracle2 and get the above error.
When I try to start dbconsole manually using "emctl dbconsole start", it starts OracleDBConsoleOracle1 instead.
I changed environment variables ORACLE_SID=oracle2 and ORACLE_UNQNAME=oracle2
What am I missing here. Please help!
Thank you.968952 wrote:
Hi,
I am getting this error "Windows could not start the OracleDBConsoleOracleInstance2 on Local Computer. For more information, review the System Event Log. If this is a non-Microsoft service, contact the system vendor, and refer to service-specific error code 1".
I installed Oracle 11g on Windows 7 and created my 1st database instance (oracleInstance1) successfully with a listener and service configured. I could access this database using DBconsole URL: https://hostname:1158/em.
I see the services started for:
OracleDBConsoleOracleInstance1
OracleOraDb11g_home1TNSListener
OracleServiceOracleInstance1
Next, I created a second database instance (oracleInstance2) and have configured a new service for this database. I am using the same listener as I intend to use one database instance at any point of time.
However, I got this warning message during configuration:
"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. C:\Oracle\product\11.2.0\dbhome_1\bin\emctl.bat start dbconsole"
To start the new database console, I stopped the previously running DBConsole, OracleDBConsoleOracle1
Why?
and started the new DBConsole OracleDBConsoleOracle2 and get the above error.
When I try to start dbconsole manually using "emctl dbconsole start", it starts OracleDBConsoleOracle1 instead.
I changed environment variables ORACLE_SID=oracle2 and ORACLE_UNQNAME=oracle2
What am I missing here. Please help!First thing you are missing is showing us what you did. Instead you just described it, and that leaves a lot of room for questions. Copy and paste from a command prompt can work wonders here.
From a command prompt, enter the following:
set ORACLE_SID=oracle2
set ORACLE_UNQNAME=oracle2
set | sort
net start
emctl start dbconsolecopy the entire session, commands and full responses, and paste back here.
>
Thank you.Just to take a side road ...
"I am using the same listener as I intend to use one database instance at any point of time. "
Doesn't' matter if you use one instance or 100. The listener was DESIGNED to service multiple instances of multiple versions running from multiple homes. It is nothing but a connection broker. A telephone switchboard, if you will. All you need is a single listener, with the default name of LISTENER, running on the default port of 1521. It will handle all the database instances you care to throw at it. More instances than anyone in their right mind would ever put on a single server. Your server will run out of capacity to host additional instances before the listener runs out of capacity to service them. Especially since your 'server' is really just a toy in the Oracle world. -
Installting DBCONSOLE on an exisiting 10g Database Windows 2003
Does anyone know how to install the dbconsole on a windpows 2003 server AFTER the database has already been installed? I tired the OUI and it seemd to work but I did not get the service in my Windows Service list.
Any thoughts?Actually here is what I need:
I installed 10g (10.1.0) on Windows 2003 using ASM (this is not a RAC install however). I would like to able to access the EM web pages (that usually run on port 5500) to check out the ASM and other installed features. This system is not on a grid or connected to a central EM repository.
I did not choose the EM packages when I ran the OUI initially, however, I went back and re-ran the OUI and laid out those options. Post install, I expected to see a dbcontrol service running but did not.
Thats where I am at.
The database name is ctcdb, by the way. -
Problem while starting DBConsole in windows?
Hi ,
Here i am facing problem while starting "OracleDBConsoleoracle". oracle is my oracle_sid.
when am trying to start this service from services in windows it is showing the error... please see the below link..
http://picasaweb.google.co.in/rajeshbalusu/Oracle
can anybody suggest me what is the problem?
My S/W Details..
OS : Windows XP Professional Version 2002 Service Pack 3
Database : Oracle 10gR2
Thanks
Rajeshrajeshbalusu wrote:
Hi ,
Here i am facing problem while starting "OracleDBConsoleoracle". oracle is my oracle_sid.
when am trying to start this service from services in windows it is showing the error... please see the below link..
http://picasaweb.google.co.in/rajeshbalusu/Oracle
can anybody suggest me what is the problem?
My S/W Details..
OS : Windows XP Professional Version 2002 Service Pack 3
Database : Oracle 10gR2
Thanks
RajeshPlease check Event Viewer to find out the error raised during startup of the specific service -
Please Help Installing DBConsole on Windows 7
I am attempting to install the DBconsole Service and when I run the Installation Batch file
C:\Oracle\Product\11.2.0\db_1\BIN>emca.bat -config dbcontrol db
I get the following error:
STARTED EMCA at May 13, 2011 3:15:45 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: R2
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:144)
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)Hello,
Exception in thread "main" oracle.sysman.emcp.exception.DatabaseUnavailableException: Database instance unavailable.Are you sure that the Database R2 is available ?
Did you set the ORACLE_SID and ORACLE_HOME variables before running emca ?
Hope this help.
Best regards,
Jean-Valentin -
Currently in my services console I only have a siddbconsole service running. Should I have another agent running? When I run agentctl it says no init file ... V$HS_PARAMETER is empty and no initsid.ora file exists ... Also Enterprise Manager says Agent Unreachable; except for port 5533 which is an agent?
Have you tested your Database outside of Enterprise Manager to connect to it?
Check to ensure that your installation complete successfully and Database was created?
Are you are expecting to see rows relating to this problem in V$HS_PARAMETER?
If you are looking for initsid.ora, check under $ORACLE_HOME/database for the init file or spfile with your database name.
From the Windows Services, start the agent associated with your Oracle Home. e.g OracleOra10gAgent -
Installation problem - Oracle 11gR2 Windows XP Professional SP 2
Hello everybody!
I have a problem at the installation moment of Oracle 11g R2 on Windows XP Professional Edition with SP 2. Please help me!
This is my computer's hardware configuration:
CPU Intel Pentium 4 3.00 Ghz x86
RAM: 1 GB
Hard disk: SATA 180 GB
Graphic Card: PCI-Express nVidia 7300GS 256 MB
Network connection: LAN / Internet connection: ADSL
O.S. Windows XP Professional Edition SP 2 (and installed .Net framework 2.0)
Antivirus: AVG 9.0 free edition
WEB Browser: Internet Explorer / Mozilla Firefox.
I tried to Install Oracle 11g R2 2 times, so I have formatted my computer 2 times because after the installation process, the Oracle Universal Installer don't respond.
Every time I installed the O.S., drivers, Antivirus, .Net Framework, Ms office, everything works properly.
I configured the network connection to use a fixed IP Address, I created the environment variables ORACLE_BASE, ORACLE_HOME, ORACLE_SID and ORACLE_UNQNAME (1st time its value was the same value of ORACLE_SID, 2nd time its value was the database global name) and then, I start the SETUP program, it run properly, but at the moment of finish the database creation this message appears: execute the commands: 1) define ORACLE_UNQNAME in database unique name 2) emctl.bat start dbconsole.
Through SQL Plus I can connect to the database, execute queries, the listener is working, but the database console service doesn't work. If I try to start it since command prompt (emctl start dbconsole) I get a message about the specific error 2.
What can I do??
Thanks in advance!Good morning! I hope you are fine.
I appreciate your help.
Jean-Valentin: I opened a DOS box (logged as the Administrator User who installed Oracle), I changed the ORACLE_SID value and the result of the commands:
set ORACLE_SID=MGN
emctl stop dbconsole
emctl start dbconsole
emctl status dbconsole
was this one:
C:\Oracle_base\Home_ODB11gR2_Aug1st2010\BIN>emctl stop dbconsole
OC4J Configuration issue. C:\Oracle_base\Home_ODB11gR2_Aug1st2010/oc4j/j2ee/OC4J_DBConsole_oraserver11_MGN not found.
Definitively, change the value of ORACLE_SID is not right. Then, I changed the ORACLE_SID again to its original value and the result was:
C:\Oracle_base\Home_ODB11gR2_Aug1st2010\BIN>emctl stop dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
The OracleDBConsoleMGN service is not started.
More help is available by typing NET HELPMSG 3521.
C:\Oracle_base\Home_ODB11gR2_Aug1st2010\BIN>emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Starting Oracle Enterprise Manager 11g Database Control ...The OracleDBConsoleMGN service is starting...............
The OracleDBConsoleMGN service could not be started.
A service specific error occurred: 2.
More help is available by typing NET HELPMSG 3547.
Using the ORACLE_SID original name, at least the emctl shows the OracleDBConsoleMGN as not started when I try to stop.
schavali: When I executed the Oracle Installation, the database configuration assistant showed this message:
The Enterprise Manager configuration was success with this warning: Error at start up database control, execute the commands: and you know, here start our history.
And the 3 steps of the database configuration assistant shows this:
Copying database files : Success (correct mark)
Creating and starting up database instance: Success (correct mark)
Finishing database creation: Success (correct mark)
I'll try to check the information of the link: http://download.oracle.com/docs/cd/B16240_01/doc/em.102/e10954/structure.htm#CACBBFGI
and then, I write again.
This cannot be... Oracle always works properly... is powerful... what is going on???
Thanks guys, have a great day! -
Upgraded to 10.2.0.3 and DBConsole is gone
Windows 32 Oracle with 2 instances on the machine; upgraded from 10.2.0.1 to 10.2.0.3
updated one instance at a time and everything seemed to install successfully. Opening Enterprise Manager after the upgrade was complete displayed a page not found. Restarted the service and was able to see the Enterprise Manager log in page and logged into the database successfully. The Oracle version displayed on the startup page still said 10.3.0.1, sql commands display 10.2.0.3 as does the Oracle installer. Enterprise Manager for both databases behaves the same.
To try and remedy the problem I tried reinstalling the 10.2.0.3 patch set. The reinstall went smoothly but during the database upgrade I received an error message indicating
Could not complete the Enterprise Manager configuration.
Enterprise manager configuration failed due to the following error-
Could not backup file c:\oracle\product\10.2.0
\db_2\oc4j\j2ee\OC4J_DBConsole_%hostname%_%Database%
Following the path, the file exists and looking at the log just shows the same message.
So after that attempt the DBConsole service is completely gone from AdminTools, Services. Before it was there and said it was started, but needed restarting to connect and then it listed the wrong version and would disconnect and not work again after 10 minutes. I don't really know if there is a way to install 10.2.0.3 differently than shutting down all the services for each database and doing them individually. My next thought is to try and reinstall dbConsole from scratch since the service is gone and not even available.Try this => "Manually configure the Oracle 10g EM dbconsole"
Cheer,
Virag -
Can't get EM to work on Oracle 10.2.0.5 running on Windows 2008 R2 64 bit
Hi
Could anyone help me?
I have tried many things and tried lots of htings other forums have suggested but I can't get EM to work.
The dbconsole windows services hang on startup, if I do a emctl start dbconsole after setting my sid it returns 3 lines of ......., hangs and then gives an error of 1.
I have dropped and re-created the repository, I can now login to EM on the correct HTTP port listed in my portlist.ini. But its as though it can't see the instance, it shows a status of pending and a java error of java.lang.Exception: Exception in sending Request :: null at the database homepage.
The log file for EMCA shows the same error to do with not finding files i the OCJJ directory, but I can browse and see all the files through Windows. Coudl this be some java issue? I have the latest versio of Java installed and have tried reinstalling EM using the OUI.
The error that appears in the log file is listed below, its the same error repeated but referrs to differan't files in the same DIR.
\OC4J_DBConsole_.HOSTNAME_SID\config\jms.xml in searching for tag jms-server with attribute port
java.io.FileNotFoundException: c:\oracle\product\10.2.0\db_1\oc4j\j2ee\OC4J_DBConsole_HOSTNAME_SID\config\jms.xml (The system cannot find the path specified)
Edited by: user8797813 on 17-May-2011 01:56It made no differance, now get the following error in the emoms.log
4_/console/database/instance/sitemap] ERROR perf.sitemap initializeGeneral.400 - Failed to initialize object: ORA-20206:
ORA-06512: at "SYSMAN.EMD_DATABASE", line 1165
ORA-01403: no data found
ORA-06512: at line 1
2011-05-17 08:51:04,722 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1330)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1223)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:640)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
at java.lang.Thread.run(Thread.java:595)
2011-05-17 08:51:04,737 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: null
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_(EMDClient.java:1330)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest(EMDClient.java:1223)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:640)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab._getAllData(DbHomeTab.java:324)
at oracle.sysman.emo.perf.metric.rt.DbHomeTab.getData(DbHomeTab.java:139)
at oracle.sysman.emo.perf.metric.eng.MetricCached.collectCachedData(MetricCached.java:402)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread._collectCachedData(MetricCollectorThread.java:596)
at oracle.sysman.emo.perf.metric.eng.MetricCollectorThread.run(MetricCollectorThread.java:320)
at java.lang.Thread.run(Thread.java:595)
2011-05-17 08:52:04,610 [MetricCollector:HOMETAB_THREAD600:60] ERROR rt.DbMetricCollectorTarget _getAllData.328 - oracle.sysman.emSDK.emd.comm.CommException: Exception in sending Request :: nul
Maybe you are looking for
-
Good day, I am currently working on a SSIS package that had been built by a previous user. That Package allows me to import data from an excel source to a SQL table. The excel sheet holds multiple columns, However I am having difficulty with one colu
-
The Downloads Clear List Button Not Working In Firefox 19.0
Hello, After upgrading Firefox to version 19.0 today, I noticed that the Downloads Clear List Button does not work & is always grayed/greyed out, and so you can not clear all downloads; and so you have to remove them each one-at-a-time. I did not hav
-
Upgrading Cisco NCS 1.1.1.24 to Prime Infrastructure 1.2
I am planning to upgrade NCS 1.1.1.24 to Prime Infrastructure 1.2 and want to make sure that I understand the process and what to expect. Any input from those of you that have completed this would be very appreciated. I am planning on doing the inl
-
Parental Controls time limit ends too soon
For Time Limits in Parental Controls, how does OS X decide when the account is in use? I setup a managed account for my son on a MacBook Pro running 10.6.8. It is set to 3 hour limit on weekdays. Problem is that sometimes the timer gives its usual 15
-
Alarm Only Works w/ iCal Open
I have checked the preferences and the login items in the system prefs. I have been through all the previous articles on this discussion site - no matter what I do the only time I get an alarm or e-mail alert is when I open iCal. Any suggestions woul