7 Replies Latest reply: Mar 17, 2014 7:50 AM by ASulthan RSS

    Error while configuring RAC on OEL on Virtual Box

    958657


      Hi,

       

      I am configuring RAC on Oracle Enterprise Linux on Oracle Virtual Box.I am done with OS installation.Now, when I am creating shared disk with this command :-

      $VBoxManage createhd --filename asm1.vdi --size 5120 --format VDI --variant Fixed, I am getting the error VBoxManage command not found.While googling , I found that due to some missing package ,it is giving this. But I did all the steps and found the packages to be ok.

      [root@VM1 oracle]# sh ./VBoxLinuxAdditions.run
      Verifying archive integrity... All good.
      Uncompressing VirtualBox 4.3.0 Guest Additions for Linux............
      VirtualBox Guest Additions installer
      Removing installed version 4.3.0 of VirtualBox Guest Additions...
      Copying additional installer modules ...
      Installing additional modules ...
      Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
      Building the VirtualBox Guest Additions kernel modules
      The headers for the current running kernel were not found. If the following
      module compilation fails then this could be the reason.
      The missing package can be probably installed with
      yum install kernel-uek-devel-2.6.39-400.209.1.el5uek

      Building the main Guest Additions module                   [  OK  ]
      Building the shared folder support module                  [  OK  ]
      Building the OpenGL support module                         [  OK  ]
      Doing non-kernel setup of the Guest Additions              [  OK  ]
      You should restart your guest to make sure the new modules are actually used

      Installing the Window System drivers
      Installing X.Org 7.1 modules                               [  OK  ]
      Setting up the Window System to use the Guest Additions    [  OK  ]
      The following X.Org/XFree86 configuration files were originally generated by
      the VirtualBox Guest Additions and were not modified:

        /etc/X11/xorg.conf

      You may need to restart the hal service and the Window System (or just restart
      the guest system) to enable the Guest Additions.

      Installing graphics libraries and desktop services componen[  OK  ]

      [root@VM1 oracle]# rpm -qa | grep kernel-uek-devel

      kernel-uek-devel-2.6.39-400.209.1.el5uek

      [root@VM1 oracle]# uname -a

      Linux VM1.tcs.com 2.6.39-400.209.1.el5uek #1 SMP Tue Sep 10 20:34:36 PDT 2013 i686 i686 i386 GNU/Linux

      [root@VM1 oracle]# rpm -qa | grep kernel

      kernel-devel-2.6.18-371.el5

      kernel-uek-devel-2.6.39-400.209.1.el5uek

      kernel-uek-2.6.39-400.209.1.el5uek

        • 1. Re: Error while configuring RAC on OEL on Virtual Box
          958657

          This is the log message

           

          [root@VM1 log]# tail -f vbox

          vbox/                    vboxadd-install.log      vboxadd-install-x11.log

          [root@VM1 log]# tail -f vboxadd-install.log

            gcc -Wp,-MD,/tmp/vbox.0/.vboxvideo_drm.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -I/usr/src/kernels/2.6.39-400.209.1.el5uek/arch/x86/include -Iarch/x86/include/generated -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/2.6.39-400.209.1.el5uek/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxvideo/ -I/tmp/vbox.0/vboxvideo/include -I/tmp/vbox.0/vboxvideo/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_X86  -DMODULE  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxvideo_drm)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -c -o /tmp/vbox.0/.tmp_vboxvideo_drm.o /tmp/vbox.0/vboxvideo_drm.c

            if [ "-pg" = "-pg" ]; then if [ /tmp/vbox.0/vboxvideo_drm.o != "scripts/mod/empty.o" ]; then /usr/src/kernels/2.6.39-400.209.1.el5uek/scripts/recordmcount  "/tmp/vbox.0/vboxvideo_drm.o"; fi; fi;

            ld -m elf_i386   -r -o /tmp/vbox.0/vboxvideo.o /tmp/vbox.0/vboxvideo_drm.o ; scripts/mod/modpost /tmp/vbox.0/vboxvideo.o

          (cat /dev/null;   echo kernel//tmp/vbox.0/vboxvideo.ko;) > /tmp/vbox.0/modules.order

          make -f /usr/src/kernels/2.6.39-400.209.1.el5uek/scripts/Makefile.modpost

            scripts/mod/modpost -m -a -i /usr/src/kernels/2.6.39-400.209.1.el5uek/Module.symvers -I /tmp/vbox.0/Module.symvers  -o /tmp/vbox.0/Module.symvers  -w  -s

            gcc -Wp,-MD,/tmp/vbox.0/.vboxvideo.mod.o.d  -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.1.2/include -I/usr/src/kernels/2.6.39-400.209.1.el5uek/arch/x86/include -Iarch/x86/include/generated -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -fno-inline-functions-called-once -Wdeclaration-after-statement -Wno-pointer-sign -fshort-wchar -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -I/lib/modules/2.6.39-400.209.1.el5uek/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxvideo/ -I/tmp/vbox.0/vboxvideo/include -I/tmp/vbox.0/vboxvideo/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE -DIN_GUEST_R0 -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_X86  -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(vboxvideo.mod)"  -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -DMODULE  -c -o /tmp/vbox.0/vboxvideo.mod.o /tmp/vbox.0/vboxvideo.mod.c

            ld -r -m elf_i386 -T /usr/src/kernels/2.6.39-400.209.1.el5uek/scripts/module-common.lds   -o /tmp/vbox.0/vboxvideo.ko /tmp/vbox.0/vboxvideo.o /tmp/vbox.0/vboxvideo.mod.o

          Creating user for the Guest Additions.

          Creating udev rule for the Guest Additions kernel module.

          • 2. Re: Error while configuring RAC on OEL on Virtual Box
            958657

            In my windows 7 host machine,on which this Linux guest machine is installed,I have made an entry in environmet variables Path


            C:\Program Files\Oracle\VirtualBox

            • 3. Re: Error while configuring RAC on OEL on Virtual Box
              JohnWatson

              I always run

              vboxmanage

              not

              VBoxManage

              • 4. Re: Error while configuring RAC on OEL on Virtual Box
                958657

                Thanks John for replying But even vboxmanage is also not working at my end.

                • 5. Re: Error while configuring RAC on OEL on Virtual Box
                  JohnWatson

                  If you can't find the vboxmanage executable, how are you starting your VMs?

                  You are running it on the host machine, aren't you, not in a guest VM?

                  • 6. Re: Error while configuring RAC on OEL on Virtual Box
                    958657

                    In my guest linux machine,I am not able to run it.

                    • 7. Re: Error while configuring RAC on OEL on Virtual Box
                      ASulthan

                      Hi

                      In oracle Virtual box try to use Graphical Interface