6 Replies Latest reply: Feb 12, 2008 6:09 PM by 622847 RSS

    Oracle 10g on FreeBSD installation failure

    550615
      I have been trying to install Oracle 10g R2 on freeBSD 6.1, x86_64 for some time now to no avail. I know Oracle doesn't support installation on FreeBSD but AFAIK, people have done this and succeeded.

      The installer actually does start, even though it is a bit slow. When I get to the screen where I set the path and inventory group and press next I get the following error:

      --------------------------
      An unexpected exception has been detected in native code outside the VM.
      Unexpected Signal : 11 occurred at PC=0xFFFFEFD4
      Function=[Unknown.]
      Library=(N/A)

      NOTE: We are unable to locate the function name symbol for the error
      just occurred. Please refer to release documentation for possible
      reason and solutions.


      Current Java thread:

      Dynamic libraries:
      Can not get information for pid = 6548

      Heap at VM Abort:
      Heap
      def new generation total 576K, used 16K [0x2c530000, 0x2c5d0000, 0x2d0b0000)
      eden space 512K, 0% used [0x2c530000, 0x2c530138, 0x2c5b0000)
      from space 64K, 24% used [0x2c5c0000, 0x2c5c3f60, 0x2c5d0000)
      to space 64K, 0% used [0x2c5b0000, 0x2c5b0000, 0x2c5c0000)
      tenured generation total 5536K, used 4811K [0x2d0b0000, 0x2d618000, 0x35b30000)
      the space 5536K, 86% used [0x2d0b0000, 0x2d562fc8, 0x2d563000, 0x2d618000)
      compacting perm gen total 12288K, used 12199K [0x35b30000, 0x36730000, 0x39b30000)
      the space 12288K, 99% used [0x35b30000, 0x36719fb8, 0x3671a000, 0x36730000)

      Local Time = Thu Dec 7 11:51:15 2006
      Elapsed Time = 856
      #
      # The exception above was detected in native code outside the VM
      #
      # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
      #

      --------------------------

      I have a feeling it has something to do with the perm gen reaching 99% making the installer crash. Normally, in other java applications, I would start java with the following JAVA_OPTS to take care of the perm gen problem: JAVA_OPTS="-Xms256m -Xmx4096m -XX:PermSize=256m"

      I tried to set an environment variable in the bash shell but it doesn't appear to be seen by the installer. Does anyone know how I can pass this variable through the installer to start java with increased permsize? And if this is not the problem, does anyone else know what it could be?

      Thanks in advance.
        • 1. Re: Oracle 10g on FreeBSD installation failure
          Hans Forbrich
          Using the forum search capability, I came up with How install Oracle DB 10g on the FreeBSD?
          • 2. Re: Oracle 10g on FreeBSD installation failure
            550615
            Thanks for the tip but I've searched the forum rather thoroughly. As the post you referred to suggests, I am working through the linux emulator, and tried both installing the linux-sun-15 java port and also tried downloading jdk1.5 from Sun. When I tried either I got the following error (the installer GUI doesn't even load unlike when I used the java bundled with Oracle 10g as I mention in my first post):

            ----------------------------------------------------

            #
            # An unexpected error has been detected by HotSpot Virtual Machine:
            #
            # SIGSEGV (0xb) at pc=0x2807b931, pid=8039, tid=114696
            #
            # Java VM: Java HotSpot(TM) Client VM (1.5.0_07-b03 mixed mode, sharing)
            # Problematic frame:
            # C [libpthread.so.0+0x4931]
            #

            --------------- T H R E A D ---------------

            Current thread (0x080a9aa8): WatcherThread [id=8047]

            siginfo:si_signo=11, si_errno=0, si_code=30, si_addr=0x00000000

            Registers:
            EAX=0x00000000, EBX=0x28086ff4, ECX=0x00000000, EDX=0xfebff678
            ESP=0xfebff670, EBP=0xfebff678, ESI=0x00000000, EDI=0x00000000
            EIP=0x2807b931, CR2=0x00000000, EFLAGS=0x00010212

            Top of Stack: (sp=0xfebff670)
            0xfebff670: 28086ff4 febff7b8 febff850 28084210
            0xfebff680: 00000000 2807eb45 febff838 00000000
            0xfebff690: febff738 00000000 00000000 28086ff4
            0xfebff6a0: febff948 00000000 febff850 febff688
            0xfebff6b0: 2807eac5 00000001 80000004 00000000
            0xfebff6c0: 00000000 00000000 00000000 00000000
            0xfebff6d0: 00000000 00000000 00000000 00000000
            0xfebff6e0: 00000000 00000000 00000000 00000000

            Instructions: (pc=0x2807b931)
            0x2807b921: e8 00 00 00 00 5b 81 c3 ce b6 00 00 89 c6 89 ea
            0x2807b931: 8b 83 7c ff ff ff 3b 28 73 4d 8b 83 6c ff ff ff

            Stack: [0xfea01000,0xfec00000), sp=0xfebff670, free space=2041k
            Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
            C [libpthread.so.0+0x4931]
            C [libpthread.so.0+0xd210] nanosleep+0x50
            C [libpthread.so.0+0x4f04] pthread_cond_timedwait+0x16c
            V [libjvm.so+0x284dd8]
            V [libjvm.so+0x2ed698]
            V [libjvm.so+0x286e88]
            C [libpthread.so.0+0x5b8a]

            --------------- P R O C E S S ---------------

            Java Threads: ( => current thread )
            0x083709c8 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=8052]
            0x080bdfd0 JavaThread "Image Fetcher 0" daemon [_thread_in_vm, id=8051]
            0x080964a0 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=8050]
            0x080b5098 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8048]
            0x080a8600 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=8046]
            0x080a70d0 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8045]
            0x080a6160 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8044]
            0x080a0dd8 JavaThread "Finalizer" daemon [_thread_blocked, id=8043]
            0x0809ef88 JavaThread "Reference Handler" daemon [_thread_blocked, id=8042]
            0x080600d8 JavaThread "main" [_thread_in_Java, id=8039]

            Other Threads:
            0x0809a4d0 VMThread [id=8041]
            =>0x080a9aa8 WatcherThread [id=8047]

            VM state:not at safepoint (normal execution)

            VM Mutex/Monitor currently owned by a thread: None

            Heap
            def new generation total 576K, used 503K [0x48410000, 0x484b0000, 0x48f90000)
            eden space 512K, 95% used [0x48410000, 0x4848ace0, 0x48490000)
            from space 64K, 19% used [0x484a0000, 0x484a3220, 0x484b0000)
            to space 64K, 0% used [0x48490000, 0x48490000, 0x484a0000)
            tenured generation total 1408K, used 789K [0x48f90000, 0x490f0000, 0x51a10000)
            the space 1408K, 56% used [0x48f90000, 0x490556c8, 0x49055800, 0x490f0000)
            compacting perm gen total 8192K, used 2071K [0x51a10000, 0x52210000, 0x55a10000)
            the space 8192K, 25% used [0x51a10000, 0x51c15d08, 0x51c15e00, 0x52210000)
            ro space 8192K, 68% used [0x55a10000, 0x55f8e070, 0x55f8e200, 0x56210000)
            rw space 12288K, 48% used [0x56210000, 0x567d5130, 0x567d5200, 0x56e10000)

            Dynamic libraries:
            Can not get library information for pid = 8047

            VM Arguments:
            jvm_args: -Doracle.installer.library_loc=/home/tmp/OraInstall2006-12-07_12-16-41PM/oui/lib/linux -Doracle.installer.oui_loc=/home/tmp/OraInstall2006-12-07_12-16-41PM/oui -Doracle.installer.bootstrap=TRUE -Doracle.installer.startup_location=/home/u01/st
            age/database/install -Doracle.installer.jre_loc=/usr/compat/linux/usr/local/jdk1.5.0_07/ -Doracle.installer.extjre=true -Doracle.installer.nlsEnabled="TRUE" -Doracle.installer.prereqConfigLoc=/home/tmp/OraInstall2006-12-07_12-16-41PM/prereq -Doracle.installer.unixVersion=2.4.2 -Xmx150m

            java_command: oracle.sysman.oii.oiic.OiicInstaller -scratchPath /home/tmp/OraInstall2006-12-07_12-16-41PM -sourceLoc /home/u01
            /stage/database/install/../stage/products.xml -sourceType network -timestamp 2006-12-07_12-16-41PM -ignoreSysPrereqs -debug -j
            reLoc /usr/compat/linux/usr/local/jdk1.5.0_07/
            Launcher Type: SUN_STANDARD

            Environment Variables:
            JAVA_HOME=
            CLASSPATH=
            PATH=/home/u01/stage/database/install:/usr/bin:/usr/ccs/bin:/home/u01/app/oracle/product/10g/bin:/sbin:/bin:/usr/sbin:/usr/bin
            :/usr/games:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin:/home/samer/bin
            LD_LIBRARY_PATH=/usr/compat/linux/usr/local/jdk1.5.0_07/jre/lib/i386/client:/usr/compat/linux/usr/local/jdk1.5.0_07/jre/lib/i3
            86:/usr/compat/linux/usr/local/jdk1.5.0_07/jre/../lib/i386:/usr/lib
            SHELL=/bin/sh
            DISPLAY=pembina:10.0

            Signal Handlers:
            SIGSEGV: [libjvm.so+0x31fae0], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGBUS: [libjvm.so+0x31fae0], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGFPE: [libjvm.so+0x2852b0], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGPIPE: [libjvm.so+0x2852b0], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGILL: [libjvm.so+0x2852b0], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGUSR1: SIG_DFL, sa_mask[0]=0x43807efb, sa_flags=0x00000000
            SIGUSR2: [libjvm.so+0x287700], sa_mask[0]=0x80000000, sa_flags=0x10000004
            SIGHUP: [libjvm.so+0x287130], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGINT: [libjvm.so+0x287130], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGQUIT: [libjvm.so+0x287130], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004
            SIGTERM: [libjvm.so+0x287130], sa_mask[0]=0xdffb7eff, sa_flags=0x10000004


            --------------- S Y S T E M ---------------

            OS:Fedora Core release 4 (Stentz)

            uname:Linux 2.4.2 FreeBSD 6.1-RELEASE-p10 #0: Thu Dec 7 10:12:34 PST 2006 i686
            libc:glibc 2.3.6 linuxthreads-0.10 (fixed stack)
            rlimit: STACK 2044k, CORE infinity, NPROC 5547, NOFILE 11095, AS 10k
            load average:2305371875193507.00 368221173737418002664728739446523114432296511116171369503812872013552103234288268983697102080
            0477151018305177395940366631821643870250301855693715527850966783703355386287362112749568.00 3931609053043366133770385830005622
            97406412547301217906626090121734749655543036779135766626304.00

            CPU:total 1 family 6, cmov, cx8, fxsr, mmx, sse, sse2, ht

            Memory: 4k page, physical 4182624k(3892420k free), swap 1851392k(1851392k free)

            vm_info: Java HotSpot(TM) Client VM (1.5.0_07-b03) for linux-x86, built on May 3 2006 01:46:28 by java_re with gcc 3.2.1-7a (
            J2SE release)
            ---------------------------------------------

            Sorry for the long error message. Any other suggestions? Thanks.
            • 3. Re: Oracle 10g on FreeBSD installation failure
              392393
              I tried to set an environment variable in the bash shell but it doesn't appear to be seen by the
              installer. Does anyone know how I can pass this variable through the installer to start java
              with increased permsize? And if this is not the problem, does anyone else know what it could be?
              You can try editing the oraparam.ini to edit the JRE_MEMORY_OPTIONS parameters.
              Also, try installing and using JRE1.4 and set the JRE_LOCATION in the oraparam.ini as well.

              oraparam.ini should be in the install directory after you extract the setup.

              ~Jer
              • 4. Re: Oracle 10g on FreeBSD installation failure
                550615
                Thanks Jer... I tried your advice and the installer did get a few screens further but only to fail at about 64% on the progress bar.

                I am using the JRE bundled with Oracle and added the following line to oraparam.ini:

                JRE_MEMORY_OPTIONS="-Xms256m -Xmx3072m"

                I was unable to specify the PermSize value as the installer gave me an error saying it did not recognize the variable. (I tried: JRE_MEMORY_OPTIONS="-Xms256m -Xmx2048m -XX:PermSize=256m")

                Here is the error log:


                --------------------
                An unexpected exception has been detected in native code outside the VM.
                Unexpected Signal : 11 occurred at PC=0xFFFFEFD4
                Function=[Unknown.]
                Library=(N/A)

                NOTE: We are unable to locate the function name symbol for the error
                just occurred. Please refer to release documentation for possible
                reason and solutions.


                Current Java thread:

                Dynamic libraries:
                Can not get information for pid = 80850

                Heap at VM Abort:
                Heap
                def new generation total 18240K, used 449K [0x2c530000, 0x2d8f0000, 0x3b170000)
                eden space 16256K, 0% used [0x2c530000, 0x2c530018, 0x2d510000)
                from space 1984K, 22% used [0x2d510000, 0x2d5804b8, 0x2d700000)
                to space 1984K, 0% used [0x2d700000, 0x2d700000, 0x2d8f0000)
                tenured generation total 241984K, used 7177K [0x3b170000, 0x49dc0000, 0xec530000)
                the space 241984K, 2% used [0x3b170000, 0x3b8727e0, 0x3b872800, 0x49dc0000)
                compacting perm gen total 14080K, used 13917K [0xec530000, 0xed2f0000, 0xf0530000)
                the space 14080K, 98% used [0xec530000, 0xed2c7728, 0xed2c7800, 0xed2f0000)

                Local Time = Wed Dec 13 09:59:01 2006
                Elapsed Time = 1936
                #
                # The exception above was detected in native code outside the VM
                #
                # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
                -------------------------------------------------

                I think there is still a problem with the perm gen. How can I specify the PermSize variable? If anyone thinks it is a problem elsewhere please let me know.

                Thanks in advance.
                • 5. Re: Oracle 10g on FreeBSD installation failure
                  392393
                  I think there is still a problem with the perm gen. How can I specify the PermSize variable?
                  I'm sorry, I wish I knew more about it but I have reached the end of my knowledge of JRE configuration, and I'd rather give you no advice than incorrect advice.

                  ~Jer
                  • 6. Re: Oracle 10g on FreeBSD installation failure
                    622847
                    I know this response is 14 months late - it's not intended for the original requester.
                    I've put this response here in case others google around and find this old thread, as I did.

                    When I got this OUI install error ("perm gen" hit 99%) it was specifically because:
                    a) I was using a response file to install OUI (only, no databases),
                    b) my response file specified "false" to each of the "display window X" options,
                    c) my response file had some bogus settings, ie:
                    prompt# ./runInstaller -silent -responseFile NOGUI <--- perm gen hit 99%

                    Resolution:
                    a) I reconfigured my response file to display all windows,
                    b) I used this response file to interactively install OUI, and discovered the bogus settings, ie:
                    prompt# ./runInstaller -responseFile YESGUI <--- worked with problems.
                    c) I corrected the bogus settings,
                    d) I installed OUI by displaying the UI, using my corrected response file - all I had to do was click "Next", ie:
                    prompt# ./runInstaller -responseFile YESGUI <--- worked fine.
                    e) I installed OUI without displaying the UI, which worked fine, no "perm gen" hitting 99%., ie:
                    prompt# ./runInstaller -silent -responseFile NOGUI <--- worked fine.