linux下oracle的TNS-12546错误解决办法

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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14663377/viewspace-1035621/

你可能感兴趣的:(数据库,php)