无法在Ubuntu 13.04上启动Oracle XE 11gR2 Net Listener和Database

我一直在关注本文的安装步骤,以便在Ubuntu 13.04上安装Oracle XE 11g R2。 环境variablesPATH,ORACLE_HOME,ORACLE_SID,NLS_LANG ORACLE_BASE都已正确设置。

simongao:~ 06:16:38$ echo $PATH /usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/simongao/adt-bundle-linux-x86_64-20130219/sdk/platform-tools:/u01/app/oracle/product/11.2.0/xe/bin simongao:~ 06:18:36$ echo $ORACLE_HOME /u01/app/oracle/product/11.2.0/xe simongao:~ 06:23:29$ echo $ORACLE_SID XE simongao:~ 06:23:35$ echo $ORACLE_BASE /u01/app/oracle simongao:~ 06:23:37$ sudo echo $LD_LIBRARY_PATH /u01/app/oracle/product/11.2.0/xe/lib simongao:~ 06:23:48$ echo $NLS_LANG /u01/app/oracle/product/11.2.0/xe/bin/nls_lang.sh 

但是,当我尝试启动该服务时,我收到以下错误信息。

 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. 

我在虚拟盒子中运行的Ubuntu 13上遇到同样的问题。

尝试先创build一个名为oracle的系统用户

这解决了上述问题,但我无法运行“sqlplus sys as sysdba”。 即使如此,我仍然可以使用“sqlplus tns-user / password @ remote-address”连接到远程主机,