文档解释 ORA-07218: slkhst: could not perfORM host operation Cause: Unix system() call failed Action: Examine system error m
ORA-07218: slkhst: could not perfORM host operation
Cause: Unix system() call failed
Action: Examine system error message
ORA-07218错误是oracle数据库的一种常见错误,指的是数据库操作系统不支持主机操作无法执行。
ORA-07218: slkhst: 无法执行主机操作。
本错误消息指示主机操作只支持在与操作系统兼容的安全运行模式下,但当前会话处于非安全模式。
ORA-07218错误通常是由于在非安全模式下连接数据库导致的,而有些操作只能在安全模式下执行。
1.首先检查会话的安全模式:
SELECT sys_context (‘USERENV’, ‘SESSION_MODE’) from DUAL;
2.如果会话处于非安全模式,你需要切换到安全模式:
ALTER SESSION SET control_file_record_keep_time=1800;
— Set Control file records a maximum of 30 minutes
ALTER SESSION SET secure_file_priv_record_keep_time=1000;
— Set Secure file records a maximum of 10 minutes
ALTER SESSION ENABLE SECURE SESSION;
3.然后重新尝试执行操作:
BEGIN
DBMS_UTILITY.ORA_HOST_OPERATION(‘YOUR_COMMAND’);
END;
/
--结束END--
本文标题: ORA-07218: slkhst: could not perform host operation ORACLE 报错 故障修复 远程处理
本文链接: https://www.lsjlt.com/news/528227.html(转载时请注明来源链接)
有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341
下载Word文档到电脑,方便收藏和打印~
回答
回答
回答
回答
回答
回答
回答
回答
回答
回答
0