linux下oracle的TNS-12546錯誤解決辦法

xingfei80發表於2010-07-29

linux下oracle的TNS-12546錯誤解決辦法

啟動監聽時出TNS-12546錯
問題描述:
[oracle@test admin]$ lsnrctl start

LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 30-JUN-2008 11:07:16

Copyright (c) 1991, 2005, Oracle. All rights reserved.

Starting /oracle/orasys/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 10.2.0.1.0 - Production
System parameter file is /oracle/orasys/db_1/network/admin/listener.ora
Log messages written to /oracle/orasys/db_1/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-12546: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00516: Permission denied
Linux Error: 13: Permission denied

解決辦法:
The Unix permissions for the hidden directory /tmp/.oracle should be
Owner = the Oracle user who performed the database install
Group = the dba group of the Oracle user
and the directory's Unix permissions should be drwxrwxrwx
Change the permissions on the .oracle directory
1) cd /var/tmp(on Solaris Linux) or /tmp(on Hp and IBM)
2) Change the ownership and group of the ".oracle" directory to "oracle/dba"
# chown -R oracle10:dba .oracle
or
3) Change the permissions on the directory
# chmod 777 .oracle

[@more@]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14663377/viewspace-1035621/,如需轉載,請註明出處,否則將追究法律責任。

相關文章