5 Replies Latest reply: May 4, 2012 11:30 AM by cayenne RSS

    Installing EM12c: Installer can't find database host name....?

    cayenne
      Hello all,

      I'm trying to install EM12c. I'm near the last steps, alll requirements passed.

      I have a fresh install of 11.2.0.3 database on a second host, listening for connections.

      But the EM12c installer keeps error'ing out saying it cannot find the host name for the database server.

      I can ping that same server name (I've quadruple checked to make sure it is right)....I've cut from the installer and pasted into a ssh session both as root and oracle user on the target GRID/EM install server...it pings just fine.

      ON the database server, I've done tnsping..and it shows listener is up, I've entered valid ports and host name.

      ON the target EM server, I've even entered in the /etc/hosts file...the IP and server name....still to no avail.

      Any suggestions out there on what else to check? I have downloaded and using the latest EM12c install media...I downloaded it about 2x weeks ago...so, should be latest patched version.

      Thanks in advance,

      cayenne

      ps. Sorry...both EM and database server are on RHEL5 These are VMWare VMs....
        • 1. Re: Installing EM12c: Installer can't find database host name....?
          mnazim-Oracle
          Please paste the listener status and paste the value that you have entered at database connection screen.
          • 2. Re: Installing EM12c: Installer can't find database host name....?
            cayenne
            mnazim wrote:
            Please paste the listener status and paste the value that you have entered at database connection screen.
            Ok.

            I'm having to edit out the actual server and SID names, but they do match:

            [oracle@servername ~]$ lsnrctl status

            LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-MAY-2012 14:45:12

            Copyright (c) 1991, 2011, 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.3.0 - Production
            Start Date 02-MAY-2012 19:05:49
            Uptime 0 days 19 hr. 39 min. 24 sec
            Trace Level off
            Security ON: Local OS Authentication
            SNMP OFF
            Listener Parameter File /u01/app/11.2.0/grid/network/admin/listener.ora
            Listener Log File /u01/app/oracle/diag/tnslsnr/servername/listener/alert/log.xml
            Listening Endpoints Summary...
            (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=servername.domain.name)(PORT=1521)))
            (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
            Services Summary...
            Service "instance.domain.name" has 1 instance(s).
            Instance "instance", status READY, has 1 handler(s) for this service...
            Service "instanceXDB.domain.name" has 1 instance(s).
            Instance "instance", status READY, has 1 handler(s) for this service...
            The command completed successfully


            The connection info on the EM12c Installer screen,

            Database Host Name: servername.domain.name
            Port : 1521
            Service/SID: instance (Note, I've tried this with instance name simple and with FQDN attached, same error)
            SYS Password: *************


            Thank you,

            cayenne
            • 3. Re: Installing EM12c: Installer can't find database host name....?
              mnazim-Oracle
              I see some difference in time on listener, can you clarify this

              LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 03-MAY-2012 14:45:12

              Start Date 02-MAY-2012 19:05:49


              Also hostname is missing here
              Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
              STATUS of the LISTENER


              Please check
              • 4. Re: Installing EM12c: Installer can't find database host name....?
                user1102343
                Thanks for the help.

                Turns out it was a D'oh moment for me.

                When setting up RHEL5, in the firewall, I'd done a typo....opened port 1591 instead of 1521.

                I fixed that, and install went fine after that.

                Thank you!

                C
                • 5. Re: Installing EM12c: Installer can't find database host name....?
                  cayenne
                  As mentioned...a D'oh moment for me.
                  When setting up RHEL5...I'd typo'ed opening firewall for port 1591 rather than 1521....

                  Once opened correct port...install proceeded smoothly.