OS:redhat linux7.3
oracle9iR2
-------------------命令:agentctl start agent
-------------------
DBSNMP for Linux: Version 9.2.0.1.0 - Production on 25-JUN-2003 10:58:12Copyright (c) 2002 Oracle Corporation.  All rights reserved.Starting Oracle Intelligent Agent...\nAgent startup failed. Check /oracle/system/product/9.2.0/network/log/dbsnmp.nohup for details
--------------------命令:cat /oracle/system/product/9.2.0/network/log/dbsnmp.nohup 
--------------------
------------------------ Wed Jun 25 10:58:12 CST 2003 --------------------
Certain conflicts were resolved during discovery
Please consult /oracle/system/product/9.2.0/network/log/nmiconf.log for details
Failed while initializing SNMP
Error initializing subsystems
Agent exited at Wed Jun 25 10:58:12 CST 2003 with return value 55
Could not start agent. Initialization failure命令:cat /oracle/system/product/9.2.0/network/log/nmiconf.log
--------------------
DBSNMP for Linux 2.4.18-3smp: release 9.2.0.0.0 - Production on 25-JUN-03 10:58:12
Discovering services on dbserver1 configured on host addresses {dbserver1 localhost.localdomain localhost 127.0.0.1}
Using oratab file /etc/oratab
Warning : Error while sourcing third party discovery file emddiscover.tcl : can't read "tabfile": no such variable
---------------------
说明:我去emddiscover.tcl里看了,里边部分的脚本如下:
set tabfile $env(ORATAB_LOC)emtab 

解决方案 »

  1.   

    最后一行应该为:
     set tabfile $env(ORATAB_LOC)/emtab 命令: ps -ef | grep snmp
    root      2829     1  0 10:50 pts/0    00:00:00 /usr/sbin/snmpd -c snmpd.conf -p
    oracle    2908  2340  0 11:22 pts/2    00:00:00 grep snmp命令:cat CONFIG.master
    #注释省略
    COMMUNITY       public
                    ALLOW ALL OPERATIONS
                    USE NO ENCRYPTION
    MANAGER         dbserver1
                    SEND ALL TRAPSipaddr ::=      172.16.4.231
    op ::=          ALL | GET | SET | TRAP
    encrypt ::=     NO
      

  2.   

    unix中,
    cd /oracle$home/bin下,
    在服务起来后,用: ./agentctl start
    即可以了,在Linix中非得这么用(agentctl start agent)吗?
      

  3.   

    使用 agentctl start 和 agentctl start agent 是同样的。
      

  4.   

    楼主的做法是对的,只不过在文件CONFIG.master中的最后两行
    op ::=          ALL | GET | SET | TRAP
    encrypt ::=     NO
    是不必要的,应该删掉