I can access databases using Oracle user, but I get this error while trying to use another user after migrating...
to 126.96.36.199 from 188.8.131.52 on AIX. ORACLE_HOME and ORACLE_SID is defined. Here is the error:
root:/u01/oracle/product/184.108.40.206 --> sqlplus v500/v500
SQL*Plus: Release 220.127.116.11.0 - Production on Thu May 13 14:25:09 2004
Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.
ORA-01034: ORACLE not available
ORA-27123: unable to attach to shared memory segment
IBM AIX RISC System/6000 Error: 13: Permission denied
There could be a couple of reasons why you get this error.
First, I'd check to make sure that your SGA does not exceed SHMMAX in /etc/system. If that is the case, then increase SHMMAX and reboot the server or decrease your SGA and restart the instance.
Second, check your file permissions. You can set things by doing the following:
umask 022 cd $ORACLE_HOME chmod 755 (on all sub-dirs) cd $ORACLE_BASE/admin/(SID NAME) chmod 755 (on all sub-dirs) cd $ORACLE_HOME/bin chmod 6751 oracle
You should be able to connect once all of the above is done.
Dig Deeper on Oracle database design and architecture
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.