解决oracle报ora-01034 linux Error:2错误

安装环境:CentOS4.6 Oracle10g

现象:用sqlplus连到数据库,执行sql报ora-01034错误;在windows下配置本地网络服务报如下错误:
ORA-01034:ORACLE not available
ORA-27101:shared memory realm does not exist
Linux Error:2:No such file or directory

错误原因:数据库实例没有启动。其解决方法如下:
sqlplus /nolog
connect / as sysdba
startup