当前位置:   article > 正文

bash: sqlplus: command not found 解决方法

bash: sqlplus: command not found
  1. [oracle@dg1 ~]$ sqlplus /nolog
  2. bash: sqlplus: command not found
  3. [oracle@dg1 ~]$ ln -s $ORACLE_HOME/bin/sqlplus /usr/bin
  4. ln: creating symbolic link `/usr/bin/sqlplus' to `/bin/sqlplus': Permission deni ed
  5. [oracle@dg1 ~]$ su - root
  6. Password:
  7. [root@dg1 ~]# ln -s $ORACLE_HOME/bin/sqlplus /usr/bin
  8. [root@dg1 ~]# su - oracle
  9. [oracle@dg1 ~]$ sqlplus /nolog
  10. SQL*Plus: Release 10.2.0.1.0 - Production on Mon May 11 12:51:24 2009
  11. Copyright (c) 1982, 2005, Oracle. All rights reserved.
  12. SQL> conn / as sysdba
  13. Connected to an idle instance.
  14. SQL> startup
  15. ORACLE instance started.
  16. Total System Global Area 167772160 bytes
  17. Fixed Size 1218316 bytes
  18. Variable Size 79694068 bytes
  19. Database Buffers 83886080 bytes
  20. Redo Buffers 2973696 bytes
  21. Database mounted.
  22. Database opened.
  23. SQL>

转发自:bash: sqlplus: command not found 解决方法_goodjob110的博客-CSDN博客

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/凡人多烦事01/article/detail/444960?site
推荐阅读
相关标签
  

闽ICP备14008679号