新增加一个linux用户登录sqlplus
(2009-09-08 09:22:34)
标签:
oracle
linux
杂谈
分类:
开发
安装好oracle之后,想用其他linux用户登录sqlplus,
$usermod -g oinstall zhou
$cp /home/oracle/.bash_profile /home/zhou/.bash_profile
发现失败!
出现如下的问题:
SQL*Plus: Release 9.2.0.1.0 - Production on 星期五 7月 27 02:19:10
2007
Copyright (c) 1982, 2002, Oracle Corporation. All rights
reserved.
ERROR:
ORA-01034: ORACLE not available
ORA-27121: unable to determine size of shared memory segment
Linux Error: 13: Permission denied
从上面的提示来看主要是权限不够,操作被os拒绝了,shared memory segment无法访问,
$cd $ORACLE_HOME/bin/
$chmod +s oracle
这样不见得是最好的授权方式,你可以根据自己的环境来给group 或other授予s权限
让其他os 用户可以访问oracle的共享内存,然后再让其他os用户运行sqlplus来登录数据库,就不报这样的错误了。
ilasserver用非oracle用户起动不了。
是因为其他用户权限不够,不能访问ilasserver目录下文件;
chmod -R 777 ilasserver就可以了;
分享:
喜欢
0
赠金笔
加载中,请稍候......
评论加载中,请稍候...
发评论
登录名: 密码: 找回密码 注册记住登录状态
昵 称:
评论并转载此博文
发评论
以上网友发言只代表其个人观点,不代表新浪网的观点或立场。