4 Replies Latest reply on Mar 9, 2016 9:21 PM by Dude!

    Installation of 11g on Centos7 without X Window

    3194280

      I'm attempting to install 11gR2 on a CentOS 7 vm with no desktop/UI/X Window. I had initially planned to do this by using the -silent and -responseFile options on the runInstaller in the zip files from the Oracle website. However, it seems like UI logic was being invoked despite this, as I got a stacktrace printed asynchronously to stderr indicating a failure to load Java swing libraries.

       

      So I'm now using the oracle public yum repository:

       

      yum install oracle-rdbms-server-11gR2-preinstall

      But this gives the following output:

      Loaded plugins: fastestmirror, langpacks

      Loading mirror speeds from cached hostfile

      * base: www.mirrorservice.org

      * extras: mirrors.melbourne.co.uk

      * updates: mirrors.melbourne.co.uk

      Resolving Dependencies

      --> Running transaction check

      ---> Package oracle-rdbms-server-11gR2-preinstall.x86_64 0:1.0-12.el6 will be installed

      --> Processing Dependency: xorg-x11-utils for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: kernel-uek for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: compat-libcap1 for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: ksh for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: libaio-devel for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: xorg-x11-xauth for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Processing Dependency: compat-libstdc++-33 for package: oracle-rdbms-server-11gR2-preinstall-1.0-12.el6.x86_64

      --> Running transaction check

      ---> Package compat-libcap1.x86_64 0:1.10-7.el7 will be installed

      ---> Package compat-libstdc++-33.x86_64 0:3.2.3-72.el7 will be installed

      ---> Package kernel-uek.x86_64 0:2.6.39-400.277.1.el6uek will be installed

      --> Processing Dependency: kernel-uek-firmware = 2.6.39-400.277.1.el6uek for package: kernel-uek-2.6.39-400.277.1.el6uek.x86_64

      --> Processing Dependency: ql23xx-firmware for package: kernel-uek-2.6.39-400.277.1.el6uek.x86_64

      Package ql23xx-firmware-3.03.27-3.1.el6.noarch is obsoleted by linux-firmware-20150904-43.git6ebf5d5.el7.noarch which is already installed

      ---> Package ksh.x86_64 0:20120801-28.el6_7.3 will be installed

      ---> Package libaio-devel.x86_64 0:0.3.109-13.el7 will be installed

      ---> Package xorg-x11-utils.x86_64 0:7.5-13.1.el7 will be installed

      --> Processing Dependency: libdmx.so.1()(64bit) for package: xorg-x11-utils-7.5-13.1.el7.x86_64

      --> Processing Dependency: libXxf86misc.so.1()(64bit) for package: xorg-x11-utils-7.5-13.1.el7.x86_64

      --> Processing Dependency: libXxf86dga.so.1()(64bit) for package: xorg-x11-utils-7.5-13.1.el7.x86_64

      --> Processing Dependency: libXv.so.1()(64bit) for package: xorg-x11-utils-7.5-13.1.el7.x86_64

      ---> Package xorg-x11-xauth.x86_64 1:1.0.9-1.el7 will be installed

      --> Processing Dependency: libXmuu.so.1()(64bit) for package: 1:xorg-x11-xauth-1.0.9-1.el7.x86_64

      --> Running transaction check

      ---> Package kernel-uek.x86_64 0:2.6.39-400.277.1.el6uek will be installed

      --> Processing Dependency: ql23xx-firmware for package: kernel-uek-2.6.39-400.277.1.el6uek.x86_64

      Package ql23xx-firmware-3.03.27-3.1.el6.noarch is obsoleted by linux-firmware-20150904-43.git6ebf5d5.el7.noarch which is already installed

      ---> Package kernel-uek-firmware.noarch 0:2.6.39-400.277.1.el6uek will be installed

      ---> Package libXmu.x86_64 0:1.1.2-2.el7 will be installed

      ---> Package libXv.x86_64 0:1.0.10-2.el7 will be installed

      ---> Package libXxf86dga.x86_64 0:1.1.4-2.1.el7 will be installed

      ---> Package libXxf86misc.x86_64 0:1.0.3-7.1.el7 will be installed

      ---> Package libdmx.x86_64 0:1.1.3-3.el7 will be installed

      --> Finished Dependency Resolution

      Error: Package: kernel-uek-2.6.39-400.277.1.el6uek.x86_64 (ol6_UEK_latest)

                 Requires: ql23xx-firmware

                 Available: ql23xx-firmware-3.03.27-3.1.el6.noarch (ol6_latest)

                     ql23xx-firmware = 3.03.27-3.1.el6

      You could try using --skip-broken to work around the problem

      You could try running: rpm -Va --nofiles --nodigest

       

      ^^ neither of those two options solved my problem.

       

      Should I try to downgrade to the obsolete firmware, or is there a better way to do this?

        • 1. Re: Installation of 11g on Centos7 without X Window
          Srini Chavali-Oracle

          I'm attempting to install 11gR2 on a CentOS 7 ....

          Not a supported OS, so things may or may not work as expected - http://docs.oracle.com/cd/E11882_01/install.112/e47689/pre_install.htm#LADBI1105

           

          Is there a reason for not using a supported OS ? What is the exact 11gR2 version (to 4 digits) ?

          1 person found this helpful
          • 2. Re: Installation of 11g on Centos7 without X Window
            Igoroshka

            You may configure OS, create necessary groups and users following installation guide. oracle-rdbms-server-11gR2-preinstall is not mandatory for this.

            But as Srini Chavali-Oracle already mentioned CentOS is not certified with 11R2.

            • 3. Re: Installation of 11g on Centos7 without X Window
              BPeaslandDBA

              To the OP...

               

              Not a supported OS, so things may or may not work as expected

               

              I'd actually be stronger than that...its a very good chance that things won't work.

               

              The big reason I see people use CentOS is they are attracted to the price. But are you aware the Oracle Linux costs the same?

               

              Cheers,
              Brian

              • 4. Re: Installation of 11g on Centos7 without X Window
                Dude!

                The oracle-rdbms-server-11gR2-preinstall RPM triggers the installation of dependent packages and prepares the system for the Oracle database installation including kernel parameters and accounts. The package requires the Oracle UEK kernel. The oracle UEK kernel is only available for Oracle Linux, not CentOS.

                 

                You can convert CentOS to Oracle Linux, but why not install Oracle Linux in the first place? Oracle Linux is free and you have public access to errata and patches even without a support subscription. There is no compelling reason for CentOS.

                 

                EL 7 is quite different from previous releases, which affects the database installation. For example, sysinit has been replaced by systemd. Oracle Linux 7 is supported starting with Oracle database 11.2.0.4. Oracle Linux 6 is supported starting with 11.2.0.3. Both database versions require a Oracle support subscription and you cannot download them through OTN.

                 

                If you need to install Oracle Linux 7 and do not have access to My Oracle Support, install Oracle 12c. If you need to install 11.2.0.1, stick to Enterprise Linux or Oracle Linux 5.11, which is the last supported OS for that version.

                 

                To run the installer without installing a GUI on your server, you can use VNC or ssh with X11 forwarding. What will be best for your situation depends on your know-how and client platform. If your client is a PC, I suggest to use a free version of MobaXterm, which includes all you need in a single application and you can simply use "ssh -X oracle@remote_server_ip" to run remote X apps on your local desktop.