Oracle Enterprise Manager Console Error
Hi,
I have installed Oracle 10g client for administrator(for Windows Vista) on my Windows Vista machine to manage Oracle databases remotely.
However, after creating the TNS service names I get error in OEM admin console as follows and do not see any DB connections.
Error: Failed to parse tnsnames.ora file
oracle.net.config.serviceAliasException: TNS-04404: No error
caused by Oracle.net.configException: TNS-04414
caused by TNS-04610"
How can I troubleshoot this error and rectify OEM console.
Appreciate much your kind response.
Regards,
Noor
Hello all,
I had exactly the same problem: ServiceAliasException: 11, not 10 as in the MetaLink note referred to above.
It turned up today, but the tnsnames.ora file hasn't been changed since October 15:th. It turns out to be
some kind of security matter in windows (XP in my case, but I guess it's about the same in Vista).
All the files in my TNS_ADMIN folder have been set to read-only. Looking at them with cygwin shows that
it's actually even worse: They've been chmod:ed 0 and put on an ACL.
Once I chmod:ed them writable again (guess removing the read only flag in windows would do the same),
I could create and save new entries with my 10.2 OEM standalone again.
Seems youy get a "ServiceAliasException: 11" when tnsnames can't be written.
Best regards,
//Robert
Similar Messages
-
Oracle 8i: Oracle enterprise manager console
Dear all,
I installed oracle 8i (8.1.6) server on linux and client on my own NT
machine. I had no problem to access the database using sqlplus and DBA
studio. I also configured oracle management server and tried to using
Oracle Enterprise Manager Console. Also, there was no problem to discover
the node and to ping agent. But, when I tried to connect to the database,
it gave me the following error message: "ORA-12545: connect failed because
target host or object does not exit". Can someone help me out?
Thanks.
Deweiadd or drop users, Using GUI tools could be sometime dangerous.
You can always use performance diagnostic (oracle provided) to have performance stats in graphical display.
You can also use EM Grid Control (10g) in order to maintain 8i and 9i with 10g EM Grid control.
You need to install an agent on those database in order to communicate with 8i and 9i.
Jaffar -
Oracle Enterprise Manager Console Login issue
HI Guys,
I have installed Oracle 10g on my Windows 7 64 bit system and have trouble running Oracle Enterprise Manager Console.
When I open Oracle Enterprise Manager Console it prompts me for a Hostname and SID parameters. For which I have given my System name as the parameter and orcl as the SID.
Then I get an error saying that " Failed to parse tnsnames.ora file ServiceAliasException: 11 "
Please Help!!
Thank you!!
KarthikThe dbconsole needs to be configured, assuming your database instance is up and running ...
For startup info see http://download.oracle.com/docs/cd/B19306_01/server.102/b14196/em_manage002.htm#sthref143 -
Oracle Enterprise Manager Console TNS-04404 / TNS-04414
Oracle Enterprise Manager Console
Version 10.1.0.2.0 Production
Running on Windows XP Professional
=================================================
Failed to parse tnsnames.ora file
oracle.net.config.ServiceAliasException: TNS-04404: no error
caused by: oracle.net.config.ConfigException:TNS-04414: File error
caused by: TNS-04612: Null RHS for "QCCP1.WORLD":
0
=================================================
(NOTE): I understand that this issues is related to TNSNAMES.ORA file. I have another computer, and the OEM Console is working just fine on that computer. So, I copied the TNSNAMES.ORA file from the other computer, but still I am receiving the same issue.
Please let me know if you can help me with this issue. Thanks in advance ...878649 wrote:
This problem occur when i run version 10.2 of Console Enterprise Manager
This a very funny error but took me a lot tries and errors to solve it !
I'ts related to the syntax of an entry defining an SID in the tnsnames.ora. This an oracle bug for sure
Here is an entry in my tnsnames.ora
Then why does posted example below NOT contain any "SID" entry?
mydb.world =
*(DESCRIPTION =*
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = myoraclehost)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = mydb)
At first look this entry is valid. At least SHOULD BE VALID an understood by oracle tnsnames interpreter
After a couple of tries, i finally found that there should be at least one space between the begining of the line where figure out the description keyword (DESCRIPTION
I've corrected the problem by inserting a space before this keyword.
This happen -
Unable to drop Oracle Enterprise Manager console in Oracle 11g
Hello all,
I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos drop
STARTED EMCA at Jun 16, 2009 9:59:58 PM
EM Configuration Assistant, Version 11.1.0.7.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: NM45
Listener port number: 1529
Password for SYS user:
Password for SYSMAN user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: y
Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.util.EMCALogManager addLogFileIntern
al
WARNING: Adding log file D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log failed. Messages will not be logged in this file.
Jun 16, 2009 10:00:20 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log.
Jun 16, 2009 10:00:21 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Jun 16, 2009 10:00:22 PM oracle.sysman.emcp.EMConfig perform
SEVERE: Can't find file D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties
Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
Could not complete the configuration. Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.
D:\Oracle\Ora11G\BIN>
Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.
In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
Thanks
With Regards
Hemanthem_kec wrote:
Hello all,
I am trying to drop the Oracle Enterprise Manager console in Oracle 11g (Windows server 2008 32 bit). I am getting the following error.
D:\Oracle\Ora11G\BIN>emca -deconfig dbcontrol db -repos dropBefore this you shoud do :
ORACLE_HOME/bin/emca -x <sid>
ORACLE_HOME>/sysman/admin/emdrep/bin/RepManager <hostname> <listener_port> <sid> -action drop
Refer to the log file at D:\Oracle\Ora11G\cfgtoollogs\emca\ENMSCSDB\emca_2009_06_16_22_00_20.log for more details.did you check this log ?
Even though the D:\Oracle\Ora11G\F1SMLFS_NM45\sysman\config\emoms.properties is exists in the disk. Any Idea.yes. you could visit metalink and see 278100.1 How To Drop, Create And Recreate DB Control In A 10g Database
In Oracle 9i " Enterprise manager Configuration Assistant" (Open “Start ---> Programs ----> Oracle - OraHome92 ---> Configuration and Migration
Tools -----> Enterprise manager Configuration Assistant) was present. Is there any replacement of this in Oracle 11g ?
Thanksok
With Regards
Hemantbest regards -
Oracle Enterprise Manager Console Sessions
I do apologize if this is posted in the incorrect location. I have Oracle Enterprise Manager Console open and i'm within instances\Sessions. When I first log in there are 9 total active sessions. 1 is mine with program java.exe which is OEMC. I have a website that calls a stored procedure. It will return either a string or nothing depending on if there is a row in the table. That is the only call that is being made. This executes on page load. As soon as I go to this page and it loads I check OEMC again and now I have 5 new INACTIVE sessions with program w3wp.exe. Why is there 5 when i'm only making 1 call to the database?
Here is the c# code i'm using on my master page. The page that is calling the master page only has text there is nothing in the code behind for that page.
OracleParameter pMsg;
OracleConnection conn = new OracleConnection(ConfigurationManager.ConnectionStrings["strDB"].ConnectionString);
OracleCommand command = new OracleCommand("GetMsg", conn);
command.CommandType=CommandType.StoredProcedure;
pMsg = command.Parameters.Add("PMSG", OracleDbType.Varchar2, 4000);
pMsg.Direction = ParameterDirection.Output;
conn.Open();
command.ExecuteNonQuery();
string sMsg = Convert.ToString(pMsg.Value);
if (sMsg.Length > 1)
litMsg.Text = "** " + sMsg + " **";
conn.Close();
conn.Dispose();
command.Dispose();
Thank you for any helpI think I figured out what is going on. I think it's the connection pooling that is creating these 5 connections. When I turned pooling off it created 1 connection when I was on that page and then when I exited the connection was gone as well. My question now is are these 5 connections for the entire site? Meaning that it will server anyone user to my site?
If I have an open connection object later on in my code does it skip this process and just go to the connection pool?
Thanks -
Cannot login as sysdba in Oracle Enterprise Management Console
Hi,
I have recently installed Oracle 9.2.0.4 in Red Hat Linux 9.
I ran "oemapp console" to launch the Oracle Enterprise Manager Console Standalone. However, everytime I tried to login as:
user: sys
password: <sys password>
connect as: sysdba
I always get ORA-01031: insufficient privileges.
The Oracle database where I cannot connect as sysdba in OEM was created MANUALLY.
However, I can successfully login to OEM as sysdba if the database was created using Database Configuration Assistant...
So I might have missed out some configurations when I creasted the database MANUALLY...
any ideas??
Thanks in Advance
Regards
PrasannaHi there once more,
Of course it is possible that user system has the same problems as user sys (insufficient privs)....
In that case try to log on as internal/pwd@dbname as sysdba to perform the trick.
Good luck!
Regards,
Georges. -
Enterprise manager console error
Hi all
when i launch the enterprise Manager Console from my xp Professional i get this error
java.lang.reflect.InvocationTargetExceptionjava.lang.NoClassDefFoundError: oracl
e/jdbc/OracleDriver
My pc is a notebook with a partition c: with the system and the data partition d.
i look into some bat file that launch some oracle application ant it seem that use the jvm distribuited with the oracle client 10g under oracle\product\10.2.0\client_1\jdk.
Why doesn't works?
Thanks!Hi all i try some solution but not works.
The problem seems like oracle can't find or can't find the right version of java library therefore i think the solution is to set the right jvm for the oracle
products but how i can do this?
Any idea?
Thanks!!! -
Oracle Enterprise Manager Console redirection
I've recently moved one of our servers that has Oracle 10g 10.2.0.2.0 installed to another domain. After this was done, the Database Control to navigate to the web page will no longer work properly. I have tried uninstalling and reinstalling Enterprise Manager Console, and changing the default web address in the browser's title bar, but to no avail. Are there certain configuration parameters that need to be addressed in order to get this working again, or certain registry settings that need to be altered? Thanks for any help on this in advance.
Only a general advice is possible. This kind of error occurs,when there are mismatches in your installed Oracle software. In your case 'java.exe' and 'oci.dll' are not suited to each other. You may have to repeat the installation . Keep an eye on error messages.
Werner -
Oracle Enterprise Manager - HTTP error: 503 Service Unavailable
Dear all,
some time ago I've upgraded Oracle Database 10g up to version 10.2.0.4.0 on a Linux system.
Now if I try to connect to HTTP Oracle Enterprise Manager interface (http://(My server name):1158/em/console/aboutApplication) I see this error into my browser: "503 Service Unavailable - Service is not initialized correctly. The Em Key is not configured properly. Run "emctl status emkey" for more details."
If I perform "emctl status dbconsole" command from command line I have this output
TZ set to Europe/Vatican
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://(My server name):1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is not running.
So I've tried to restart Oracle Enterprise Manager trough command line using "emctl start dbconsole":
TZ set to Europe/Vatican
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://(My server name):1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 10g Database Control .... started.
Now dbconsole seems to be running as follows
TZ set to Europe/Vatican
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
http://(My server name):1158/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
but my browser always shows the same above error.
If I try to perform the suggested "emctl status emkey" command trough command line I have this output:
TZ set to Europe/Vatican
Oracle Enterprise Manager 10g Database Control Release 10.2.0.4.0
Copyright (c) 1996, 2007 Oracle Corporation. All rights reserved.
Please enter repository password: (Here I put sysman password)
Exception caught
ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
java.sql.SQLException: ORA-06550: line 1, column 13:
PLS-00201: identifier 'MGMT_TIME_SYNC.STARTUPSYNC' must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:111)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:330)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:287)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:744)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:217)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:968)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1189)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3369)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3475)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4399)
at oracle.sysman.emSDK.conf.ConfigManager.startupEmKey(ConfigManager.java:855)
at oracle.sysman.emSDK.conf.ConfigManager.statusEmKeyInRepos(ConfigManager.java:1113)
at oracle.sysman.eml.sec.rep.EmKeyUtil.statusEmKey(EmKeyUtil.java:273)
at oracle.sysman.eml.sec.rep.EmKeyUtil.main(EmKeyUtil.java:583)
I've done no changes on Linux operating system side.
Could somebody help me, please?
Thanks for help and regards.
DragonsLordKERNEL
Edited by: DragonsLordKERNEL on 17-nov-2008 11.06Check if your emkey file is still under $ORACLE_HOME/sysman/config/emkey.ora
Also check Oracle doc,
http://download.oracle.com/docs/cd/B19306_01/em.102/b40002/security2.htm#BABJGGIG
consider remove the recreate emkey if it doesn't work out. -
Oracle Enterprise Management Console doesn't work
Hi, there,
I meet a strange problem. I use JDeveloper to make jsp project. the database is oracle 9i. I install JDeveloper and database on the same machine. at first, everything is ok. but suddenly I found that I can't run Enterprise Manager Console. the icon in the start meun became unrecognize. if I run the command on the command line, it's refused. I don't know what's the reason. but what's more strange is that I can run jsp project and store and retrieve data from database. I really don't know the reason, besides, how can I change database structure and view data stored in the database without Enterprise Manager Console?
my project will be used on the next week, but I don't know if this problem will effect funcation!
does there anyone know the reason and how can I resolve it? besides, my OS is windows xp professional.
any hint will be great appreciated!!You can view your all values from Jdeveloper only .
Go for connection Database and click on user than u can c database structure and all tables views ....
Hope it helps -
Starting Oracle Enterprise Management Console
I have oracle11gR2 database instance up and running on RHEL and i am able to connect to this instance using sqldeveloper. I need to have access to enterprise manager console too.
I tried to start enterprise manager using following command
[ora112@localhost ~]$ emctl start dbconsole
Environment variable ORACLE_UNQNAME not defined. Please set ORACLE_UNQNAME to database unique name.
then it tells me that ORACLE_UNQNAME is not defined.
the i set ORACLE_UNQNAME=JIP (JIP=ORACLE_SID), even after doing this , i get the same message when i try to start enterprise manager console.
could anybody help me resolve this issue
thanks in advance for any helpUnset ORACLE_SID (i.e. only set ORACLE_UNQNAME instead of ORACLE_SID), then try again. Pl also post the output of command "env | sort" just before issuing the emctl command
HTH
Srini -
Oracle Enterprise Manager NT Error 2140
I had enterprise manager (oracle 8.1.6) running just fine (although I had to start it manually after reboot)
I installed OAS now it refuses to start
and gives win nt error 2140
Please HELP here, this is the most
user Unfriendly installation process
I have ever seen, I can't even find
any troubleshooting tips anywhere...
Jay
nullHi,
Here the problem not with host NAME.
Please search for the article
434834.1 Problem: Host Cpu and Active Sessions Charts Are Not Displayed on DB Console Homepage
Bug 6030546 CPU GRAPH ERRORS WITH JAVA.LANG.NOCLASSDEFFOUNDERROR: ORACLE/CHARTS/TYPES/CHART
Solution
You can implement the following workaround to prevent the issue from happening:
1) Stop the dbconsole
<ORACLE_HOME>/bin/emctl stop dbconsole
2) Search for a file named jcb.jar under ORACLE_HOME/sysman/webapps/emd/WEB-INF/lib
3) Copy the jcb.jar that you found to <ORACLE_HOME>/sysman/jlib folder
4) Start the dbconsole
<ORACLE_HOME>/bin/emctl start dbconsole
How search: login to
support.oracle.com
right side, copy and paste 434834.1
main problem is you are not able to see chart Active Sessions or chart Host CPU in EM
Hope this answers your question
Kind Regards,
Rakesh jayappa -
Oracle Enterprise Manager Console on Win 7 64bits OS 6.1
Hello everyone,
I've been looking for a solution for my problem and got nothing so far. This is the situation:
I''m a new DBA in my work and my co-workers sent me the Oracle Client 10g to be installed on my new notebook. The reason is that we have more than 300 databases in several servers and I need to install the client on my pc to administer them.
My problem is that i'm using Windows 7 64 bits OS 6.1 and the client they sent me just works for 32 bits.
Does anyone have any idea how I can get a client that fits my SO? I've been searching on oracle website but no solution found so far.
Thanks in advance,
Diego.873834 wrote:
Well, I've tried the Instant client already... but it doesn't give me the an interface (OEM Console) where I can see all my databases and choose one to connect to.OEM console is web based. Nothing at all required on your local PC.
there are two flavors of 'OEM"
The first is dbcontrol. This runs on the same box as the database. One instance of dbcontrol provides a web interface to one database instance. If you run multiple db instances on a box, each would have to have its own dbcontrol, each listening for http(s) connections on its own port.
The other is Grid Control. It is essentially an app server, presenting a common web interface for multiple database instances running on multiple hosts. It communicates to each instance through an agent running on the same box as the db instance being managed. It keeps its own repository in an Oracle database - preferably one dedicated to that purpose. -
Starting and Stopping the Oracle Enterprise Manager Console
I read 2DayDba. Here was written:
Log on to the operating system as the oracle user. Issue the following command to start the dbconsole process:
emctl start dbconsole
I opened cmd and wrote that.
Enviroment variable ORACLE_SID not defined. Please define it
I understand it, but I don't know excatly.Windows
set ORACLE_SID=<yoursid>
Bash
ORACLE_SID=<yoursid>; export ORACLE_SID
Kornshell
export ORACLE_SID=<yoursid>
emctl start dbconsole
Sybrand Bakker
Senior Oracle DBA
Maybe you are looking for
-
I recently purchased a subscription a couple days ago and cancelled it that day and still haven't received my refund. Just curious as to when i will get my money back?
-
User order sort changes everytime in Lightroom 3.2
I have been using Lightroom for a number of years with no troubles. It is an important part of my photography business. Lately with ver 3.2 my sort order gets all messed up every time I reopen a catalogue. The sort can take 4-6 hours, so it is a r
-
XML digital signature XAdES support
Are there any plans for supporting XaDES Advanced electronic signature as specified by ETSI TS 101-93? It's a quite common format, and well acknowledged (for instance by italian and other EU countries regulations). Should i file or vote an RFE?
-
If you del a file in NT, the file just only is deleted, but the same code in W98 take the file into the trash can. Can we delete it definitively? Thanks
-
Macintosh se fdhd with red flashing light
I have a macintosh SE FDHD, and system 7.1 floppys. My model has only one floppy drive under the screen. When I boot the mac and insert the floppy with system 7.1 on it in the macintosh, it gives de disk back, and the LED from the other drive starts