I have installed Oracle 11g R2 on ubuntu 14.04 LTS. On terminal I wrote following to start oracle:

sudo service oracle-xe start

on pressing enter, got following output :

" Starting Oracle Net Listener.
  touch: cannot touch '/var/lock/subsys/listener' : No such file or directory
  Starting Oracle Database 11g Express Edition instance.
  Failed to start Oracle Net Listener using /u01/app/oracle/product/11.2.0/xe/bin/tnslsnr
  and Oracle Express Database using /u01/app/oracle/product/11.2.0/xe/bin/sqlplus. "

What should I do now.


try these commands on terminal :

sudo mkdir -p /var/lock/subsys

sudo chmod -R 777 /var/lock/subsys
  • 2
    You don't really need chmod as the init script is supposed to be run by root.
    – mustaccio
    Sep 19 '14 at 13:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy