SQLPlus Fails With "sqlplus: Not Found [No Such File Or Directory]" in Unix Environment

(Doc ID 2336567.1)

Last updated on DECEMBER 06, 2017

Applies to:

SQL*Plus - Version 12.2.0.1 and later
Information in this document applies to any platform.

Symptoms

Trying to execute sqlplus fails with the following error:

-ksh: sqlplus: not found [No such file or directory]


For Example:

 
Other tools like tnsping and impdp also fail with same error.

$ which sqlplus
/usr/bin/which: no sqlplus in (/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin)

Changes

 This is a new Oracle Database 12c installation.

Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms