直接进入bin目录执行 [oracle@localhost ~]$ cd /home/oracle/oracle/product/10.2.0/db_1/bin
[oracle@localhost bin]$ ./sqlplus
错误如下: Error 6 initializing SQL*Plus
Message file sp1<lang>.msb not found
SP2-0750: You may need to set ORACLE_HOME to your Oracle software directory
用echo查询$ORACLE_HOME 页没有反应
网上查了好多都找不到相关办法。。各位大侠帮帮忙啊 [/size]
...全文
24713打赏收藏
linux中oracle的环境变量设置问题(sqlplus执行不了)
[size=13px]在虚拟机中安装了linux系统,并在此系统中安装了oracle。 打开terminal,执行命令 sqlplus ,发现错误如下 bash: sqlplus: command not found 在网上搜索相关问题的答案,发现是oracle的环境变量设置问题 在/home/oracle/ 中的文件 bash_profile 设置环境变量 # .bash_profile # Get the aliases and functions if [ -f ~/.bashrc ];