Com.adventnet.snmp.snmp2.agent.AgentRuntimeException

We have 2 WL 5.1 clusters deployed on two HP-UX 9000 machines. Both servers are
running HP OV (Open View) SNMP agent to feedback snmp traps back to another OV
mangemnet server (ovvpm). ov agent is running ok and feedback trap info to ovvpm.
But question is we're getting following message when startup WL SNMP agent:
$ ./startSNMPAgent.sh
Exception in thread "main" com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
Failure in opening SnmpSession, errstat: 0, errvalue: 0
at com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:955)
at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(SnmpAgent.java:1034)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.initBEA_WEBLOGIC_MIB(BEA_WEBLOGIC_MIB.java:38)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:109)
at weblogic.management.snmp.agent.BEA_WEBLOGIC_MIB.<init>(BEA_WEBLOGIC_MIB.java:90)
at weblogic.management.snmp.agent.WebLogicAgent.<init>(WebLogicAgent.java:390)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:241)
at weblogic.SNMPAgent.main(SNMPAgent.java:24)
the setup of startSNMPAgent.sh is
$JAVA weblogic.SNMPAgent -password password -serverURLs t3://web64:8001 -trapDes
tinations ovvpm:162
even we setup with -snmpPort it still doesn't work anyway. Your input will be
greatly appreciated.

Please post on 6.0 beta management newsgroup
          - Prasad
          Hoang Kieu Chau wrote:
          > Hi,
          >
          > I can not start SNMPAgent.sh. The error is :
          >
          > Exception in thread "main"
          > com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
          > Failure in opening SnmpSession, errstat: 0, errvalue: 0
          >
          > at java.lang.Throwable.fillInStackTrace(Native Method)
          > at java.lang.Throwable.fillInStackTrace(Compiled Code)
          > at java.lang.Throwable.<init>(Compiled Code)
          > at java.lang.Exception.<init>(Compiled Code)
          > at java.lang.RuntimeException.<init>(RuntimeException.java:47)
          > at
          > com.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRunt
          > imeException.java:63)
          > at
          > com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(Snmp
          > Agent.java:801)
          > at
          > com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.j
          > ava:939)
          > at
          > com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(Compiled Co
          > de)
          > at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(Compiled
          > Code)
          > at weblogic.management.snmp.agent.WebLogicAgent.init(Compiled
          > Code)
          > at
          > weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.ja
          > va:377)
          > at weblogic.SNMPAgent.main(SNMPAgent.java:25)
          >
          > Any help would be greatly appreciated
          

Similar Messages

  • I cannot add SNMP legacy agent to SunMC

    Hi there,
    I have problems with adding my SNMP legacy agent to SunMC, I would appreciate any suggestions/solutions.
    I wrote a SNMP agent using SNMP4j. It works well when stand alone. Then I try to add it to SunMC as a legacy agent. I followed the steps listed in the document "Sun Management Center 3.6.1 Installation and configuration Guide":
    1, I modify the file "/var/opt/SUNWsymon/cfg/subagent-registry-d.x"; the main part that I I added is,
    type = legacy
    persist = false
    snmpPort = "4650"
    startCommand = "java -cp /profilium/SNMP4j/lib/log4j-1.2.9.jar:/profilium/SNMP4j/target/classes:/profilium/snmp-exercise snmpexercise.SnmpSend"
    pollInterval = 60
    pollHoldoff = 60
    oidTrees = 1.3.6.1.4.1.23460
    snmpVersi = SNMPv2c
    securityLevel = noauth
    securityName = public
    I think in the modification, the tricky part is the 'startCommand'. I use the java command to start my agent, as it works at the Unix command line.
    2, then I stop and restart Sun MC to make the changes effective.
    The SunMC doesn't complain anything when I restart it. ~But~, after I reopen the SunMC console, I don't see anything added there. Everything looks the same as before.
    Is there anything wrong with what I did? Or, I have to configure more things in the SunMC?
    Thank you for advices.
    Xinxin

    If I want to integrate my application into SunMC, ie
    get/set SNMP parameters and receive traps, do I need
    to hardcode all OID in the module?
    Ideally, I would write a module that would proxy all
    SNMP traffic to the manager server which would then
    make it available to the console. This only
    information I would give the module is the port
    number to connect to and the port number to receive
    traps. Is this possible?It doesn't quite work like that. Even if you have SunMC proxy snmp requests for your other snmp process... it won't be displayed in the Console. Basically all you're gaining is the ability to send all snmp traffic to a single port (SunMC's) and it passes along those requests on your behalf. I'd say that's not too popular a solution.
    A better way to do things is to write a "module" for SunMC, and that module would know the OIDs in your manager that you're interested in. That way your data would show up properly in the Console, and you'd get access to all of SunMC's other features for "free" (i.e. setting alarms on thresholds, sending email, running scripts when bad things happen, a history of alarms in the SunMC database, and the ability to graph/report your values over time from the SunMC PRM addon).
    A module is the official way of registering your other snmp process. So it depends on what you want to do... do you want SunMC to just manage the SNMP traffic for you... or do you want all the alarming/trending/graphing GUI features as well?
    If you're not too sure about building a module you can have Halcyon build that part for you (we probably only need the MIB for your SNMP program/device). We're very good at it since we've been building SunMC modules for years :)
    http://www.halcyoninc.com/products/a-z.php
    Regards,
    [email protected]
    http://www.HalcyonInc.com

  • SNMP subagent with SMUX SNMP master agent

    I'm looking for the smux agent configuration for ucp-snmp to be able to use it as the master agent on a Linux/Solaris server. The subagent would be the LDAP instance snmp sub-agent. According to the documentation, if I have a master agent that I can't get rid of and is smux compliant, I can use it instead of the Netscape SNMP Master agent.
    Even by configuring the ucp-snmp master agent as per the Netscape Directory Server documentation, the subagent is not starting. I always get the following error: "Unexpected error" in the console 4.2 window.
    I'm using a Netscape Directory Server 4.16
    Can anybody help me on what should be the smux configuration and then how to start the LDAP instance subagent?

    Hi,
    Iplanet does not support for it's products being installed on linux or snmp for linux.

  • Snmp master agent won't start

    I'm using Web Server 7.0U1 on Solaris 10U4. I'm trying to start the SNMP master subagent. On my Linux test platform, this works fine. But on the Solaris host, 'magt' hangs forever at startup and does nothing. This happens both when using the web console and wadm start-snmp-master-agent command.
    How do I make magt work?

    The SNMP master agent fails to start on Solaris 10U2 (and higher) due to the TCP fusion feature added in Solaris 10U2. (TCP fusion is a protocol-less data path for loopback TCP connections). One of the possible workarounds for this issue is to disable TCP fusion by adding the following line in /etc/system:
    set ip:do_tcp_fusion = 0x0
    The Sun Info Doc 86046 available on sunsolve explains the various TCP fusion related tunables.

  • SNMP peer Agent configuration in Oracle9i

    Dear All,
    For monitoring of database we are configuring a tool. To get data from database SNMP peer agent must be configured and started. In the service list window we have checked SNMP service is there but SNMP peer Agent service is not available. We have tried to configure the SNMP as per oracle documentation but failed. Now tool is getting data of server but not for database. We are using oracle version 9.2.0.1.0 enterprise edition and os windows 2003 server.
    So what to do to configure the SNMP peer agent. Waiting four valueable suggestion.

    Hi,
    Iplanet does not support for it's products being installed on linux or snmp for linux.

  • Dbsnmp unable to connect to SNMP master agent

    DBSNMP for 32-bit Windows: Version 9.2.0.1.0 - Production on 13-JAN-2006 10:58:24
    Copyright (c) 2002 Oracle Corporation. All rights reserved.
    System parameter file is C:\oracle\ora92\network\admin\snmp_ro.ora
    Log messages written to C:\oracle\ora92\network\log\dbsnmp.log
    Trace information written to C:\oracle\ora92\network\trace\dbsnmp_728.trc
    Trace level is currently 0
    NMS-00001: Warning: dbsnmp unable to connect to SNMP master agent
    I get the above message as dbsnmp.log every day in my testdb.. wat is the purpose and meaning
    oracle_home\network\log

    Hmmmmm.
    Using the online error code lookup facility in the Oracle documentation, I see the following:
    NMS-00001: Warning: service unable to connect to SNMP master agent.
    Cause: An SNMP Master Agent is used to communicate with a third party SNMP monitoring console. The specified service could not contact the SNMP master agent. The master agent supported by Oracle for this platform is not installed, or has not been started. Messages specific to this platform follow.
    This is a warning and does not prevent the agent from communicating with the console. If Oracle Enterprise Manager is the only monitoring console accessing this agent, the NMS-00001 error can be considered informational and should be ignored. Configuration of the SNMP Master Agent is not reguired for the Oracle Enterprise Manager Console.
    Action: Consult Oracle documentation for your platform; then, make sure that the correct SNMP master agent is installed and started. The SNMP Master Agent and the Oracle Intelligent Agent must be configured correctly before the Oracle Intelligent Agent can communicate over SNMP to the Master Agent.
    The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    Solution Explanation
    1. The Oracle Intelligent Agent needs to be configured. The 7.3.2.x agent required an SNMP.ORA file. All later versions of the Oracle Intelligent Agent are self-configuring and do not reguire the creation of an snmp.ora file.
    2. The SNMP Master Agent needs to be configured and started.
    There is even more. Especially in the are of 'how to configure and start'. Can wee look that up for you as well?

  • SNMP Monitoring Agent for OAM (COREid) - Share your experiences

    I'm interested in hearing from anyone who has successfully implemented the monitoring agent. I would like to hear how you implemented the agent and how you consume the traps as well as any reactive automation that you may have also implemented to respond to trouble conditions. I'm preparing to use the agent for monitoring our environment (have used other moniroting techniques to date) and I would like to hear from anyone who has been through this process and has helpful guidance for my implementation.
    Thanks!
    --Aaron                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Alan,
    yeah it does come with net-snmp but I was more likely asking if somebody actually tested it or made some experience with integration it into HP OVPI or eHealth.
    I thought I ask before I test ... maybe it doesnt work well or another client is better ...
    Thanks

  • Re: Wls agent as subagent to Sun's Snmp Master Agent

    I have successfully configured the WL SNMP agent as subagent to
    Sun's (Solaris 7 in my case) master SNMP agent.
    Sun's Solstice Enterprise Agent documentation under docs.sun.com
    is a bit confusing but serves as a reference if not a step-by-step guide.
    Here are the general steps that I took:
    1) Modify the shipped startSNMPAgent.sh for your system password
    and community (I wouldn't use "public"!).
    Add some if-then-fi code to check for the $1 command line parameter,
    so Sun's master agent can pass in the dynamically allocated port number
    that the agent will listen to. I also changed the ownership of this
    script so only root can see it, as it contains the WL admin password.
    2) Go to the /etc/snmp/conf directory (default Solaris 7 install).
    Create the files weblogic.rsrc and weblogic.reg using the mibiisa.*
    files as templates.
    3) In the weblogic.reg file, add the lines
    "macros = { bea = enterprise.140 }" before the "agents" line.
    This defines the weblogic agent's starting OID point.
    Then, change the subtree line to "bea".
    4) In the .rsrc file, change the command used to spawn the
    agent to "/weblogic/startSNMPAgent.sh $PORT".
    Be aware that this spawn command is visible through Sun's master
    agent MIB, so don't put anything sensitive in there (like a
    community name or password).
    5) Finally, there is a timing condition that you should be aware of.
    WebLogic's SNMP agent will only bind to an active WL server.
    Sun's master agent will only bind to an active subagent.
    Therefore, you should ensure that
    WebLogic server is started first (and the server comes completely
    up), then Sun's master agent is started. I setup my /etc/rc3.d
    startup files to run weblogic before snmpdx. I had to insert a
    sleep command to make sure that WL was completely up before
    snmpdx was run. This is because my startup script runs java in
    the background, so if you don't sleep then WL won't be up before
    snmpdx spawns the subagent and tries to bind to it.
    Finally, Sun's mib files can be found under /var/snmp/mib.
    Easier to find than NT's mib files!
    Hope that helps -
    Tom
    "Sanjeev Chopra" <[email protected]> wrote:
    >
    Robert Prakash <[email protected]> wrote in message
    news:[email protected]...
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I needWls
    SubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled"
    with
    other agents it needs to co-ordinate with. I haven't tried it, however
    i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the
    wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    Is this possible in the first place and if so how do I do it. I sawyour
    response on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(orUnix).
    Thanks
    Robert

    Hello:
    I created exactly as you specified. I.e weblogic.reg, weblogic.rsrc, weblogic.acl. But the issue I have is My weblogic snmp agent is listening on port 8061. Snmp demon on 161. So when I request the Snmp demon with OID of weblogic object. I am not getting the result also call is not reaching weblogic agent. Instead I am getting no such name or OID. So I am wondering why snmp demon is not forwarding the request to snmp demon.
    Also Could you please explain the execution sequence of snmp demon and where you think I need to look at. Also please explain the constructs used in reg/acl/rsrc files.
    Note:
    I am using wls 6.1 sp2. So just my starting admin server. The enabled snmp gets started. Also I configured snmp demon so that when ever it gets started the weblogic server also starts. Also there is no issue in receiving traps.
    Thanks in Advance.
    Vijay

  • Using SNMP without Agent

    Hi,
    Is there any monitoring SUN software using SNMP without installing agents on the servers ??
    Regards
    Ehab

    Hi Ehab
    MISEHAB wrote:
    Hi,
    Is there any monitoring SUN software using SNMP without installing agents on the servers ?? Solaris does ship with a SNMP Agent out-of-the-box... but it only monitors a limited number of things by default. Or, if you have M-series hardware their XSCF's come with SunMC preinstalled as well: you don't have to install it yourself (and SunMC uses SNMP).
    If you mean monitor Sun software like web or directory servers... some of the older versions of those packages did include SNMP support... but modern versions are moving to other protocols like JMX.
    In general, the best monitoring comes from installing some sort of local Agent, either SunMC, Ops Center, or one of the many tools from Oracle partners (like Halcyon, who I work for)
    Regards,
    [email protected]

  • Dialog between the SNMP Master Agent and a SNMP SubAgent

    I have developped a SNMP SubAgent. The Master Agent uses the static method to register the SubAgent. In the Registration File of the SubAgent, I have specified the UDP port number (example: port = 1234). When the SubAgent is started (by the MasterAgent), it must open the UDP port specified in the Registration File. The dialog works fine between the SubAgent and the Master Agent.
    I would prefer not to specify the UDP port number in the Registration File so that the Master Agent chooses itself a free UDP port number. But the SubAgent needs to know this UDP port number to dialog with the Master Agent. I thought the SubAgent could read it in the Status File of the Master Agent. BUT in fact, when the Master Agent invokes the SubAgent, its Status File isn't yet updated with the right port number value.
    How may the SubAgent know the UDP port number chosen by the Master Agent ?
    NB: I haven't use the SunOS SNMP toolkit to develop the SubAgent.

    Hi ,
    Good question.
    The subagent only communicates via the port 161 with the master agent as per my understanding. It only listens for SNMP request on the port number mentioned in the <<agentname>>.rsrc file or the port assigned by the master agent. Please start the subgent with no options "-d 4" and then you can confirm the behaviour. Enclosed below is a snippet of that output for reference. Also the UserGuide at the following link will be helpful.
    http://www.sun.com/software/entagents/docs.html
    Thanks
    Sujeet
    <pre>
    ./init.snmpdx start
    PDU:
    version: 0
    community: public
    type: SET_REQ_MSG (0xa3)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A3 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    sent 50 bytes to sump.161<< received 50 bytes from sump.161
    PACKET:
    30 30 02 01 00 04 06 70 75 62 6C 69 63 A2 23 02
    01 00 02 01 00 02 01 00 30 18 30 16 06 0A 2B 06
    01 04 01 2A 02 0F 05 00 04 08 73 6E 6D 70 64 65
    6D 6F
    PDU:
    version: 0
    community: public
    type: GET_RSP_MSG (0xa2)
    request id: 0
    error status: noError(0)
    error index: 0
    name: 1.3.6.1.4.1.42.2.15.5.0
    type: OCTET STRING (0x4)
    length: 8
    value: snmpdemo ( 73 6e 6d 70 64 65 6d 6f )
    </pre>

  • Wls agent as subagent to Sun's Snmp Master Agent

    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagent to it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need Wls SubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.
    Is this possible in the first place and if so how do I do it. I saw your response on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

    Robert Prakash <[email protected]> wrote in message
    news:3a002079$[email protected]..
    >
    Hi Sanjeev
    My Wls agent is working fine as Master agent with Sun's Snmpdx as subagentto it.
    There is no problem with that.
    But can I make WLS agent, subagent to Sun's Snmp Agent.For that I need WlsSubAgent resource
    files to be included in the configuration directory of Sun's Snmp Agent.The last time i checked, Sun's master agent is more "loosely coupled" with
    other agents it needs to co-ordinate with. I haven't tried it, however i
    beleive it should work. Because the master agent doesn't rely on built-in
    protocol for interaction with other agents. (much like -otherAgents option
    in the wls agent).
    You just need to specify in SUN's syntax (resource files...) where the wls
    agent is running, what is its community, which MIBs it supports , what
    should be the timeout and such ...
    Good Luck!
    If you run into any problem let me know.
    >
    Is this possible in the first place and if so how do I do it. I saw yourresponse on the same issue for
    Windows NT. I am mailing to find out if its different on Solaris(or Unix).
    Thanks
    Robert

  • Net-Snmp,. Agent X Java Sanity check

    I'm porting an old company app from Sol 9 to Sol 10. Previously, we shipped our own copy of Net-Snmp with a Java based sub-agent using agentx over port 705.
    Solaris 10 ships with it's own copy of net-snmp so I figured we would just use that. From what I can tell however:
    Solaris 10's Net-SNMP requires Unix Domain Sockets for Agentx
    Java doesn't supprt Unix Domain Sockets
    Therefore, no Java subagents for Solaris 10's Net-SNMP.
    Is this true?
    Thanks,
    mike

    Hi,
    I just recollected that if the SNMP agent is not able to bind to the originally configured port (161 in your case), it tries to bind to the next 10 ports in a sequence. Thats how it is complaining about 171.
    Make sure the port you have configured is open. Easiest way to check is to allocate one of the ports near the WebLogic console HTTP ports (not the ones currently used)
    Regards
    Vikas

  • Ports used for Intelligent agent and snmp master agent

    I could not find any documentation regarding which ports are used for communication between master and intelligent
    agent. Moreover which port has to be mentioned if I use snmpget for the master agent. Please let me also know if I use a
    management platform like CA-Unicenter with which port I have to send the traps and where to configure.
    Thanks
    Pragati Awasty

    John Ross Hunt (guest) wrote:
    : Once libtcl7.5.a is built and copied to the
    : $ORACLE_HOME/network/lib directory, can the rest of the
    : installation in /usr/local be deleted?
    Yes, all that Oracle needs is the library to link in.
    - Phil
    null

  • Error starting SNMP agent

     

    Pl. tell me can I download the evaluation version of snmp agent development kit
    of BEA , that kit can be used to develop the agent as per my
    private MIB.
    Pl. give also the URL to download it .
    thanks
    Subodh
    Anil Kommareddi <[email protected]> wrote:
    Solved my own problem.
    I had NT's SNMP agent service started on the server. I stopped it and
    was able to start
    WebLogic's SNMP agent.
    Anil Kommareddi wrote:
    Hi,
    I'm trying to start the SNMP agent on my local development box andam
    getting this exception. I cannot find any docs on this. Please help...
    My WLS is listening on port 9001.
    java weblogic.SNMPAgent -serverURLs t3://localhost:9001
    -trapDestinations localhost:162
    Exception in thread "main"
    com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
    Failure in opening SnmpSession, errstat: 0, errvalue: 0
    at
    com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
    at
    com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
    at
    com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:955)
    at
    com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(SnmpAgent.java:1034)
    at
    weblogic.management.snmp.agent.WebLogicAgent.init(WebLogicAgent.java:458)
    at
    weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
    at weblogic.SNMPAgent.main(SNMPAgent.java:25)
    Thx,
    Anil Kommareddi
    InsWeb Corp.

  • Java Exception when attempt to start the SNMP agent

    Hi,
    I require to start the SNMP agent in Solaris 2.6 running Web Logic 5.1. Upon entering
    the command :
    $ java weblogic.SNMPAgent, it is asking me for the password , and I gave the same.
    The system is
    generating a Java Exception given below:
    Exception in thread "main" com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
    Failure in opening SnmpSession, errstat: 0, errvalue: 0
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    at com.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRuntimeException.java:63)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.java:801)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(CompiledCode)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(Compiled Code)
    at weblogic.management.snmp.agent.WebLogicAgent.init(Compiled Code)
    at weblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
    at weblogic.SNMPAgent.main(SNMPAgent.java:25)
    Given below is the file <startSNMPAgent.sh> and it's central contents:
    $JAVA weblogic.SNMPAgent -password pbgst -serverURLs t3://localhost:7001 -trap
    Destinations localhost:162
    The classpath settings are correct and as per documentation.
    There are SNMP agents also running in the machine which have been started by default
    by Solaris,
    doing a ps -ef | grep snmp shows:
    root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid -s sunhyd01
    root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
    pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
    I tried to start the SNMP agent on a diff. port and specified the same in the
    .sh file and also changed the
    trap Destinations port ---- it still generates the same exception.
    Please do try to resolve this problem for me, as the project is in production
    phase.
    Thanks for all help beforehand.
    Baivab
    P.S. How can I obtain the id for WebSupport center, as we have using WL licensed
    product
    recently purchased in 3 nos.

    Hello,
    way back we had the same problem and the reason was, that the path
    names with the server instances were to long
    (/opt/wlsroot/wlsInstances/axsExpert.SwissAir/S_243_7001 ->
    /opt/wlsroot/wlsInstances/axsExpert.SAir/S_243_7001). But this was
    with WLS 5.1 SP8.
    Regards
    Wolfgang Becker
    Atraxis
    On 9 Jul 2001 23:02:29 -0800, "Baivab Mitra"
    <[email protected]> wrote:
    >
    Hello Michel,
    Thanks for the reply. As you may have noticed, that the SNMP agents which are
    already running, the owner is <root>. These services are required and I do not
    have or I can not obtain the password to start/stop the same. As such, the only
    option which I have is to start the weblogic-specific SNMP service in a different
    port. Question: In the parameters, I specified : <snmpPort 1600 trace Destinations
    1601> I am still getting the same error. What else is required and/or how do I
    proceed to start the same service?
    Thanks for your help beforehand,
    Baivab
    "Michael Girdley" <----> wrote:
    It looks like another SNMP agent has already bound to the port.
    Michael Girdley
    BEA Systems
    Learning WebLogic? http://learnweblogic.com
    "Baivab Mitra" <[email protected]> wrote in message
    news:[email protected]...
    Hi,
    I require to start the SNMP agent in Solaris 2.6 running Web Logic5.1.
    Upon entering
    the command :
    $ java weblogic.SNMPAgent, it is asking me for the password , and Igave
    the same.
    The system is
    generating a Java Exception given below:
    Exception in thread "main"com.adventnet.snmp.snmp2.agent.AgentRuntimeException:
    Failure in opening SnmpSession, errstat: 0, errvalue: 0
    at java.lang.Throwable.fillInStackTrace(Native Method)
    at java.lang.Throwable.fillInStackTrace(Compiled Code)
    at java.lang.Throwable.<init>(Compiled Code)
    at java.lang.Exception.<init>(Compiled Code)
    at java.lang.RuntimeException.<init>(RuntimeException.java:47)
    atcom.adventnet.snmp.snmp2.agent.AgentRuntimeException.<init>(AgentRuntimeExce
    ption.java:63)
    atcom.adventnet.snmp.snmp2.agent.SnmpAgent.addClientAndOpenSession(SnmpAgent.j
    ava:801)
    atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(SnmpAgent.java:939
    atcom.adventnet.snmp.snmp2.agent.SnmpAgent.restartSnmpAgent(CompiledCode)
    at com.adventnet.snmp.snmp2.agent.SnmpAgent.setPort(CompiledCode)
    at weblogic.management.snmp.agent.WebLogicAgent.init(CompiledCode)
    atweblogic.management.snmp.agent.WebLogicAgent.startup(WebLogicAgent.java:377)
    at weblogic.SNMPAgent.main(SNMPAgent.java:25)
    Given below is the file <startSNMPAgent.sh> and it's central contents:
    $JAVA weblogic.SNMPAgent -password pbgst -serverURLst3://localhost:7001 -trap
    Destinations localhost:162
    The classpath settings are correct and as per documentation.
    There are SNMP agents also running in the machine which have been startedby default
    by Solaris,
    doing a ps -ef | grep snmp shows:
    root 556 1 0 Jun 23 ? 0:00 /usr/lib/dmi/snmpXdmid-s
    sunhyd01
    root 516 1 0 Jun 23 ? 0:00 /usr/lib/snmp/snmpdx -y-c
    /etc/snmp/conf
    pbgst 28090 25879 0 17:01:37 pts/32 0:00 grep snmp
    I tried to start the SNMP agent on a diff. port and specified the samein
    the
    sh file and also changed the
    trap Destinations port ---- it still generates the same exception.
    Please do try to resolve this problem for me, as the project is inproduction
    phase.
    Thanks for all help beforehand.
    Baivab
    P.S. How can I obtain the id for WebSupport center, as we have usingWL
    licensed
    product
    recently purchased in 3 nos.

Maybe you are looking for