首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > oracle >

LINUX ORCLE11g 有关问题

2012-01-11 
LINUXORCLE11g 问题[root@localhost ~]# su - oracle-bash: [: missing `][oracle@localhost ~]$ svrmgrl

LINUX ORCLE11g 问题
[root@localhost ~]# su - oracle
-bash: [: missing `]'
[oracle@localhost ~]$ svrmgrll
-bash: svrmgrl: command not found
why???

[解决办法]
vi /etc/profile写错了。
你查一下【[ $USER = "oracle" ]; 】和【 [ $SHELL = "/bin/ksh" ];】
语句,你【" ];】缺少了【空白】!
下面是标准的profile文件,你参考一下,注意空白。
-----------------------------

if [ $USER = "oracle" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi
fi

热点排行
Bad Request.