My Oracle Support Banner

opatchauto:"which: 0652-141 There is no sudo in" messages while running opatchauto (Doc ID 2261257.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
Generic Linux
Generic UNIX

Symptoms

 "There is no sudo" message is shown when running opatchauto, but opatchauto succeeded.

./opatchauto apply /opt/oracle/20170327/24917825 -analyze
which: 0652-141 There is no sudo in /bin /usr/bin /usr/local/bin /usr/java71_64/jre/bin /usr/java71_64/bin /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /bin /usr/local/bin
......
opatchauto succeeded.

 opatchauto version:

./opatchauto version
which: 0652-141 There is no sudo /bin /usr/bin /usr/local/bin /usr/java71_64/jre/bin /usr/java71_64/bin /opt/oracle/12.1.0/grid/bin /opt/oracle/product/12.1.0/dbhome_1/bin /opt/oracle/product/12.1.0/dbhome_1/jdk/bin /hacmp/home/ora/bin . /usr/bin /etc /usr/sbin /usr/ucb /usr/bin/X11 /sbin /bin /usr/local/bin
Oracle OPatchAuto Version 13.9.0.2.0
Copyright (c) 2016, Oracle Corporation. All rights reserved.

1. OPatchAuto Version 13.9.0.2.0
2. OpatchautoDB Version 12.2.0.1.7

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.