第一次碰unix aix可是项目又急还望大侠们不吝赐教。。谢!说下我的问题:
我想用DBCA给安装好的oracle新建个实例,以命令的方式启动dbca,报错:
Exception in thread "main" $双击dbca图标,最后finish的时候,报错:
ORA-12546:TNS:permission denied
如果忽略,出现:
Enterprise manager Configuration failed due to the follow error-
Invalid username/password
....但是我用lsnrctl start时,说linserner是开着的,如下:
TNS-01106:Listener using listener name LISTENER has already been started

解决方案 »

  1.   

    以命令的方式启动dbca,报错: 
    Exception in thread "main" $ 把错误贴全、。
      

  2.   

    看看你当前用户是不是oracle这个用户,以及/tmp/.oracle下的权限对不对1) cd /var/tmp
    2) chown oracle:dba .oraclefrom metelinkSubject:  TNS-00516 Starting TNS Listener
    Doc ID:  Note:134527.1 Type:  PROBLEM
    Last Revision Date:  25-JUL-2005 Status:  PUBLISHEDfact: Oracle Net
    fact: TNS Listener
    symptom: Starting the TNS Listener fails
    symptom: TNS-12546 / ORA-12546: TNS:permission denied
    symptom: TNS-12560 / ORA-12560: TNS:protocol adapter error
    symptom: TNS-00516: permission denied
    symptom: Solaris Error: 13: permission denied
    symptom: IBM/AIX RISC System/6000 Error: 13: Permission denied
    cause: The error Solaris Error: 13: permission denied or HPUX Error: 13:
    Permission denied, means the user starting the TNS listener does not have
    permission to write to the .oracle directory.On Solaris the directory is under /var/tmp
    On Hp and IBM the directory is under /tmp
    fix:
    The Unix permissions for the hidden directory /tmp/.oracle should be:
    Owner = the Oracle user who performed the database install,
    Group = the dba group of the Oracle user,
    and the directory's Unix permissions should be
    drwxrwxrwxChange the permissions on the .oracle directory:
    1) cd /var/tmp or /tmp
           
    2) Change the ownership and group of the ".oracle" directory to
       "oracle/dba":
            chown oracle .oracle
            chgrp dba .oracle       
    or3) Change the permissions on the directory:
            chmod 777 .oracle
    ==================================================================
    Inthirties关注Oracle数据库 维护 优化,安全,备份,恢复,迁移,故障处理如果你需要帮助或想和我一起学习的请联系
    联系方式QQ:370140387
    QQ群:  85837884(注明:数据库)
    电子邮件:[email protected]
    网站: http://www.inthirties.com
      

  3.   

    感谢大家,vc555,报的错只有“Exception in thread "main" $ ”最后是经理手动建的。问题大概是:
    双击dbca图标时,是以root用户操作的,
    以命令的方式启动dbca,经理说是aix有一个服务没有建立。。