1 Reply Latest reply on Aug 21, 2012 7:57 AM by Prabodh

    Oracle XE not running on CentOS machine

    807875
      Hi,

      I have installed Oracle-XE on a CentOS machine few months back and it was running fine since then, however for the past 2 days it is not running after I rebooted the machine.
      When I checked the status of /etc/init.d/oracle-xe the output was
      LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 21-AUG-2012 12:32:42
      
      Copyright (c) 1991, 2005, Oracle.  All rights reserved.
      
      Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
      STATUS of the LISTENER
      ------------------------
      Alias                     LISTENER
      Version                   TNSLSNR for Linux: Version 10.2.0.1.0 - Production
      Start Date                21-AUG-2012 12:32:35
      Uptime                    0 days 0 hr. 0 min. 7 sec
      Trace Level               off
      Security                  ON: Local OS Authentication
      SNMP                      OFF
      Default Service           XE
      Listener Parameter File   /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/admin/listener.ora
      Listener Log File         /usr/lib/oracle/xe/app/oracle/product/10.2.0/server/network/log/listener.log
      Listening Endpoints Summary...
        (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
        (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=pcrf.open-ims.test)(PORT=1521)))
      Services Summary...
      Service "PLSExtProc" has 1 instance(s).
        Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
      The command completed successfully
      I am not able to connect any user with sql*plus command window, it just gives
       conn techm
      Enter password: 
      ERROR:
      ORA-01034: ORACLE not available
      ORA-27101: shared memory realm does not exist
      Linux Error: 2: No such file or directory
      Here are my tnsnames.ora and listener.ora

      tnsnames.ora
      # tnsnames.ora Network Configuration File:
      
      XE =
        (DESCRIPTION =
          (ADDRESS = (PROTOCOL = TCP)(HOST = pcrf.open-ims.test)(PORT = 1521))
          (CONNECT_DATA =
            (SERVER = DEDICATED)
            (SERVICE_NAME = XE)
          )
        )
      
      EXTPROC_CONNECTION_DATA =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
          )
          (CONNECT_DATA =
            (SID = PLSExtProc)
            (PRESENTATION = RO)
          )
        )
      listener.ora
      # listener.ora Network Configuration File:
      
      SID_LIST_LISTENER =
        (SID_LIST =
          (SID_DESC =
            (SID_NAME = PLSExtProc)
            (ORACLE_HOME = /usr/lib/oracle/xe/app/oracle/product/10.2.0/server)
            (PROGRAM = extproc)
          )
        )
      
      LISTENER =
        (DESCRIPTION_LIST =
          (DESCRIPTION =
            (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC_FOR_XE))
            (ADDRESS = (PROTOCOL = TCP)(HOST = pcrf.open-ims.test)(PORT = 1521))
          )
        )
      
      DEFAULT_SERVICE_LISTENER = (XE)
      Edited by: Peeyush on Aug 21, 2012 12:18 AM