• Status: Solved
  • Priority: High
  • Security: Public
  • Views: 112
  • Last Modified:

Oracle Datapump Utility Not Found

I have a fresh install of Oracle 12cR2 on Red Hat Linux.
I am trying to run the datapump utility but it errors with:
-bash: impdp: command not found

I tried running oraenv.sh script
I unset ORACLE_HOME, reset it and exported it.
The user is a member of the dba group in /etc/groups.

Is there a way to reinstall the utility?
Is there a way to check for proper installation?


Any assistance is much appreciated.
0
justme4me
Asked:
justme4me
2 Solutions
 
DavidSenior Oracle Database AdministratorCommented:
It's a binary file, should be in $ORACLE_HOME/bin. If your script fails to use a fully qualified path name, then that directory must (and should be) in the O/S PATH variable.
0
 
justme4meAuthor Commented:
I confirmed it is in the $ORACLE_HOME/bin directory.  Things may not be configured properly as I am a SQL Server DBA covering for an Oracle DBA.  If it is helpful in troubleshooting, I can upload the user's bash_profile.
capture2.PNG
0
 
slightwv (䄆 Netminder) Commented:
Is $ORACLE_HOME/bin in your PATH?

in the bash profile (after ORACLE_HOME is set):
export PATH=$ORACLE_HOME/bin:$PATH


To do things correctly:  When you created the instance it should have bee added to /etc/oratab.

Then in the profile you can do:
export ORACLE_SID=ORCL
ORAENV_ASK=NO
. oraenv


Change ORCL to the correct SID.
the oraenv script will set up everything you need for Oracle including updating your PATH.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now