ORA-01031: Insufficient Privileges Original: http://www.chinaunix.net/jh/19/132866.html################################################################################################################################################################################################################################################### ###################### # # name: Troubleshoot connection: # Connect INTERNAL # connect / as sysdba To password issues: # Refer (Metalink , Oracledoc), # MetaLink Search Words # NOTE: # # modifiy (mm / dd / yy) Author #
05/03/03
Zorrol ############################### ------ ---------------- 1. Check the sqlnet.ora file. SQLNET.ORA file corruption or format does not cause this problem. SQLNET.ORA files may be stored for $ tns_admin / sqlnet.ora If no $ tns_admin defaults in $ oracle_home / network / admin / sqlnet.ora (1). You can copy a file from other machines Come over, pay attention to backup the original SQLNET.ORA. --- Check SQLNET.ORA file content (2). Check SQLNET.AUTHENTICATION_SERVICES if DBLINK is not used. Check this line and set SQLNET.AUTHENTICATION_SERVICES = (BEQ, NONE) (3). SQLNET.CRYPTO_SEED does not need this parameter under Unix . If there is a line, comment, or delete (4) .automatic_ipc If the parameter is ON, it will force the "Two_Task" connection to be installed to OFF Automatic_iPC = Off 2. Check the permission configuration of the related files. Find $ tns_admin / * $ tns_admin $ chmod 644 SQLNET.ORA TNSNAMES.ORA LISTENER.ORA $ ls -l sqlnet.ora tnsnames.ora listener.ora -rw-r - r - 1 Oracle DBA 1628 JUL 12 15 : 25 listener.ora -rw-r - r - 1 Oracle DBA 586 Jun 1 12:07 SQLNET.ORA-RW-R - R - 1 Oracle DBA 82274 JUL 12 15:23 Tnsnames.ora 3. Check Operating system related settings. (1). $ Oracle_home Environment Variables Set the correct% CD $ ORACLE_HOME% PWD If the error, please reset: sh or ksh: -------- $ Oracle_Home =
7.3.3
$ Export oracle_home csh: ----% setENV ORAME_HOME