vCenter

 View Only
  • 1.  Hyperic agent not starting.

    Posted Jun 19, 2007 05:59 AM
    Hi,

    I have installed Hyperic server and agent on Solaris. Was able to start the server successfully. But am not able to start the agent. The agent stops after the following,

    >hq-agent.sh start
    Starting agent
    - Unable to load agent token file. Generating a new one ... Done


    The log on agent side shows

    2007-06-19 10:57:20,142 INFO [AgentConnection] 127.0.0.1 -> agent:ping


    Can anyone help me in knowing what is wrong??

    Thanks in advance
    Thamina


  • 2.  RE: Hyperic agent not starting.

    Posted Jun 19, 2007 06:15 AM
    Little more to the above question,

    Following was displayed when I was started the server,

    />hq-server.sh start
    Starting HQ server...
    Initializing HQ server configuration...
    Checking jboss jndi port...
    --------------------------------------------------------------------------------
    An ERROR occurred, the installation cannot continue.
    FATAL EXCEPTION at /home/thamina/hserver/server-3.0.5/data/server.xml:81: : java.lang.NumberFormatException: For input string: "${hq-engine.jnp.port}"
    --------------------------------------------------------------------------------
    Starting HQ built-in database...
    HQ built-in database started.
    Booting the HQ server...
    HQ server booted.
    Login to HQ at: http://127.0.0.1:7080/

    Is it because of the above error during server start up that I am not able to start the agent??..If yes, what is going wrong while starting the server.

    I was able to login to http://127.0.0.1:7080/.


  • 3.  RE: Hyperic agent not starting.

    Posted Jun 19, 2007 08:09 AM
    Hi Thamina,

    did you edit your server-3.0.5/conf/hq-server.conf ? In hq-server.conf hq-engine.jnp.port is defined and maybe you made a syntax error while editing.


  • 4.  RE: Hyperic agent not starting.

    Posted Jun 20, 2007 11:20 AM
    I had not edited the file.

    The problem was related to shared memory. Edited the /etc/system file to set the shared memory parameters, rebooted the system and then was able to run the agent and server.

    Thanks for the follow-up, excowboy.