Problem solve Get help with specific problems with your technologies, process and projects.

Error accessing database after migration to

I can access databases using Oracle user, but I get this error while trying to use another user after migrating...

to from on AIX. ORACLE_HOME and ORACLE_SID is defined. Here is the error:

root:/u01/oracle/product/ --> sqlplus v500/v500

SQL*Plus: Release - 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.

This was last published in June 2004

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.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.