oracle sqlplus命令报command not found 1.问题描述 环境:SuSE11, Oracle11g. 在一台装有Oracle11g的Linux机器上,运行sqlplus命令,报错"command not found", 运行别的命令(如:lsnrctl)也同样的错误。初步怀疑是路径问题,然后我尝试cd $oracle_home/bin下, 再次运行这些命令,还是同样的错误。但用ls能看到这些命令的...
su - oracle;//切换到oracle用户环境sqlplus /assysdba;//操作系统认证 以上登录方式操作系统认证,即将oracle用户加入dba组就不用密码认证了,在$ORACLE_HOME/network/admin/sqlnet.ora文件中的SQLNET.AUTHENTICATION_SERVICES决定能否操作系统认证登录,none表示关闭操作系统认证,只能密码认证;all用于linux或Unix平台,关闭密码...
2:解决方法: 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 ...
7、因为SELINUX对oracle有影响,所以把secure linux设成无效,编辑文件 /etc/selinux/config : SELINUX=disabled 当然你也可以用图形界面下的工具 (系统 > 管理 > 安全级别和防火墙). 选择SELinux页面并且设为无效. 8、新增组和用户: groupadd oinstall groupadd dba useradd -m -g oinstall -G dba oracle pass...
bash: sqlplus: command not found 解决方法 环境变量已经配好,但是仍报错: # vi .bash_profile # .bash_profile # Get the aliasesand functions if [ -f ~/.bashrc ];then . ~/.bashrc fi # User specificenvironment and startup programs
linux网管笔记(28)安装oracle及command not found 解决方法-cndes的日志 ,Redhatlinux下安装oracle10g安装redhat5时要独立分配磁盘给SWAP,空间大小应该是内存大小*2,最好使用内存>1G的机器。系统检查命令:#grepMemTotal/proc/meminfo――检查内存大小#grepSwapTotal/pr
sqlplus / as sysdba SQL> show user 之后再用命令sqlplus / as sysdba 连接数据库时就会调用rlwrap这个工具,使得Linux下的SQL Plus可以像Windows下的那样使用了。 补充:如果sqlplus命令用不了,可以做如下设置 [oracle@rac1 ~]$ sqlplus /nolog bash: sqlplus: command not found ...
1、由于orcale10不支持redhat as5 需要修改/etc/redhat-realease 将 Red Hat Ent erprise Linux Server release 5 (Tikanga) 改为Red Hat Enterprise Linux Server release 4 (Tikanga) ,安装完成后再将其修改回来 2、修改/etc/hosts 文件将127.0.0.1改为本机IP地址否则网络检查通不过 3、检查安装所需的...
执行以下语句确认当前环境变量是否有:[oracle@oracleserver 10g]$env|grep oracle 如果你这是从图形界面进入的终端、需要先执行source .bash_profile 用
一.准备工作 通过ftp工具上传安装包到linux服务器 cd /home unzip linux.x64_11gR2_database_1of2.zip unzip linux.x64_11gR2_database_2of2.zip1.1 上传oracle 11g安装文件到服务器并解压 cd /home unzip linux.x…