$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jan 24 18:37:25 2011
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected.
SQL> startup nomount pfile='/oracle/pfile_epm.ora';
ORA-00000: normal, successful completion
SQL> select * from dual ;
ERROR:
ORA-01012: not logged on
修改hosts文件,因为host文件中主机名和实际主机名称不一致
10.109.32.10 bj-accs-db
修改后重启主机,问题解决
# uname -a
AIX bj-accs-db 3 5 00C6CB964C00
# hostname
bj-accs-db
# su - oracle
$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jan 24 19:28:49 2011
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
sConnected to an idle instance.
SQL> startup nomount pfile='/oracle/pfile_epm.ora';
ORACLE instance started.
Total System Global Area 8204058624 bytes
Fixed Size 2109360 bytes
Variable Size 1308622928 bytes
Database Buffers 6878658560 bytes
Redo Buffers 14667776 bytes
SQL>
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24058069/viewspace-686498/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/24058069/viewspace-686498/