In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)05/31 Report--
This article mainly shows you "Ora_Q3_bash: sqlplus: command not found errors in oracle", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Ora_Q3_bash: sqlplus: command not found errors in oracle" this article.
Bash: sqlplus: command not found solution
The environment variable has been configured, but an error is still reported:
# vi .bash _ profile
# .bash _ profile
# Get the aliasesand functions
If [- f ~ / .bashrc]; then
. ~ / .bashrc
Fi
# User specificenvironment and startup programs
PATH=$PATH:$HOME/bin
# AddORACLE_SID, ORACLE_BASE,ORACLE_HOME AND PATH
ExportPATH
UnsetUSERNAME
ExportEDITOR = vi
ExportORACLE_SID = orcl
Export ORACLE_BASE = / u01/app/oracle
ExportORACLE_HOME = $ORACLE_BASE/product/11.2.0/dbhome_1/
Export PATH = $PATH:/u01/app/oracle/product/11.2.0/dbhome_1/bin
Umask 022
[solution]
# su-root
# ln-s / u01/app/oracle/product/11.2.0/dbhome_1/bin/sqlplus / usr/bin
# su-oracle
$sqlplus/nolog
SQL > conn / as sysdba
Connected to an idleinstance.
SQL > startup
ORACLEinstance started.
……
Database mounted.
Databaseopened.
These are all the contents of the article "Ora_Q3_bash: sqlplus: what to do with command not found errors in oracle". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.