title: lsnrctl command not found oracle enterprise database 11g ubuntu
body: <p>i have an issue with the environment variables for oracle 11g enterprise edition on <code>ubuntu</code>. I tried this, but didn't work</p>
  
  <p>Add the following lines to /etc/profile:</p>
  
  <pre><code>export ORACLE_HOME=/u01/app/oracle/product/11.X.Y/db_home1        
  export PATH=$PATH:/u01/app/oracle/product/11.X.Y/db_home1/bin
  </code></pre>
  
  <p>Add the following environment variables:</p>
  
  <pre><code>export ORACLE_BASE=/u01/app/oracle        
  export ORACLE_HOME=/u01/app/oracle/product/11.X.Y/db_home1        
  export ORACLE_OWNR=oracle        
  export PATH=$PATH:$ORACLE_HOME/bin
  </code></pre>
  
  <p>but the error persist.</p>