title: Configure Oracle 11g Database in Oracle Linux 6
body: <p>For the last 2 days I've been trying to configure Oracle DB 11g in Oracle Linux 6. It has successfully installed but I can't create a database.
  I have created the listener and tnsnames and tried to startup the database with the following commands:</p>
  
  <pre><code>    sqlplus /nolog   
      connect / as sysdba   
      startup
  </code></pre>
  
  <p>And I'm getting the following errors:</p>
  
  <pre><code>    ORA-00119: invalid specification for system parameter LOCAL_LISTENER
      ORA-00130: invalid listener address '(ADDRESS=(PROTOCOL=TCP)(HOST=beta)(PORT=1521))' 
  </code></pre>
  
  <p>Here my listener and tnsnames config:</p>
  
  <p>listener.ora:</p>
  
  <pre><code>    SID_LIST_LISTENER =
       (SID_LIST =
         (SID_DESC =
           (SID_NAME = orcl)
           (ORACLE_HOME = /home/oracle/app/oracle/product/11.2.0/oracle)
         )
       )
      SUBSCRIBE_FOR_NODE_DOWN_EVENT_LISTENER=OFF
  
      LISTENER =
        (DESCRIPTION_LIST =
          (DESCRIPTION =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          )
        )
  
      ADR_BASE_ORCL = /home/oracle/app/oracle
  </code></pre>
  
  <p>tnsnames.ora:</p>
  
  <pre><code>    ORCL =
        (DESCRIPTION =
          (ADDRESS_LIST =
            (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521))
          )
          (CONNECT_DATA =
            (SERVICE_NAME = orcl)
          )
        )
  </code></pre>
  
  <p>Any ideas?</p>