1 Reply Latest reply on Aug 18, 2011 1:33 PM by tbrinkmann

    oracle EM is not configured

    user10366531
      Hi ,
      i am not able to connect with oracle EM.




      The Em Key has been configured successfully.

      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: stty: standard input: Invalid argument
      stty: standard input: Invalid argument

      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.DBControlUtil configEmkey
      CONFIG: Successfully configured emKey for sid: madadb
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'DISPLAY' is '', discarding the same
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'TZ' is '', discarding the same
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
      CONFIG: Returning env array from cache
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
      CONFIG: New Env List: [CLASSPATH=/home/oracle/app/oracle/product/10.2.0/db_1/jlib/emca.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvm.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvmasm.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/emConfigInstall.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/ldap.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/share.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/netcfg.jar:/home/oracle/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar:/home/oracle/app/oracle/product/10.2.0/db_1/assistants/jlib/assistantsCommon.jar:/home/oracle/app/oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraPrereq.jar:/home/oracle/app/oracle/product/10.2.0/db_1/inventory/prereqs/oui/OraPrereqChecks.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraPrereqChecks.jar:, CVS_RSH=ssh, DYLD_LIBRARY_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=mada.bkpoperationsmanager.com, INPUTRC=/etc/inputrc, KDEDIR=/usr, KDE_IS_PRELINKED=1, KDE_NO_IPV6=1, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client:/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386:/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/../lib/i386:/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_BASE=/home/oracle/app/oracle, ORACLE_HOME=/home/oracle/app/oracle/product/10.2.0/db_1, ORACLE_SID=madadb, ORACLE_TERM=xterm, PATH=/home/oracle/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, PWD=/home/oracle/app/oracle/product/10.2.0/db_1/network/admin, QTDIR=/usr/lib64/qt-3.3, QTINC=/usr/lib64/qt-3.3/include, QTLIB=/usr/lib64/qt-3.3/lib, SHELL=/bin/bash, SHLIB_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SSH_AUTH_SOCK=/tmp/ssh-viBewC3952/agent.3952, SSH_CLIENT=203.88.135.195 1219 22, SSH_CONNECTION=203.88.135.195 1219 192.168.207.18 22, SSH_TTY=/dev/pts/2, TERM=vt100, TMP=/tmp, TMPDIR=/tmp, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java]
      Nov 13, 2011 12:08:21 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: Starting execution: /home/oracle/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -host mada.bkpoperationsmanager.com -sid madadb
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: Exit value of 0
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: Execution of /home/oracle/app/oracle/product/10.2.0/db_1/bin/emctl secure dbconsole -host mada.bkpoperationsmanager.com -sid madadb completed successfully
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: TZ set to Asia/Kuwait
      Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0
      Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
      http://mada.bkpoperationsmanager.com:1158/em/console/aboutApplication
      Enter Enterprise Manager Root Password :
      DBCONSOLE already stopped... Done.
      Agent is already stopped... Done.
      Securing dbconsole... Started.
      Checking Repository... Done.
      Checking Em Key... Done.
      Checking Repository for an existing Enterprise Manager Root Key... Done.
      Generating Enterprise Manager Root Key (this takes a minute)... Done.
      Fetching Root Certificate from the Repository... Done.
      Updating HTTPS port in emoms.properties file... Done.
      Generating Java Keystore... Done.
      Securing OMS ... Done.
      Generating Oracle Wallet Password for Agent.... Done.
      Generating wallet for Agent ... Done.
      Copying the wallet for agent use... Done.
      Storing agent key in repository... Done.
      Storing agent key for agent ... Done.
      Configuring Agent...
      Configuring Agent for HTTPS in DBCONSOLE mode... Done.
      EMD_URL set in /home/oracle/app/oracle/product/10.2.0/db_1/mada.bkpoperationsmanager.com_madadb/sysman/config/emd.properties
      Done.
      Configuring Key store.. Done.
      Securing dbconsole... Sucessful.

      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: stty: standard input: Invalid argument
      stty: standard input: Invalid argument

      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.FileUtil printFileToLog
      CONFIG: Printing file(After Secure DBConsole): /home/oracle/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_mada.bkpoperationsmanager.com_madadb/config/http-web-site.xml
      <?xml version = '1.0' standalone = 'yes'?>
      <!DOCTYPE web-site PUBLIC "OracleAS XML Web-site" "http://xmlns.oracle.com/ias/dtds/web-site-9_04.dtd">
      <web-site port="1158" display-name="OC4J Java HTTP Web Site" secure="TRUE">
      <!-- The default web-app for this site, bound to the root -->
      <default-web-app application="default" name="defaultWebApp"/>
      <web-app application="default" name="dms0" root="/dms0"/>
      <web-app application="default" name="dms" root="/dmsoc4j"/>
      <web-app application="em" name="em" load-on-startup="true" root="/em" shared="true" />

      <!-- Access Log, where requests are logged to -->
      <access-log path="../log/http-web-access.log"/>
      <!-- Uncomment this if you want to use ODL logging capabilities
      <odl-access-log path="../log/http-web-access" max-file-size="1000" max-directory-size="10000"/>
      -->
      <ssl-config needs-client-auth="false" keystore="/home/oracle/app/oracle/product/10.2.0/db_1/oc4j/j2ee/OC4J_DBConsole_mada.bkpoperationsmanager.com_madadb/config/server/keystore.test" keystore-password="428EA06D222521686D0FEF824860CEFA" />
      </web-site>

      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.DBControlUtil secureDBConsole
      INFO: Database Control secured successfully.
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.EMDBPostConfig performConfiguration
      CONFIG: Securing Database Control completed successfully .
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.ParamsManager getParam
      CONFIG: No value was set for the parameter ORACLE_HOSTNAME.
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.DBControlUtil startOMS
      INFO: Starting Database Control (this may take a while) ...
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'DISPLAY' is '', discarding the same
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'TZ' is '', discarding the same
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface addEnvVarToList
      CONFIG: Value for env var 'ORACLE_HOSTNAME' is '', discarding the same
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface getEnvProps
      CONFIG: Returning env array from cache
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface getSortedEnvArray
      CONFIG: New Env List: [CLASSPATH=/home/oracle/app/oracle/product/10.2.0/db_1/jlib/emca.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvm.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvmasm.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/emConfigInstall.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/ldapjclnt10.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/ldap.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/share.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/srvmhas.jar:/home/oracle/app/oracle/product/10.2.0/db_1/jlib/netcfg.jar:/home/oracle/app/oracle/product/10.2.0/db_1/lib/xmlparserv2.jar:/home/oracle/app/oracle/product/10.2.0/db_1/assistants/jlib/assistantsCommon.jar:/home/oracle/app/oracle/product/10.2.0/db_1/sysman/jlib/emCORE.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraInstaller.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraPrereq.jar:/home/oracle/app/oracle/product/10.2.0/db_1/inventory/prereqs/oui/OraPrereqChecks.jar:/home/oracle/app/oracle/product/10.2.0/db_1/oui/jlib/OraPrereqChecks.jar:, CVS_RSH=ssh, DYLD_LIBRARY_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, G_BROKEN_FILENAMES=1, HISTSIZE=1000, HOME=/home/oracle, HOSTNAME=mada.bkpoperationsmanager.com, INPUTRC=/etc/inputrc, KDEDIR=/usr, KDE_IS_PRELINKED=1, KDE_NO_IPV6=1, LANG=en_US.UTF-8, LD_LIBRARY_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386/client:/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/lib/i386:/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/../lib/i386:/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/lib:/usr/lib, LESSOPEN=|/usr/bin/lesspipe.sh %s, LIBPATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, LOGNAME=oracle, LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:ex=01;32:*.cmd=01;32:*.exe=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tz=01;31:*.rpm=01;31:*.cpio=01;31:*.jpg=01;35:*.gif=01;35:*.bmp=01;35:*.xbm=01;35:*.xpm=01;35:*.png=01;35:*.tif=01;35:, MAIL=/var/spool/mail/oracle, NEED_EXIT_CODE=1, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, ORACLE_BASE=/home/oracle/app/oracle, ORACLE_HOME=/home/oracle/app/oracle/product/10.2.0/db_1, ORACLE_SID=madadb, ORACLE_TERM=xterm, PATH=/home/oracle/app/oracle/product/10.2.0/db_1/bin:/usr/sbin:/usr/lib64/qt-3.3/bin:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin, PWD=/home/oracle/app/oracle/product/10.2.0/db_1/network/admin, QTDIR=/usr/lib64/qt-3.3, QTINC=/usr/lib64/qt-3.3/include, QTLIB=/usr/lib64/qt-3.3/lib, SHELL=/bin/bash, SHLIB_PATH=/home/oracle/app/oracle/product/10.2.0/db_1/lib32:/home/oracle/app/oracle/product/10.2.0/db_1/lib:/home/oracle/app/oracle/product/10.2.0/db_1/perl/lib, SHLVL=2, SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass, SSH_AUTH_SOCK=/tmp/ssh-viBewC3952/agent.3952, SSH_CLIENT=203.88.135.195 1219 22, SSH_CONNECTION=203.88.135.195 1219 192.168.207.18 22, SSH_TTY=/dev/pts/2, TERM=vt100, TMP=/tmp, TMPDIR=/tmp, USER=oracle, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, _=/home/oracle/app/oracle/product/10.2.0/db_1/jdk/jre/bin/java]
      Nov 13, 2011 12:09:31 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: Starting execution: /home/oracle/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
      Nov 13, 2011 12:14:39 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: Exit value of 1
      Nov 13, 2011 12:14:39 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      CONFIG: TZ set to Asia/Kuwait
      Oracle Enterprise Manager 10g Database Control Release 10.2.0.5.0
      Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
      https://mada.bkpoperationsmanager.com:1158/em/console/aboutApplication
      Starting Oracle Enterprise Manager 10g Database Control ............................................................................................. failed.
      ------------------------------------------------------------------
      Logs are generated in directory /home/oracle/app/oracle/product/10.2.0/db_1/mada.bkpoperationsmanager.com_madadb/sysman/log

      Nov 13, 2011 12:14:39 AM oracle.sysman.emcp.util.PlatformInterface executeCommand
      WARNING: Error executing /home/oracle/app/oracle/product/10.2.0/db_1/bin/emctl start dbconsole
      Nov 13, 2011 12:14:39 AM oracle.sysman.emcp.EMConfig perform
      SEVERE: Error starting Database Control
      Refer to the log file at /home/oracle/app/oracle/product/10.2.0/db_1/cfgtoollogs/emca/madadb/emca_2011-11-13_12-05-43-AM.log for more details.
      Nov 13, 2011 12:14:39 AM oracle.sysman.emcp.EMConfig perform
      CONFIG: Stack Trace:
      oracle.sysman.emcp.exception.EMConfigException: Error starting Database Control
      at oracle.sysman.emcp.EMDBPostConfig.performConfiguration(EMDBPostConfig.java:649)
      at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:227)
      at oracle.sysman.emcp.EMDBPostConfig.invoke(EMDBPostConfig.java:196)
      at oracle.sysman.emcp.EMConfig.perform(EMConfig.java:184)
      at oracle.sysman.emcp.EMConfigAssistant.invokeEMCA(EMConfigAssistant.java:494)
      at oracle.sysman.emcp.EMConfigAssistant.performConfiguration(EMConfigAssistant.java:1161)
      at oracle.sysman.emcp.EMConfigAssistant.statusMain(EMConfigAssistant.java:478)
      at oracle.sysman.emcp.EMConfigAssistant.main(EMConfigAssistant.java:426)
      ------------------------------------------------------------------


      Can anyone help me for the same.
        • 1. Re: oracle EM is not configured
          tbrinkmann
          Hi,
          may your system is living in the future..... ---> Nov 13, 2011 12:08:21 AM
          *T