ORA-02794: Client unable to get key for shared memory
Cause: The client was unable to get a key so that it obtain shared memory for use with shared memory.
Action: Contact ORACLE support – this is an internal error.
ORA-02794错误是由于Oracle客户端无法从共享内存键获取数据而引起的。
ORA-02794: client unable to get key for shared memory
—————————————————————————
Cause: The client process could not get the combination of shared memory key and other resources necessary to open a shared memory segment.
Action: Make sure that all forked processes have the same userid as the process on the server side that created the segment. If all preconditions on the server and client side appear to be satisfied then contact your customer support representative and report the error number.
ORA-2794可能表明计算机的用户ID不匹配,或者该服务可能被锁定,也可能是因为服务器上的“共享内存数据库”不可用。
1.确保所有fork程序的用户ID与在服务器端创建该段的进程的用户ID相同。
2.检查错误信息并尝试为SPFILE指定不同的值,以及检查重启实例时的共享内存值是否正确。
3.检查操作系统是否具有足够的资源,以便服务可以满足应用程序的共享内存要求。
4.检查是否有另一个应用程序正在使用共享内存表空间,或是否有任何其他应用程序已将该共享内存键锁定。
5.确保为SPFILE空间指定的共享内存大小足够大,以便可以满足数据库实例的要求。