4 Replies Latest reply: Sep 1, 2011 4:02 PM by Martin Giffy D'Souza RSS

    Problems installing on Fedora 15

    Martin Giffy D'Souza
      I'm trying to install XE 11g Beta on a Fedora 15 machine (minimal install). SE linux has been disabled.

      When I first run the install this is what I get:
      /var/tmp/rpm-tmp.o3fABn: line 176: bc: command not found
      /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory
      /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory
      /proc/sys/net/bridge/bridge-nf-call-arptables: No such file or directory
      error: %pre(oracle-xe-11.2.0-0.5.x86_64) scriptlet failed, exit status 255
      error: oracle-xe-11.2.0-0.5.x86_64: install failed
      The second time I try to install it I get this:
      Preparing...                ########################################### [100%]
      /var/tmp/rpm-tmp.zHRVeI: line 176: bc: command not found
         1:oracle-xe              ########################################### [100%]
      Executing post-install steps...
      /var/tmp/rpm-tmp.gYL3HO: line 31: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 32: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 33: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 34: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 35: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 36: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 37: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 38: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 39: test: !=: unary operator expected
      /var/tmp/rpm-tmp.gYL3HO: line 44: bc: command not found
      /var/tmp/rpm-tmp.gYL3HO: line 45: test: !=: unary operator expected
      /var/tmp/rpm-tmp.gYL3HO: line 50: bc: command not found
      You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.
      I then run the configuration and get the following error message
      Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
      Here is the output from the log files:

      cloneDBCreation.log
      Create controlfile reuse set database "XE"
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      BEGIN dbms_backup_restore.zerodbid(0); END;
      
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      ORA-01034: ORACLE not available
      ORA-27101: shared memory realm does not exist
      Linux-x86_64 Error: 2: No such file or directory
      LRM-00116: syntax error at 'audit_file_dest' following '='
      ORA-01078: failure in processing system parameters
      Create controlfile reuse set database "XE"
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter system enable restricted session
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter database "XE" open resetlogs
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter database rename global_name to "XE"
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter system switch logfile
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter system checkpoint
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter database drop logfile group 3
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      ALTER TABLESPACE TEMP ADD TEMPFILE '/u01/app/oracle/oradata/XE/temp.dbf' SIZE 20480K REUSE AUTOEXTEND ON NEXT 640K MAXSIZE UNLIMITED
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      select tablespace_name from dba_tablespaces where tablespace_name='USERS'
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      select sid, program, serial#, username from v$session
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter user sys identified by "oracle"
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter user system identified by "oracle"
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      alter system disable restricted session
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      CloneRmanRestore.log
      LRM-00116: syntax error at 'audit_file_dest' following '='
      ORA-01078: failure in processing system parameters
      select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      declare
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      select TO_CHAR(systimestamp,'YYYYMMDD HH:MI:SS') from dual
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      postDBCreation.log
      begin
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      create spfile='/u01/app/oracle/product/11.2.0/xe/dbs/spfileXE.ora' FROM pfile='/u01/app/oracle/product/11.2.0/xe/config/scripts/init.ora'
      *
      ERROR at line 1:
      ORA-01078: failure in processing system parameters
      LRM-00116: syntax error at 'audit_file_dest' following '='
      
      
      ORA-01034: ORACLE not available
      ORA-27101: shared memory realm does not exist
      Linux-x86_64 Error: 2: No such file or directory
      ORA-01078: failure in processing system parameters
      LRM-00109: could not open parameter file '/u01/app/oracle/product/11.2.0/xe/dbs/initXE.ora'
      select 'utl_recomp_begin: ' || to_char(sysdate, 'HH:MI:SS') from dual
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      BEGIN utl_recomp.recomp_serial(); END;
      
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      select 'utl_recomp_end: ' || to_char(sysdate, 'HH:MI:SS') from dual
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      cat postScripts.log
      CREATE OR REPLACE LIBRARY dbms_sumadv_lib AS '/u01/app/oracle/product/11.2.0/xe/lib/libqsmashr.so';
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      create or replace directory DATA_PUMP_DIR as '/u01/app/oracle/admin/XE/dpdump/'
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      commit
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      BEGIN dbms_swrf_internal.cleanup_database(cleanup_local => FALSE); END;
      
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      
      
      commit
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0
      Any ideas on how to fix this?

      Thanks,

      Martin
      -----
      http://www.ClariFit.com
      http://www.TalkApex.com
        • 1. Re: Problems installing on Fedora 15
          orafad
          Note supported operating systems. I think you are way ahead of time with Fedora 15 (or even 14). OL 6 / RHEL 6 is not supported (at least not yet), and that is in timline with, what, Fedora 12 / 13?

          Best bet is probably to install on a supported os instead. Why not give it a try on OL 5.2? (should be available from https://edelivery.oracle.com/linux)
          • 2. Re: Problems installing on Fedora 15
            Rodney Barnett
            As orafad points out, fedora isn't officially supported, but I've had XE working on several fedora versions up to 14 (haven't tried 15 yet).

            I think the minimal variations of fedora don't include bc by default, so you need to install bc ("yum install bc").

            In previous versions of Fedora, errors similar to the bridge errors you got were actually warnings that Oracle misinterprets as errors. The warnings could be eliminated by commenting out or removing the corresponding lines in /etc/sysctl.conf. Not sure whether that method still applies for Fedora 15, but I'd guess there's another way to disable those parameters if not.

            I don't know what you did the second time, but if you didn't completely uninstall XE and start over, you should probably do that.

            Rodney
            • 3. Re: Problems installing on Fedora 15
              Udo
              I got the installation working on OEL 6, but you have to take a sharp eye on the (other) requirements, especially the required packages and kernel parameters.
              Can you run "bc" on the command line? It seems not to be installed on your system. Try bc -v in a terminal. If you don't have it, install it with yum.

              Here's the relevant section of my */etc/sysctl.conf* (activated by sysctl -p afterwards):
              # Disable netfilter on bridges.
              #net.bridge.bridge-nf-call-ip6tables = 0
              #net.bridge.bridge-nf-call-iptables = 0
              #net.bridge.bridge-nf-call-arptables = 0
              
              kernel.sem = 250 32000 100 128
              kernel.shmmax = 536870912
              kernel.shmmni = 4096
              kernel.shmall = 2097152
              fs.file-max = 6815744
              net.ipv4.ip_local_port_range = 1024 65000
              
              kernel.shmmax = 4294967295
              net.ipv4.ip_local_port_range = 9000 65000
              If you have "disabled" the brigde parameters instead of uncommenting them, it might be the parameters are getting evaluated.
              Perhaps this helps.

              -Udo
              • 4. Re: Problems installing on Fedora 15
                Martin Giffy D'Souza
                I think all I missing was the bc application. I ran yum install bc as suggested and it now installs correctly.

                For others that may encounter the same situation another thing to check is that your computer name is also in your hosts file...

                Thanks for all the help,

                Martin
                -----
                http://www.ClariFit.com
                http://www.TalkApex.com