3 Replies Latest reply: Apr 9, 2013 9:43 AM by Akanksha Sheoran Kaler RSS

    12.1.0.2 upgrade fromm 11.1.0.1

    Erin.Silver
      I am upgrading to 12.1.0.2 using 1-system method.

      I am following he note. 12c R2: How to Upgrade to EM 12c R2 - One System Method [ID 1360076.1]

      In the sixth step

      For 11.1.0.1: <OMS_HOME>/bin/emctl config emkey -copy_to_repos_from_file -emkey_file <OMS_HOME>/sysman/config/emkey


      when I run the command it prompts for Admin user's password.

      I don't know who/what the admin user(username) is ?

      Can someone help me out here.




      oradev@bngoradb1 Agent_Software]$ cd /s01/oracle/OracleHomes/11gR2/middleware/oms11g/bin
      You have new mail in /var/spool/mail/oradev
      [oradev@bngoradb1 bin]$ /s01/oracle/OracleHomes/11gR2/middleware/oms11g/bin/emctl config emkey -copy_to_repos_from_file -emkey_file /s01/oracle/OracleHomes/11gR2/middleware/oms11g/sysman/config/emkey.ora
      Oracle Enterprise Manager 11g Release 1 Grid Control
      Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
      Enter Admin User's Password :
      Enter Enterprise Manager Root (SYSMAN) Password :
      Error occured. Check the logs.






      Enter Admin User's Password+ :



      Who is the Admin user.


      How can I know that.

      I have no idea.. Could someome help?]

      Edited by: Erin.Silver on Apr 8, 2013 2:49 AM

      Edited by: Erin.Silver on Apr 8, 2013 2:51 AM
        • 1. Re: 12.1.0.2 upgrade fromm 11.1.0.1
          Akanksha Sheoran Kaler
          The admin password is weblogic password. We have this detail in guide but i am not sure about MOS note (if they get updated regularly ) . Pls refer to the upgrade guide - http://docs.oracle.com/cd/E24628_01/upgrade.121/e22625/toc.htm
          • 2. Re: 12.1.0.2 upgrade fromm 11.1.0.1
            Erin.Silver
            When i run /s01/oracle/OracleHomes/11gR2/middleware/oms11g/bin/emctl config emkey -copy_to_repos_from_file -emkey_file /s01/oracle/OracleHomes/11gR2/middleware/oms11g/sysman/config/emkey.ora
            Oracle Enterprise Manager 11g Release 1 Grid Control
            Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
            Enter Admin User's Password :
            Enter Enterprise Manager Root (SYSMAN) Password :
            Error occured. Check the logs.You have new mail in /var/spool/mail/oradev

            I get this mesage in secure.log


            2013-04-08 15:21:21,241 [main] ERROR oms.EMKeyBRCmds logp.251 - Either Sysman password is invalid or there was a problem in connecting to the DBjava.sql.SQLException: Either Sysman password is invalid or there was a problem in connecting to the DB
            at oracle.sysman.emctl.config.oms.EMKeyCmds.getReposConnection(EMKeyCmds.java:450)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.processEmKeyBRCmd(EMKeyBRCmds.java:207)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.main(EMKeyBRCmds.java:260)
            2013-04-08 18:45:54,982 [main] ERROR oms.EMKeyCmds logp.251 - Failed to get connection to repos : The Network Adapter could not establish the connection
            java.sql.SQLException: The Network Adapter could not establish the connection
            at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
            at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:135)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:203)
            at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:489)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:439)
            at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:640)
            at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:205)
            at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
            at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:554)
            at java.sql.DriverManager.getConnection(DriverManager.java:620)
            at java.sql.DriverManager.getConnection(DriverManager.java:200)
            at oracle.sysman.emctl.config.oms.EMKeyCmds.getReposConnection(EMKeyCmds.java:443)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.processEmKeyBRCmd(EMKeyBRCmds.java:207)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.main(EMKeyBRCmds.java:260)
            Caused by: oracle.net.ns.NetException: The Network Adapter could not establish the connection
            at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:334)
            at oracle.net.resolver.AddrResolution.resolveAndExecute(AddrResolution.java:425)
            at oracle.net.ns.NSProtocol.establishConnection(NSProtocol.java:646)
            at oracle.net.ns.NSProtocol.connect(NSProtocol.java:212)
            at oracle.jdbc.driver.T4CConnection.connect(T4CConnection.java:1076)
            at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:303)
            ... 9 more
            Caused by: oracle.net.ns.NetException: NL Exception was generated
            at oracle.net.nt.ConnOption.getNT(ConnOption.java:103)
            at oracle.net.nt.ConnOption.connect(ConnOption.java:129)
            at oracle.net.nt.ConnStrategy.execute(ConnStrategy.java:310)
            ... 14 more
            2013-04-08 18:45:54,999 [main] ERROR oms.EMKeyBRCmds logp.251 - Either Sysman password is invalid or there was a problem in connecting to the DB
            java.sql.SQLException: Either Sysman password is invalid or there was a problem in connecting to the DB
            at oracle.sysman.emctl.config.oms.EMKeyCmds.getReposConnection(EMKeyCmds.java:450)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.processEmKeyBRCmd(EMKeyBRCmds.java:207)
            at oracle.sysman.emctl.config.oms.EMKeyBRCmds.main(EMKeyBRCmds.java:260)


            Can someone help me with this.

            I am able to connect to sysman
            • 3. Re: 12.1.0.2 upgrade fromm 11.1.0.1
              Akanksha Sheoran Kaler
              log SR with oracle support they will help you and recreate your emkey.