Home » RDBMS Server » Enterprise Manager » Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE
Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #486598] Fri, 17 December 2010 04:10 Go to next message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
Hi,
I am unable to configure EM(Oracle 11.2g) on Redhat Linux 5 Enterprise edition(32 bit). Environment variables are set to correct SID. If I try to run dbca the wizard does not display the Enterprise manager configuration screen. I have tried to create repositry by using emca -config dbcontrol -db config. But it throws exception that database instance is unavailable? Does anybody knows what has to be done. I am new to oracle. Any suggestions will be really appreciated.
Many thanks in advance.
Regards
Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #486630 is a reply to message #486598] Fri, 17 December 2010 08:53 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
EM requires SQL*Net to be functional.
post results of following OS commands

id
env | sort
lsnrctl status
lsnrctl service
sqlplus scott/tiger@TNS_ALIAS

COPY commands & results from above then PASTE all back here
Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #486645 is a reply to message #486630] Fri, 17 December 2010 12:10 Go to previous messageGo to next message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
uid=3019(oracle) gid=3018(oinstall) groups=3018(oinstall)

[oracle@oracle11-test ~]$ env | sort
_=/bin/env
CLASSPATH=/home/oracle/oracle/product/11.2.0/dbhome_1/jre:/home/oracle/oracle/product/11.2.0/dbhome_1/jlib:/home/oracle/oracle/produc t/11.2.0/dbhome_1/rdbms/jlib
COLORTERM=gnome-terminal
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BEKZf9Vg45,guid=9b42fc4c4a6f1e4edf5905cf64616900
DESKTOP_STARTUP_ID=
DISPLAY=:2.0
G_BROKEN_FILENAMES=1
GNOME_DESKTOP_SESSION_ID=Default
GNOME_KEYRING_SOCKET=/tmp/keyring-D0H4iM/socket
GTK_RC_FILES=/etc/gtk/gtkrc:/home/oracle/.gtkrc-1.2-gnome2
HISTSIZE=1000
HOME=/home/oracle
HOSTNAME=oracle11-test
INPUTRC=/etc/inputrc
LANG=en_US.UTF-8
LESSOPEN=|/usr/bin/lesspipe.sh %s
LOGNAME=oracle
LS_COLORS=no=00:fi=00:di=00;34:ln=00;36:pi=40;33:so=00;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=00;32:*.cmd=00;32: *.exe=00;32:*.com=00;32:*.btm=00;32:*.bat=00;32:*.sh=00;32:*.csh=00;32:*.tar=00;31:*.tgz=00;31:*.arj=00;31:*.taz=00;31:*.lzh=00;31:*. zip=00;31:*.z=00;31:*.Z=00;31:*.gz=00;31:*.bz2=00;31:*.bz=00;31:*.tz=00;31:*.rpm=00;31:*.cpio=00;31:*.jpg=00;35:*.gif=00;35:*.bmp=00; 35:*.xbm=00;35:*.xpm=00;35:*.png=00;35:*.tif=00;35:
MAIL=/var/spool/mail/oracle
ORACLE_BASE=/home/oracle
ORACLE_HOME=/home/oracle/oracle/product/11.2.0/dbhome_1
ORACLE_SID=TDMFIN
PATH=/home/oracle/oracle/product/11.2.0/dbhome_1/jdk/jre/bin:/home/oracle/oracle/product/11.2.0/dbhome_1/bin:/usr/kerberos/bin:/usr/l ocal/bin:/bin:/usr/bin:/home/oracle/bin
PWD=/home/oracle
SESSION_MANAGER=local/oracle11-test:/tmp/.ICE-unix/5188
SHELL=/bin/bash
SHLVL=3
SSH_AGENT_PID=5252
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
SSH_AUTH_SOCK=/tmp/ssh-Ktzbpv5188/agent.5188
TERM=xterm
USER=oracle
VNCDESKTOP=oracle11-test:2 (oracle)
WINDOWID=21031409

