2 Replies Latest reply: Sep 24, 2012 4:04 AM by 963897 RSS

    Ubuntu 12.04 11g Database Configuration failed ORA-01034 and ORA-27101

    946175
      Hi. I am trying to install Oracle XE since 3 days.
      My problem is if i start sudo /etc/init.d/oracle-xe configure i get
      Database Configuration failed. Look into /u01/app/oracle/product/11.2.0/xe/config/log for details
      I use a plain installed Ubuntu 12.04 and try the instructions of the Oracle 11gR2 Express Edition on Linux Ubuntu 11.10 howto. Also i installed Ubuntu 11.10 and tryed is, but the same error happens.
      On the install script i get:
      toxsox@vm3:~/Disk1$ sudo dpkg --install ./oracle-xe_11.2.0-2_amd64.deb
      Vormals abgewähltes Paket oracle-xe wird gewählt.
      (Lese Datenbank ... 23051 Dateien und Verzeichnisse sind derzeit installiert.)
      Entpacken von oracle-xe (aus ./oracle-xe_11.2.0-2_amd64.deb) ...
      oracle-xe (11.2.0-2) wird eingerichtet ...
      Executing post-install steps...
      /var/lib/dpkg/info/oracle-xe.postinst: line 77: bc: command not found
      /var/lib/dpkg/info/oracle-xe.postinst: line 78: bc: command not found
      /var/lib/dpkg/info/oracle-xe.postinst: line 79: [: -gt: unary operator expected
      /var/lib/dpkg/info/oracle-xe.postinst: line 83: bc: command not found
      Simulating /sbin/chkconfig...
      Adding system startup for /etc/init.d/oracle-xe ...
      /etc/rc0.d/K01oracle-xe -> ../init.d/oracle-xe
      /etc/rc1.d/K01oracle-xe -> ../init.d/oracle-xe
      /etc/rc6.d/K01oracle-xe -> ../init.d/oracle-xe
      /etc/rc2.d/S80oracle-xe -> ../init.d/oracle-xe
      /etc/rc3.d/S80oracle-xe -> ../init.d/oracle-xe
      /etc/rc4.d/S80oracle-xe -> ../init.d/oracle-xe
      /etc/rc5.d/S80oracle-xe -> ../init.d/oracle-xe
      You must run '/etc/init.d/oracle-xe configure' as the root user to configure the database.

      Trigger für ureadahead werden verarbeitet ...
      Trigger für libc-bin werden verarbeitet ...
      ldconfig deferred processing now taking place>

      The errorlog 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 'sessions' 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 >
      env | grep ORACLE
      \*nothing\*
      sysctl -p |grep kernel
      \*nothing\*
      df -k /dev/shm
      Filesystem 1K-blocks Used Available Use% Mounted on
      none 2028408 0 2028408 0% /dev/shm>

      I had changed the /etc/init.d/oracle-shm so how Dude wrote it to
      mount --move /run/shm /dev/shm
      mount -B /dev/shm /run/shm>

      free -m
      total used free shared buffers cached
      Mem: 3961 1045 2916 0 15 921
      -/+ buffers/cache: 109 3852
      Swap: 2383 0 2383>

      i also tryed some other instuctions for 12.04 and Oracle XE but without success. I never hat the ORA-00845: MEMORY_TARGET but everytime the ORA-27101: shared memory realm does not exist Error.

      Maybe someone can help me here.