6 Replies Latest reply: Mar 4, 2009 3:36 AM by charlie bulosan RSS

    Unable to start agent on HP-UX 11.23

    charlie bulosan Hot Shot
      Hi All,

      I'm just starting to use HQ and I like it! 

      I'm trying the HQ Enterprise 4.0. Installed the HQ server on Centos 5 and the agents on HP-UX 11.11 (PARISC) and on Windows 2003 servers.  I have downloaded and extracted the following tar ball of the agent - hyperic-hq-agent-4.0.2-939-hpux-11.tar.gz

      I'm having a problem starting the agent on HP-UX 11.23 (Itanium/IA64) and throwing the following errors -

      root@bsi01[/opt/hyperic-hq-agent-4.0.2/bin]# ./hq-agent.sh start
      Unable to locate any of the following binaries:
        /opt/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper-hpux-ia-32
        /opt/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper-hpux-ia-64
        /opt/hyperic-hq-agent-4.0.2/wrapper/sbin/../../wrapper/sbin/wrapper


      It seems like HQ doesn't suppor HP-UX 11i on IA64 yet.

      Looking into the jre subdir - I could only see PARISC binaries

      root@bsi01[/opt/hyperic-hq-agent-4.0.2/jre/bin]# ll
      total 3216
      -rwxr-xr-x   1 root       sys           4707 Dec 19 00:46 ControlPanel
      -rwxr-xr-x   1 root       sys          24576 Dec 19 00:46 HPUXChildWrapper
      drwxr-xr-x   2 root       sys           8192 Jan 28 08:53 PA_RISC2.0
      drwxr-xr-x   2 root       sys           8192 Jan 28 08:53 PA_RISC2.0W
      -rwxr-xr-x   1 root       sys         130744 Dec 19 00:47 java
      -rwxr-xr-x   1 root       sys           1398 Dec 19 00:46 javaws
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:47 keytool
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:47 orbd
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 pack200
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 policytool
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 rmid
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 rmiregistry
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 servertool
      -rwxr-xr-x   1 root       sys         138936 Dec 19 00:48 tnameserv
      -rwxr-xr-x   1 root       sys         339968 Dec 19 00:47 unpack200


      Has anyone encountered and resolve this problem yet?

      Many thanks again for your help.

      Charlie
        • 1. Re: Unable to start agent on HP-UX 11.23
          Expert
          Hello Charlie,

          Welcome to Hyperic!!

          Fixed for the issue is available in our next release.This is issue is track with the Jira ticket:
          http://jira.hyperic.com/browse/HHQ-2387

          Please use no-wrapper script as a workaround .You can find the script :
          /opt/hyperic-hq-agent-4.0.2/bundles/agent-4.0.0/bin

          Thank you
          -Nipuna
          • 2. Re: Unable to start agent on HP-UX 11.23
            charlie bulosan Hot Shot
            Hi Nipuna,

            I'm also having a problem starting the agent using the no-wrapper script. Refer to the below error.

            root@bsi01[/opt/hyperic-hq-agent-4.0.2/bundles/agent-4.0.2-939/bin]# ./hq-agent-nowrapper.sh start Starting agent
            - Invoking agent
            - Agent thread running
            - Verifying if agent is running...
            Error invoking agent: Agent reported an error while starting up Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
              Copyright 1999-2006 Tanuki Software, Inc.  All Rights Reserved.

            WARNING - The wrapper.native_library system property was not
                      set. Using the default value, 'wrapper'.

            WARNING - Unable to load the Wrapper's native library because none of the
                      following files:
                        libwrapper-hpux-ia64n-32.so
                        libwrapper.so
                      could be located on the following java.library.path:
                        /opt/hyperic-hq-agent-4.0.2/bundles/agent-4.0.2-939/../../wrapper/lib
                      Please see the documentation for the wrapper.java.library.path
                      configuration property.
                      System signals will not be handled correctly.



            Many Thanks,
            Charlie
            • 3. Re: Unable to start agent on HP-UX 11.23
              Expert
              Hello Charlie,

              I am trying to get the HP-UX 11.23 box to test your issue. In the meantime can you please check if your HQ_JAVA_HOME set correctly?

              Thank you

              Nipuna
              • 4. Re: Unable to start agent on HP-UX 11.23
                charlie bulosan Hot Shot
                Hi Nipuna,

                I have tried both agent versions - 4.0.2 and 4.0.3  - and the issue is still the same.

                I have tried setting the HQ_JAVA_HOME to /opt/hyperic/hyperic-hq-agent-4.0.3/jre

                The agent was started sucessfully but it doesn't go back to the command prompt.

                See below.

                root@bsi04[/opt/hyperic/hyperic-hq-agent-4.0.3/bundles/agent-4.0.3-953/bin]# ./hq-agent-nowrapper.sh start
                Starting agent
                - Invoking agent
                - Agent thread running
                - Verifying if agent is running...
                - Agent is running
                Agent successfully started

                ### After the agent is started,  it doesn't go back to the prompt.  It just hang here.


                Many Thanks,
                Charlie
                • 5. Re: Unable to start agent on HP-UX 11.23
                  Expert
                  Hello Charlie ,

                  It is good to know that you were able to start the agent successfully.I am not sure why it doesn't go back to the command prompt.

                  Can you please Sign In to HQ and see if there is any data in Auto Discovery portlet.

                  Thank you,
                  Nipuna
                  • 6. Re: Unable to start agent on HP-UX 11.23
                    charlie bulosan Hot Shot
                    Hi Nipuna,

                    Even the HQ 4.1.0 still doesn't work on HP-UX 11.23 on IA 64.

                    This applies to all the HQ 4.x versions.

                    The problem I think is there is no proper wrapper for HP-UX IA 64.  Refer to the below messages when I tried starting the agent normally.

                    If you start the agent without the wrapper, it won't go back to the prompt.  If I interrupt by control+C it will kill the agent.








                    root@bsi01[/opt/hyperic-hq-agent-4.1.0/bin]# ./hq-agent.sh start
                    Unable to locate any of the following binaries:
                      /opt/hyperic-hq-agent-4.1.0/wrapper/sbin/../../wrapper/sbin/wrapper-hpux-ia-32
                      /opt/hyperic-hq-agent-4.1.0/wrapper/sbin/../../wrapper/sbin/wrapper-hpux-ia-64
                      /opt/hyperic-hq-agent-4.1.0/wrapper/sbin/../../wrapper/sbin/wrapper


                    root@bsi01[/opt/hyperic-hq-agent-4.1.0/bundles/agent-4.1.0-1009/bin]# export HQ_JAVA_HOME=/opt/java1.5
                    root@bsi01[/opt/hyperic-hq-agent-4.1.0/bundles/agent-4.1.0-1009/bin]# ./hq-agent-nowrapper.sh start
                    Starting agent
                    - Unable to load agent token file.  Generating a new one ... Done
                    - Invoking agent
                    - Agent thread running
                    - Verifying if agent is running...
                    - Agent is running
                    Agent successfully started

                    [ Running agent setup ]
                    What is the HQ server IP address: 10.1.9.37
                    Should Agent communications to HQ always be secure [default=no]: yes
                    What is the HQ server SSL port [default=7443]:
                    - Testing secure connection ... Success
                    What is your HQ login [default=hqadmin]:
                    What is your HQ password:
                    What IP should HQ use to contact the agent [default=10.1.1.39]:
                    What port should HQ use to contact the agent [default=2144]:
                    - Received temporary auth token from agent
                    - Registering agent with HQ
                    - HQ gave us the following agent token
                        1236165925996-6099302258395592215-471516244592595360
                    - Informing agent of new HQ server
                    - Validating
                    - Successfully setup agent


                    Thanks,
                    Charlie