root连接oracle 提示:ORA-12546: TNS:permission denied (AIX环境)

孤好梦中杀人 2013-08-15 08:43:07
系统为AIX6.1 64位,oracle为10g 64位


现在用root用户登录oracle,提示如下:

[root@rlzyjhost:/]$ sqlplus scott/tiger

SQL*Plus: Release 10.2.0.1.0 - Production on Thu Aug 15 20:28:06 2013

Copyright (c) 1982, 2005, Oracle. All rights reserved.

ERROR:
ORA-12546: TNS:permission denied


Enter user-name:


根据网上的提示
一:
cd /var/tmp
chown oracle:dba .oracle

二:
cd $ORACLE_HOME/bin
chmod 6751 oracle

这两步做了之后,依然无效


求解释。。。
...全文
789 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
积木 2013-08-18
  • 打赏
  • 举报
回复
我不清楚AIX的权限是不是那么严格, 但是这样的工作都应该是Oracle专用用户来做的,你们难道都是root?
积木 2013-08-17
  • 打赏
  • 举报
回复
引用 3 楼 java_web_hack1 的回复:
[quote=引用 2 楼 xifenfei 的回复:] root 使用tns的方式访问,不能直接访问
我在虚拟机里面,安装了oracle10g,oracle11g (rhel5.6 x64)都可以用root连接oracle 就是在客户那里AIX环境下,不行。 实在是不解?[/quote] AIX我没用过,但是和RHEL相差不少?你要是说Debian和RHEL一个好使一个不好使还可以对比下。 AIX还有多少对比度?
海阔天空1977 2013-08-17
  • 打赏
  • 举报
回复
信息不够详细呀!
孤好梦中杀人 2013-08-17
  • 打赏
  • 举报
回复
[root@rlzyj:/]# lsnrctl stop LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 17-AUG-2013 16:50:39 Copyright (c) 1991, 2005, Oracle. All rights reserved. Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=rlzycsz)(PORT=1521))) The command completed successfully [root@rlzyj:/]# lsnrctl start LSNRCTL for IBM/AIX RISC System/6000: Version 10.2.0.1.0 - Production on 17-AUG-2013 16:50:44 Copyright (c) 1991, 2005, Oracle. All rights reserved. Starting /app/oracle/product/10.2.0/db_1/bin/tnslsnr: please wait... TNS-12546: TNS:permission denied TNS-12560: TNS:protocol adapter error TNS-00516: Permission denied IBM/AIX RISC System/6000 Error: 13: Permission denied
孤好梦中杀人 2013-08-16
  • 打赏
  • 举报
回复
给位,帮帮忙啊,实在解决不了。
孤好梦中杀人 2013-08-16
  • 打赏
  • 举报
回复
引用 2 楼 xifenfei 的回复:
root 使用tns的方式访问,不能直接访问
我在虚拟机里面,安装了oracle10g,oracle11g (rhel5.6 x64)都可以用root连接oracle 就是在客户那里AIX环境下,不行。 实在是不解?
惜分飞 2013-08-16
  • 打赏
  • 举报
回复
root 使用tns的方式访问,不能直接访问

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