Home » RDBMS Server » Enterprise Manager » How to install Enterprise Manager
How to install Enterprise Manager [message #212722] Mon, 08 January 2007 00:07 Go to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
Hi,
I have installed oracle 10g on Fedora core linux.I have created a database manually.Now i would like to install ORACLE Enterprise Manager,Can anybody guide me on how to do it.

thnx
gthri
Re: How to install Enterprise Manager [message #212727 is a reply to message #212722] Mon, 08 January 2007 00:33 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
OEM is components of Oracle Database.
you have to start OEM services.
AND you can use.

On Command prompt
cmd>set oracle_sid= <sid>
cmd>emctl start dbconsole

and check on your system PORT.INI file for port number of OEM.

regards
Taj
Re: How to install Enterprise Manager [message #212728 is a reply to message #212722] Mon, 08 January 2007 00:35 Go to previous messageGo to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
hi,
thnx for the reply.I tried to do that.But it shows error as
OC4J Configuration issue. /u01/app/oracle/product/10.1.0/db_1/oc4j/j2ee/OC4J_DBConsole_......HOSTNAME... not found

pls let me knwo wht i need to do.


thnx
gthri
Re: How to install Enterprise Manager [message #212733 is a reply to message #212728] Mon, 08 January 2007 01:12 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member


Go through below link. hope this helps

http://forums.oracle.com/forums/thread.jspa?threadID=277341&tstart=0
- go to $ORACLE_HOME/bin, 
- type emctl status dbconsole 
- Got error msg 'Environment variable ORACLE_SID not defined. Please define it.
- type SET ORACLE_SID=DEV10G3
- type emctl status dbconsole
- Got error msg 'EM Configuration issue. c:\oracle\ora10g3/10.10.10.11_DEV10G3 not found.' (btw, 10.10.10.11 is the IP address I assigned to my Microsoft Loopback Adapter).
- I created the directory named in the above error msg
- type emctl status dbconsole
- Got error msg 'OC4J Configuration issue. c:\oracle\ora10g3/oc4j/j2ee/OC4J_DBConsole_10.10.10.11_DEV10G3 not found.'
- But I do see existing directory c:\oracle\ora10g3/oc4j/j2ee/OC4J_DBConsole_blackbird_DEV10G3 (blackbird is the host name of my machine). This directory has lots of subdirectories and files in it. 
This gives me the necessary 'AHA!!!!', so I go to c:\windows\system32\drivers\etc\hosts and add an entry equating 10.10.10.11 with blackbird.
- type emctl status dbconsole again. Now I get: 'Oracle Enterprise Manager 10g is not running.' 
- type emctl start dbconsole
- IT WORKS!



regards
Taj
Re: How to install Enterprise Manager [message #212739 is a reply to message #212733] Mon, 08 January 2007 01:33 Go to previous messageGo to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
hi,
thnx for the reply.I tried ur suggestion but where can i find the one ...system32\drivers\etc\hosts in my linux OS.

thnx
gthri
Re: How to install Enterprise Manager [message #212743 is a reply to message #212739] Mon, 08 January 2007 01:58 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
Because you create database manully then you have to create OEM dbconsole for that you can run DBCA (Database Configuration Assistant) and go Configure Database and check Enterprise Manager Option.

and check what port number you get for OEM dbconsole.
cmd>set oracle_sid=<sid>
cmd>emctl status dbconsole

E:\>set oracle_sid=catdb

OC4J Configuration issue. C:\oracle\product\10.1.0\Db_1/oc4j/j2ee/OC4J_DBConsole
_alwarid-taj.fakhruddin.local_catdb not found.


after go DBCA and configure database with Enterprise Manager.

E:\>set oracle_sid=catdb

E:\>emctl status dbconsole
Oracle Enterprise Manager 10g Database Control Release 10.1.0.2.0
Copyright (c) 1996, 2004 Oracle Corporation.  All rights reserved.
http://alwarid-taj.fakhruddin.local:5502/em/console/aboutApplication
Oracle Enterprise Manager 10g is running.
------------------------------------------------------------------
Logs are generated in directory C:\oracle\product\10.1.0\Db_1/alwarid-taj.fakhru
ddin.local_catdb/sysman/log

regards
Taj
Re: How to install Enterprise Manager [message #212937 is a reply to message #212743] Mon, 08 January 2007 20:26 Go to previous messageGo to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
Hi,
When i give dbca in my command prompt it shows error as

Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:134)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Font.initializeFont(Font.java:308)
at java.awt.Font.<init>(Font.java:344)
at oracle.ewt.lwAWT.LWComponent.<clinit>(Unknown Source)
at oracle.sysman.assistants.util.wizard.WizardObject.<init>(WizardObject.java:63)
at oracle.sysman.assistants.dbca.ui.DBCAWizard.<init>(DBCAWizard.java:424)
at oracle.sysman.assistants.dbca.ui.UIHost.<init>(UIHost.java:209)
at oracle.sysman.assistants.dbca.ui.InteractiveHost.<init>(InteractiveHost.java:54)
at oracle.sysman.assistants.dbca.Dbca.getHost(Dbca.java:155)
at oracle.sysman.assistants.dbca.Dbca.execute(Dbca.java:93)
at oracle.sysman.assistants.dbca.Dbca.main(Dbca.java:175)

--------
when i give emctl start dbconsole i get as
EM Configuration issue. /u01/app/oracle/product/10.1.0/db_1/cm51.omega66.maxonline.com.sg_hp not found
---------
when i give emctl status dbconsole
EM Configuration issue. /u01/app/oracle/product/10.1.0/db_1/cm51.omega66.maxonline.com.sg_hp not found
----
Pls let me know how to proceed

thnx
gthri
Re: How to install Enterprise Manager [message #212948 is a reply to message #212937] Mon, 08 January 2007 22:10 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

Hi,
try

As root user
#xhost +
As oracle user
$export DISPLAY 127.0.0.1:0.0



regards
Taj
Re: How to install Enterprise Manager [message #212964 is a reply to message #212722] Mon, 08 January 2007 23:24 Go to previous messageGo to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
hi,
it says
export DISPLAY 127.0.0.1.0.0
-bash: export: `127.0.0.1.0.0': not a valid identifier


thnx
gthri
Re: How to install Enterprise Manager [message #212970 is a reply to message #212964] Mon, 08 January 2007 23:49 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

hi,
i think you given wrong way
as root user
linux@root]#xhost +
as oracle user or normal user 
linux@oracle]$export DISPLAY="127.0.0.1:0.0"
if above is not working then
linux@oracle]$export "DISPLAY=:0.0"



regards
Taj
Re: How to install Enterprise Manager [message #212971 is a reply to message #212722] Mon, 08 January 2007 23:53 Go to previous messageGo to next message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
hi,
nothing displays once i give this.It comes to the command prompt again

thnx
gthri
Re: How to install Enterprise Manager [message #212973 is a reply to message #212971] Tue, 09 January 2007 00:02 Go to previous messageGo to next message
Mohammad Taj
Messages: 2412
Registered: September 2006
Location: Dubai, UAE
Senior Member

comes to the command prompt again
with command prompt you got any error message is not then you can run DBCA.

regards
Taj
Re: How to install Enterprise Manager [message #212975 is a reply to message #212973] Tue, 09 January 2007 00:04 Go to previous message
gthrisg
Messages: 17
Registered: August 2006
Junior Member
oh !! again i get the same error when i run dbca

thnx
gthri
Previous Topic: Drop schemas in OEM
Next Topic: viewing manually created Database through Web EM in 10G
Goto Forum:
  


Current Time: Thu Dec 12 23:28:35 CST 2024