打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
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/

问题解决

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
■■CentOS 5.4 への Oracle Database 11g の構築■■
DISK CRITICAL - /root/.gvfs is not accessible: Permission denied
Linux上安装Oracle汉字乱码完整解决方案
在suse linux enterprise 10 中安装 oracle 10g (带图说...
Redhat-Linux-Enterprise-AS4-Up2上安装Oracle amd64_db_9204
如何保护好Oracle服务器上的监听器(转)
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服