Home  >  Article  >  Database  >  RedHat5下启动ORACLE10.2.0.1监听时报下面错误

RedHat5下启动ORACLE10.2.0.1监听时报下面错误

WBOY
WBOYOriginal
2016-06-07 17:07:18830browse

RedHat5下启动ORACLE10.2.0.1监听时报下面错误

启动监听时遇到的错误

[Oracle @ localhost ~]:lsnctl start

TNSLSNR for Linux: Version 10.2.0.4.0 - Production
System parameter file is /u01/app/oracle/network/admin/listener.ora
Log messages written to /u01/app/oracle/network/log/listener.log
Error listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1)))ITPUB
 TNS-12555: TNS:permission denied
  TNS-12560: TNS:protocol adapter error
   TNS-00525: Insufficient privilege for operation
  Linux Error: 1: Operation not permitted

出错原因:是文件.oracle文件的属主出错,其文件的属主为root。

解决方案:改变.oracle的属主为oracle用户

具体做法:

首先用:strace lsnctl start 跟踪监听的启动过程,查看出错位置。

其次用:进入/var/tmp 目录下查看.oracle文件的属主,如果是root,则用

chown oracle:dba .oracle

命令改变其属主,,如果没有权限则进入root用户下进行更改。

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn