重庆思庄Oracle、Redhat认证学习论坛

标题: ORAchk fails on SuSE Linux (Doc ID 2325573.1) [打印本页]

作者: 郑全    时间: 2021-8-20 15:05
标题: ORAchk fails on SuSE Linux (Doc ID 2325573.1)
本帖最后由 郑全 于 2021-8-20 15:06 编辑



Click to add to Favorites                ORAchk fails on SuSE Linux (Doc ID 2325573.1)        To BottomTo Bottom       


In this Document
Symptoms
Changes
Cause
Solution
References


APPLIES TO:
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Database Cloud Schema Service - Version N/A and later
Information in this document applies to any platform.
SYMPTOMS
orachk script fails with following error
%./orachk
-bash: ./orachk: /bin/env: bad interpreter: No such file or directory


OS Version
%cat /etc/issue


Welcome to SUSE Linux Enterprise Server 11 SP1 (x86_64) - Kernel \r (\l).







CHANGES
New orachk installation on SUSE Linux


CAUSE
There is no env executable in /bin


cd /bin


:/bin> ls -lrt env
ls: cannot access env: No such file or directory



SOLUTION
Create symbolic link for env in /bin. Orachk works fine
#cd /bin
#ln -s /usr/bin/env env
#:/bin # ls -l env
lrwxrwxrwx 1 root root 12 Nov 3 16:52 env -> /usr/bin/env








REFERENCES
NOTE:1268927.2 - ORAchk - Health Checks for the Oracle Stack





欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2