I have been following the setup step on this article for installing Oracle XE 11g R2 on Ubuntu 13.04. The environment variables PATH, ORACLE_HOME, ORACLE_SID, NLS_LANG ORACLE_BASE have all been set up correctly.

simongao:~ 06:16:38$ echo $PATH
simongao:~ 06:18:36$ echo $ORACLE_HOME
simongao:~ 06:23:29$ echo $ORACLE_SID
simongao:~ 06:23:35$ echo $ORACLE_BASE
simongao:~ 06:23:37$ sudo echo $LD_LIBRARY_PATH
simongao:~ 06:23:48$ echo $NLS_LANG

However, when I try to startup the service, I receive the following error information.

simongao:~ 06:18:40$ sudo service oracle-xe start
Starting Oracle Net Listener.
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.

I was facing the same problem on Ubuntu 13 running in virtual box.

Try to first create a system user called oracle

That solved the problem stated above for me but I was not able to run "sqlplus sys as sysdba." Even so, I was then able to connect to remote host using "sqlplus tns-user/password@remote-address"

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.