2 Replies Latest reply: Aug 30, 2013 10:36 PM by ec557fac-f825-4356-a220-1ec941ce7cd0 RSS

    Installing Oracle Database Express Edition 11g on UBUNTU

    ec557fac-f825-4356-a220-1ec941ce7cd0

      Hello everyone,

       

      I want to install Oracle Database Express Edition 11g on UBUNTU. I followed the steps from this link created by Dude:

      https://forums.oracle.com/thread/2303639?start=0&tstart=0

       

      My problem becomes when I type in from the terminal:

       

      sudo /etc/init.d/oracle-xe configure

       

      I followed the instructions there, agreeing t HTTP port 8080, port database listener 1521,  specifying a password for my database account, and wanting Oracle Express to be started on boot. This is what I'm getting:

       

      Starting Oracle Net Listener...touch: cannot touch `/var/lock/subsys/listener': No such file or directory
      Done
      Configuring database...
      Database Configuration failed.  Look into /u01/app/oracle/product/11.2.0/xe/config/log for details

       

      I have no idea what this means, so I went into the log's location and I found 4 of them, so I clicked on each of them, and this is what I'm getting:

       

      1. cloneDBCreation.log:

       

      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

      ORA-00845: MEMORY_TARGET not supported on this system

      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

       

      2. CloneRmanRestore.log

       

      ORA-00845: MEMORY_TARGET not supported on this system

      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

       

      3. postDBCreation.log


      begin
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0

       

       

       

      File created.

       

      ORA-01034: ORACLE not available
      ORA-27101: shared memory realm does not exist
      Linux-x86_64 Error: 2: No such file or directory
      ORA-00845: MEMORY_TARGET not supported on this system
      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


      4. 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

       


      BEGIN dbms_datapump_utl.replace_default_dir; 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

       


      create or replace directory XMLDIR as '/u01/app/oracle/product/11.2.0/xe/rdbms/xml'
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0

       


      DROP DIRECTORY ORACLE_OCM_CONFIG_DIR
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0

       


      DROP DIRECTORY ADMIN_DIR
      *
      ERROR at line 1:
      ORA-01034: ORACLE not available
      Process ID: 0
      Session ID: 0 Serial number: 0

       


      DROP DIRECTORY WORK_DIR
      *
      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

       

      Can somebody that knows this, or has installed Oracle Express on Ubuntu, to please explain it to me what does it mean and why am I getting those errors. Please explain thoroughly as if I am an amateur person, IN DETAIL, STEP-BY-STEP. I want to run it and make it work! I heard that it encourages people to answer for points. I am open for your suggestions and experiences, as long as it's not 'use common sense', 'you're dumb', or an answer that is vaguely explained.  Thank you for those that take the time to read it.

       

      ec557fac-f825-4356-a220-1ec941ce7cd0