现象:
$ agentctl start
DBSNMP for Solaris: Version 9.2.0.6.0 - Production on 08-JUN-2007 10:34:17
Copyright (c) 2003 Oracle Corporation. All rights reserved.
Starting Oracle Intelligent Agent...\nAgent startup failed. Check /ora/prod/prod9.2.01/network/log/dbsnmp.nohup for details
Required config file 'snmp_ro.ora' was not generated.
下边为snmp_ro.ora文件内容
------------------------ Fri Jun 8 10:48:00 CST 2007 ------------------------
Failed while initializing SNMP
Error initializing subsystems
bad field specifier "O"
Agent exited at Fri Jun 8 10:48:00 CST 2007 with return value 55
Could not start agent. Initialization failure
解决办法:
1. open the file $ORACLE_HOME/network/agent/config/nmiconf.tcl file
2. Change the line:
nmiconf_trace [format "Agents %ORACLE_HOME% is %s" $agentOracleHome]
Into this:
nmiconf_trace [format "Agents ORACLE_HOME is %s" $agentOracleHome]
3. Save the file
4. Start the Intelligent Agent $ORACLE_HOME/bin/emagent start
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/10756358/viewspace-206250/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/10756358/viewspace-206250/