ubuntu 下启动oracle监听失败:TNS-12555: TNS:permission denied

【问题现象】
lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 23-FEB-2012 15:21:21
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /opt/oracle/product/11g//bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /opt/oracle/product/11g/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/oracle/listener/alert/log.xml
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
TNS-12555: TNS:permission denied
TNS-12560: TNS:protocol adapter error
TNS-00525: Insufficient privilege for operation
Linux Error: 1: Operation not permitted
Listener failed to start. See the error message(s) above...
【问题分析和解决】
从上面的错误来看,应该是对应的权限操作的问题,经了解,是关于/var/tmp目录下的.oracle文件权限

[oracle@oracle tmp]$ ls -al
total 12
drwxrwxrwt  3 root root 4096 Nov 13 15:32 .
drwxr-xr-x 22 root root 4096 Aug 25  2011 ..
drwxrwxrwt  2 root root 4096 Nov 13 15:30 .oracle (注意这个文件是隐藏文件)
chmod 777 /var/tmp/.oracle

或者是

[oracle@oracle tmp]$  chown -R oracle.dba .oracle/

问题解决

转载自:http://blog.163.com/ly_89/blog/static/186902299201210136255650/

你可能感兴趣的:(Permission)