1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > oracle tns 启动失败 Oracle 监听启动失败 TNS-12555: TNS:permission denied 解决方案

oracle tns 启动失败 Oracle 监听启动失败 TNS-12555: TNS:permission denied 解决方案

时间:2021-03-13 05:52:40

相关推荐

oracle tns 启动失败 Oracle 监听启动失败 TNS-12555: TNS:permission denied 解决方案

问题现象:

[dave@Dave admin]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 10-FEB- 00:28:40

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

Starting /u02/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.4.0 - Production

System parameter file is /u02/app/oracle/product/11.2.0/db_1/network/admin/listener.ora

Log messages written to /u02/app/oracle/diag/tnslsnr/Dave/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...

解决方法

[dave@Dave admin]$ exit

logout

[root@Dave Desktop]# chmod -R 777 /var/tmp/.oracle

[root@Dave Desktop]# su - dave

验证

[dave@Dave ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 10-FEB- 00:29:53

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

Starting /u02/app/oracle/product/11.2.0/db_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.4.0 - Production

System parameter file is /u02/app/oracle/product/11.2.0/db_1/network/admin/listener.ora

Log messages written to /u02/app/oracle/diag/tnslsnr/Dave/listener/alert/log.xml

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))

STATUS of the LISTENER

------------------------

Alias LISTENER

Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production

Start Date 10-FEB- 00:29:55

Uptime 0 days 0 hr. 0 min. 0 sec

Trace Level off

Security ON: Local OS Authentication

SNMP OFF

Listener Parameter File /u02/app/oracle/product/11.2.0/db_1/network/admin/listener.ora

Listener Log File /u02/app/oracle/diag/tnslsnr/Dave/listener/alert/log.xml

Listening Endpoints Summary...

(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))

(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=localhost)(PORT=1522)))

The listener supports no services

The command completed successfully

[dave@Dave ~]$

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

/dave/article/2743

版权声明:本文为博主原创文章,未经博主允许。

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。