My Oracle Support Banner

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

To view full details, 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 a vibrant support community of peers and Oracle experts.