lsnrctl start 时报linux Error:13 Permission deniedCNE

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了lsnrctl start 时报linux Error:13 Permission deniedCNE相关的知识,希望对你有一定的参考价值。

以下是报错信息:
LSNRCTL for Linux: Version 11.2.0.4.0 Production on 18FEB-201908:01 :28

QExmI 0 I T

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

Message 1070 not found; No message file for product=network,

facili ty=TNSTNS-12546: Message 12546 not found; NO message filefor product=network, facilityTNS

TNS-12560: Message 12560 not found; NO message file forproduct=ne twork, facility-TNS

TNS-00516: Message 516 not found; NO message file forI product=network, facility-TNS

Linux Error: 13: Permission deniedCNE

你没有权限。重复报错的指令,在前面加上sudo。如果没有sudo的,去编辑修改visudo。不同linux发行版修改方法有些许差异。百度一下 输入像“ubuntu sudo”、”debian sudo“前面是具体发行版,后面是sudo。看看给出的文档。照着做。把sudo给加上。然后再来执行。 参考技术A 1.权限问题
2.检查权限
3.需要啥权限就给啥权限

操作错误: lsnrctl启动报错(lsnrctl start),Linux Error: 29: Illegal seek

文章目录

错误

刚装了一个数据库,启动lsnrctl 报错:

[oracle@server1 ~]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-MAY-2019 07:34:15

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

Starting /u01/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNS-12537: TNS:connection closed
 TNS-12560: TNS:protocol adapter error
  TNS-00507: Connection closed
   Linux Error: 29: Illegal seek

诊断

尝试使用tnslsnr确认

[oracle@server1 admin]$ tnslsnr
Unable to resolve address for localhost:6100
ONS runtime exiting

查看/ect/hosts 文件

[oracle@server1 admin]$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               server1.oracle.com server1 ★
::1             localhost6.localdomain6 localhost6

192.168.56.11  server1.oracle.com server1
192.168.56.12  server2.oracle.com server2

解决

原来是在修改/ect/hosts 文件时把127.0.0.1这一行给改错了。

[oracle@server1 admin]$ su - root
Password:
[root@server1 ~]# vi /etc/hosts
[root@server1 ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6

192.168.56.11  server1.oracle.com server1
192.168.56.12  server2.oracle.com server2

再次启动成功。

[oracle@server1 admin]$ lsnrctl start

LSNRCTL for Linux: Version 11.2.0.3.0 - Production on 26-MAY-2019 07:44:40

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

Starting /u01/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...

TNSLSNR for Linux: Version 11.2.0.3.0 - Production
System parameter file is /u01/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/oracle/diag/tnslsnr/server1/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1.oracle.com)(PORT=1521)))

Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
STATUS of the LISTENER
------------------------
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version 11.2.0.3.0 - Production
Start Date                26-MAY-2019 07:44:40
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Listener Parameter File   /u01/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File         /u01/oracle/diag/tnslsnr/server1/listener/alert/log.xml
Listening Endpoints Summary...
  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=server1.oracle.com)(PORT=1521)))
The listener supports no services
The command completed successfully
[oracle@server1 admin]$

版权声明:本文为博主原创文章,转载必须注明出处,本人保留一切相关权力!http://blog.csdn.net/lukeunique

欢迎关注微信订阅号:TeacherWhat

以上是关于lsnrctl start 时报linux Error:13 Permission deniedCNE的主要内容,如果未能解决你的问题,请参考以下文章

操作错误: lsnrctl启动报错(lsnrctl start),Linux Error: 29: Illegal seek

Linux Oracle 11g, lsnrctl start 监听服务启动失败解决办法

连linux下lsnrctl start命令启动oracle监听时候报错 我是新手 求高人指点 希望尽可能详细些

监听起不来,运行lsnrctl start如下

用命令lsnrctl start 启动oracle监听 但出现以下错误 该怎么办 请各位大神帮帮忙 谢谢

oracle监听启动,为啥会有这样错误,我在命令行输入lsnrctl start