Ask the Expert

Error accessing database after migration to 9.2.0.3

I can access databases using Oracle user, but I get this error while trying to use another user after migrating to 9.2.0.3 from 8.1.7.4 on AIX. ORACLE_HOME and ORACLE_SID is defined. Here is the error:

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

SQL*Plus: Release 9.2.0.3.0 - Production on Thu May 13 14:25:09 2004

Copyright (c) 1982, 2002, Oracle Corporation. All rights reserved.

ERROR:
ORA-01034:

    Requires Free Membership to View

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 first published in June 2004

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: