ORA-06268: NETNTT: cannot read /etc/oratab ORACLE 报错 故障修复 远程处理

文档解释

ORA-06268: NETNTT: cannot read /etc/oratab

Cause: The NTT two-task driver could not read configuration information from /etc/oratab.

Action: Make sure /etc/oratab exists and is readable. This error may occur if the file is incorrectly formatted. It also may occur if the driver has run out of memory.

ORA-06268:NETNTT:无法读取/ etc/oratab是一个由Oracle数据库引擎引发的错误,它指示NETWORK初始化过程无法对/ etc/oratab文件执行只读操作。这可能是由于文件不存在,文件的权限不正确或进程不具有访问授权权限引起的。

官方解释

ORA-06268: NETNTT: cannot read /etc/oratab

Cause: During Network initialization an attempt was made to open /etc/oratab for read access, and it failed. This could be because the file does not exist, the permissions on the file are not correct, or the process does not have sufficient privileges to access the file.

常见案例

一般情况下,报此错误是由于执行SQL*Plus等客户端命令时没有完成绝对路径,导致/ etc/oratab文件无法被正确访问引起的。此外,也会因为路径中包含空格或路径中没有正确设置目录权限所致。

正常处理方法及步骤

1.检查/ etc/oratab文件是否存在:

more /etc/oratab

2.确保/ etc/oratab文件具有正确的读取权限。

chmod 644 /etc/oratab

3.在执行SQL*Plus或其它客户端命令时输入绝对路径:

/home/oracle/app/oracle/product/10.2.0/bin/sqlplus

4.检查你的环境变量配置,确保其中没有路径中的空格:

ulimit -a

5.对于绝对路径中的目录,确保其具有正确的访问权限:

ls -ld /home/oracle/app/oracle/product/10.2.0/bin

6.使用chmod命令更改/ etc/oratab文件的权限,使其所有者可读写:

chmod 644 /etc/oratab


数据运维技术 » ORA-06268: NETNTT: cannot read /etc/oratab ORACLE 报错 故障修复 远程处理