[oracle@neirong oracle]$ sqlplus "/ as sysdba" SQL*Plus: Release 9.2.0.4.0 - Production on Fri Nov 25 15:43:26 2005 Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved. Connected to an idle instance. SQL> startup ORA-27123: unable to attach to shared memory segment Linux Error: 22: Invalid argument Additional information: 1 Additional information: 458753 SQL> exit Disconnected
俺的平台为: [oracle@neirong bdump]$ cat /etc/redhat-release Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
简单操作如下: cd $ORACLE_HOME/rdbms/lib cp ksms.s ksms.s.bak ( if u have a ksms.s file) genksms -s 0x12000000 > ksms.s make -f ins_rdbms.mk ksms.o make -f ins_rdbms.mk ioracle
此处先备份ksms.s文件,如果编译过程中出现错误,保证操作可以被恢复:
恢复步骤大致如下: cd $ORACLE_HOME/rdbms/lib cp ksms.s.bak ksms.s (if u have backup ksms.s file) genksms > ksms.s make -f ins_rdbms.mk ksms.o make -f ins_rdbms.mk ioracle