************************************************ 5.开始升级oracle su - oracle 安装结束后,HTTPD会自动运行.在升级之前,需要将它停下来. $ cd $ORACLE_HOME/Apache/Apache/bin $ apachectl stop ./apachectl stop: httpd stopped LISTENER也需要停下来. $ lsnrctl stop LSNRCTL for Linux: Version 9.2.0.1.0 - Production on 07-NOV-2003 16:25:41 Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved. Connecting to (ADDRESS=(PROTOCOL=tcp)(PORT=1521)) The command completed successfully 注意: 如果不停的话,oracle会提示不能覆盖文件.这个时候再去将服务停下来也可以,点Retry就可以了.
连接数据库 $sqlplus /nolog SQL>connect / as sysdba SQL>startup mount 检查是否连接oracle SQL>select sysdate from dual; Sp2-0640:Not connected 挂起 SQL>startup ************************************************** 如果出现错误信息: ORA-01078:failucr in processing system parameters LRM-00109:could not open parametet file/opt/ora9/product/9.2/dbs/initora9i.or 执行: #cp /opt/ora9/admin/orcl/pfile/init.ora.613200412101 /opt/ora9/product/9.2/dbs/initora9.ora *****************************************************