[oracle@oracle11-test ~]$ lsnrctl status

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 07-DEC-2010 02:32:22

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 06-DEC-2010 02:21:44
Uptime 1 days 0 hr. 10 min. 37 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /home/oracle/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /home/oracle/diag/tnslsnr/oracle11-test/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11-test)(PORT=1521)))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "TDMFIN" has 2 instance(s).
Instance "TDMFIN", status UNKNOWN, has 1 handler(s) for this service...
Instance "TDMFIN", status READY, has 1 handler(s) for this service...
Service "TDMFINXDB" has 1 instance(s).
Instance "TDMFIN", status READY, has 1 handler(s) for this service...
The command completed successfully

[oracle@oracle11-test ~]$ lsnrctl service

LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 07-DEC-2010 02:33:19

Copyright (c) 1991, 2009, Oracle. All rights reserved.

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
Services Summary...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:0 refused:0
LOCAL SERVER
Service "TDMFIN" has 2 instance(s).
Instance "TDMFIN", status UNKNOWN, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:2 refused:0
LOCAL SERVER
Instance "TDMFIN", status READY, has 1 handler(s) for this service...
Handler(s):
"DEDICATED" established:205 refused:0 state:ready
LOCAL SERVER
Service "TDMFINXDB" has 1 instance(s).
Instance "TDMFIN", status READY, has 1 handler(s) for this service...
Handler(s):
"D000" established:0 refused:0 current:0 max:1022 state:ready
DISPATCHER <machine: oracle11-test, pid: 19099>
(ADDRESS=(PROTOCOL=tcp)(HOST=oracle11-test)(PORT=17570))
The command completed successfully

[oracle@oracle11-test ~]$ sqlplus scott/tiger@TDMFIN

SQL*Plus: Release 11.2.0.1.0 Production on Tue Dec 7 02:34:48 2010

Copyright (c) 1982, 2009, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #486646 is a reply to message #486645] Fri, 17 December 2010 12:19 Go to previous messageGo to next message
BlackSwan
Messages: 26766
Registered: January 2009
Location: SoCal
Senior Member
THANKS! for following directions.; most folks don't.
issue two commands as below
oracle@bcm-laptop:~$ emctl status dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0 
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://localhost:1158/em/console/aboutApplication
Oracle Enterprise Manager 11g is not running. 
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/localhost_v112/sysman/log 
oracle@bcm-laptop:~$ emctl start dbconsole
Oracle Enterprise Manager 11g Database Control Release 11.2.0.1.0 
Copyright (c) 1996, 2009 Oracle Corporation.  All rights reserved.
https://localhost:1158/em/console/aboutApplication
Starting Oracle Enterprise Manager 11g Database Control .............. started. 
------------------------------------------------------------------
Logs are generated in directory /u01/app/oracle/product/11.2.0/dbhome_1/localhost_v112/sysman/log 

emctl status dbconsole
emctl start dbconsole

post commands & results back here
Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #486649 is a reply to message #486646] Fri, 17 December 2010 12:39 Go to previous messageGo to next message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
yeah Its a test VM on which oracle is installed and my colleague just told me he installed agent on this machine which communicates with em installed on different machine. emctl status dbconsole emctl start dbconsole, both these commands are not working because loads of process are eating memory of vm now. I am going to reboot my VM and I will kill the agent then I will run both these commands. I will post the output later.
Many many thanks for your help.
Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #487066 is a reply to message #486649] Wed, 22 December 2010 05:49 Go to previous messageGo to next message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
[oracle@oracle11-test ~]$ emctl status dbconsole
OC4J Configuration issue. /home/oracle/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/OC4J_DBConsole_oracle11-test_TDMFIN not found.

When i checked the folder /home/oracle/oracle/product/11.2.0/dbhome_1/oc4j/j2ee/ there is no OC4J_DBConsole_oracle11-test_TDMFIN.
Regards

I am also looking how can i kill the agent process for enterprise manager .I cant identify the process


USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
oracle 5199 0.8 0.2 16908 12104 ? S 02:59 0:21 Xvnc :2 -deskto
oracle 5250 0.0 0.1 22528 6820 ? S 02:59 0:00 /usr/bin/gnome-
oracle 5335 0.0 0.0 6492 612 ? Ss 02:59 0:00 /usr/bin/ssh-ag
oracle 5342 0.0 0.0 2780 508 ? S 02:59 0:00 /usr/bin/dbus-l
oracle 5346 0.0 0.0 2748 964 ? Ss 02:59 0:00 /bin/dbus-daemo
oracle 5380 0.0 0.0 6808 3088 ? S 02:59 0:00 /usr/libexec/gc
oracle 5398 0.0 0.0 2560 576 ? S 02:59 0:00 /usr/bin/gnome-
oracle 5400 0.0 0.1 33572 6700 ? Sl 02:59 0:00 /usr/libexec/gn
oracle 5459 0.1 0.1 17256 7944 ? Ss 02:59 0:03 metacity --sm-c
oracle 5513 0.0 0.2 47148 12084 ? Ss 02:59 0:01 gnome-panel --s
oracle 5525 0.5 0.5 109948 21276 ? Ssl 02:59 0:13 nautilus --no-d
oracle 5537 0.0 0.0 49652 2528 ? Ssl 02:59 0:00 /usr/libexec/bo
oracle 5539 0.0 0.0 11252 3016 ? S 02:59 0:00 /usr/libexec/gn
oracle 5544 0.0 0.1 44376 6784 ? Ss 02:59 0:00 eggcups --sm-cl
oracle 5583 0.0 0.0 2548 1164 ? S 02:59 0:00 /usr/libexec/ga
oracle 5589 0.1 0.2 46112 10640 ? S 02:59 0:02 /usr/libexec/wn
oracle 5591 0.0 0.1 85280 8272 ? S 02:59 0:00 /usr/libexec/tr
oracle 5593 0.0 0.1 14132 4800 ? Ss 02:59 0:00 bt-applet --sm-
oracle 5604 0.0 0.0 2468 856 ? S 02:59 0:00 /usr/libexec/ma
oracle 5609 0.0 0.2 47064 9888 ? S 02:59 0:00 /usr/libexec/mi
oracle 5611 0.0 0.1 22688 7548 ? S 02:59 0:00 /usr/libexec/no
oracle 5613 0.0 0.2 28692 10200 ? S 02:59 0:00 /usr/libexec/cl
oracle 5652 0.0 0.2 44616 9524 ? Ss 02:59 0:00 nm-applet --sm-
oracle 5656 0.0 0.0 18252 2536 ? Sl 02:59 0:00 ./escd --key_In
oracle 5671 0.0 0.0 14936 4008 ? Ss 02:59 0:00 pam-panel-icon
oracle 5684 0.0 0.1 44396 5212 ? Ss 02:59 0:00 gnome-power-man
oracle 6650 0.0 0.1 9636 5892 ? S 03:00 0:00 /home/oracle/or
oracle 6665 0.3 0.5 156776 24720 ? Sl 03:00 0:07 /home/oracle/or
oracle 6717 0.0 0.1 16544 4308 ? Ss 03:00 0:01 gnome-screensav
oracle 8145 0.0 0.3 1856316 16564 ? Ss 03:14 0:00 ora_pmon_TDMFIN
oracle 8147 0.0 0.3 1855688 13332 ? Ss 03:14 0:00 ora_vktm_TDMFIN
oracle 8151 0.0 0.3 1855688 13432 ? Ss 03:14 0:00 ora_gen0_TDMFIN
oracle 8153 0.0 0.3 1855688 13264 ? Ss 03:14 0:00 ora_diag_TDMFIN
oracle 8155 0.0 0.4 1855700 20404 ? Ss 03:14 0:00 ora_dbrm_TDMFIN
oracle 8157 0.0 0.3 1855692 13516 ? Ss 03:14 0:00 ora_psp0_TDMFIN
oracle 8159 0.0 0.3 1856204 16756 ? Ss 03:14 0:00 ora_dia0_TDMFIN
oracle 8161 0.2 0.5 1855688 23820 ? Ss 03:14 0:04 ora_mman_TDMFIN
oracle 8163 0.1 2.0 1860104 86356 ? Ss 03:14 0:02 ora_dbw0_TDMFIN
oracle 8165 0.0 0.9 1871244 41672 ? Ss 03:14 0:00 ora_lgwr_TDMFIN
oracle 8167 0.0 0.3 1855692 16224 ? Ss 03:14 0:00 ora_ckpt_TDMFIN
oracle 8169 0.1 2.0 1860396 85144 ? Ss 03:14 0:02 ora_smon_TDMFIN
oracle 8171 0.0 0.4 1855688 19340 ? Ss 03:14 0:00 ora_reco_TDMFIN
oracle 8173 0.1 1.3 1858400 56200 ? Ss 03:14 0:02 ora_mmon_TDMFIN
oracle 8175 0.0 0.4 1855692 19528 ? Ss 03:14 0:00 ora_mmnl_TDMFIN
oracle 8177 0.0 0.3 1856464 13480 ? Ss 03:14 0:00 ora_d000_TDMFIN
oracle 8179 0.0 0.3 1855724 12780 ? Ss 03:14 0:00 ora_s000_TDMFIN
oracle 8246 0.0 0.7 1871240 29628 ? Ss 03:15 0:00 ora_arc0_TDMFIN
oracle 8248 0.0 1.1 1887752 46456 ? Ss 03:15 0:01 ora_arc1_TDMFIN
oracle 8250 0.0 0.7 1871240 29540 ? Ss 03:15 0:00 ora_arc2_TDMFIN
oracle 8254 0.0 0.6 1871240 29464 ? Ss 03:15 0:00 ora_arc3_TDMFIN
oracle 8267 0.0 0.3 1855688 15024 ? Ss 03:15 0:00 ora_qmnc_TDMFIN
oracle 8281 0.1 1.1 1860328 47276 ? Ss 03:15 0:01 ora_cjq0_TDMFIN
oracle 8284 0.0 0.6 1856236 26864 ? Ss 03:15 0:00 ora_q000_TDMFIN
oracle 8286 0.0 0.6 1859172 27996 ? Ss 03:15 0:00 ora_q001_TDMFIN
oracle 8309 0.0 0.2 42056 9388 ? Ssl 03:15 0:00 /home/oracle/or
oracle 8750 97.7 1.1 66540 48272 ? R 03:16 23:54 /home/oracle/or
oracle 9349 1.0 2.3 1858536 100428 ? Ss 03:20 0:12 oracleTDMFIN (L
oracle 9407 0.1 1.2 1858444 50748 ? Ss 03:20 0:01 oracleTDMFIN (L
oracle 9473 0.0 0.3 1855688 13932 ? Ss 03:20 0:00 ora_smco_TDMFIN
oracle 10294 1.3 0.3 61776 12684 ? Rl 03:33 0:06 gnome-terminal
oracle 10297 0.0 0.0 2472 680 ? S 03:33 0:00 gnome-pty-helpe
oracle 10298 0.0 0.0 4668 1492 pts/0 Ss 03:33 0:00 bash
oracle 10344 0.0 0.0 4668 1496 pts/0 S 03:34 0:00 bash
oracle 11923 0.0 0.0 5844 1548 ? S 03:40 0:00 crond
oracle 11927 0.0 0.0 0 0 ? Zs 03:40 0:00 [sh] <defunct>
oracle 11929 0.0 0.0 7904 2284 ? S 03:40 0:00 /usr/sbin/sendm
oracle 12002 0.2 0.3 1855684 14664 ? Ss 03:40 0:00 ora_w000_TDMFIN
oracle 12030 0.0 0.0 4256 956 pts/0 R+ 03:40 0:00 ps ux

[Updated on: Wed, 22 December 2010 05:52]

Report message to a moderator

Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #487143 is a reply to message #487066] Thu, 23 December 2010 02:58 Go to previous messageGo to next message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
Hello BlackSwan!

Any suggestions?
Regards
Re: Oracle 11.2 G Enterprise Manager on REDHAT LINUX 5 EE [message #489536 is a reply to message #486598] Mon, 17 January 2011 06:56 Go to previous message
new2ora11g
Messages: 7
Registered: December 2010
Junior Member
Hi;
I tried again to enable EM on vm running oracle 11g. Still displays same error Sad Sad Sad Sad

Any suggestions
Previous Topic: Problems with different Databases monitored by Grid Control 10.2.0.5
Next Topic: Cant start agent
Goto Forum:
  


Current Time: Tue Nov 26 05:11:30 CST 2024