VMware Cloud Community
ekrausetdm
Contributor
Contributor
Jump to solution

"hq-agent setup" 5.8.2 hangs on Windows Server 2000.

Hey, everyone.  I've just started using Hyperic HQ and am loving it.  I've got it on all of my servers (a mixed farm of Windows Server 2000, 2003, and 2008), with the exception of one stubborn Windows 2000 Server.  The server is using JRE 6.30 and I am using the "no JRE" Hyperic Agent installer.

The agent installs without problem (using "hq-agent install").  However, when I go to start it ("hq-agent start"), it will give me the "Waiting to start..." message for ~60 seconds, though eventually it will start.  Then, rather than starting the setup portion, where I can specify server settings, I get the following error: "Error contacting agent: Error sending argument: Unable to connect to 127.0.0.1:2144: Connection refused: connect, retried 5 times, cmd=agent:ping"  If I look at the agent.log file, it eventually repeats the following errors:

09-10-2014 10:05:37,787 EDT WARN  [AgentDaemonMain] [SSLConnectionListener@241] Failed to listen at *:2144: Address already in use: JVM_Bind.  Will retry until up.

09-10-2014 10:05:42,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:05:47,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:05:52,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:05:57,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:02,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:07,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:07,787 EDT WARN  [AgentDaemonMain] [SSLConnectionListener@241] Failed to listen at *:2144: Address already in use: JVM_Bind.  Will retry until up.

09-10-2014 10:06:12,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:17,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:22,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:27,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:32,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:37,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:37,787 EDT WARN  [AgentDaemonMain] [SSLConnectionListener@241] Failed to listen at *:2144: Address already in use: JVM_Bind.  Will retry until up.

09-10-2014 10:06:42,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:47,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:52,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:06:57,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:02,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:07,537 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:07,787 EDT WARN  [AgentDaemonMain] [SSLConnectionListener@241] Failed to listen at *:2144: Address already in use: JVM_Bind.  Will retry until up.

09-10-2014 10:07:09,787 EDT ERROR [autoinventory-scanner] [AutoinventoryCommandsServer@280] Unable to send autoinventory platform data to server, sleeping for 384 secs before retrying.  Error: Unable to communicate with server -- provider not yet setup

09-10-2014 10:07:12,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:17,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:22,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:27,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:32,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:37,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:37,787 EDT WARN  [AgentDaemonMain] [SSLConnectionListener@241] Failed to listen at *:2144: Address already in use: JVM_Bind.  Will retry until up.

09-10-2014 10:07:42,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:47,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:52,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:07:57,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:08:02,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

09-10-2014 10:08:07,552 EDT WARN  [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry:  java.lang.NullPointerException

Does anyone have any ideas what is going on?  I have tried Java 6u29 to see if that helps with the same results and I have tried removing/reinstalling the agent.  I would appreciate any ideas that you have.  Also, yes, I know that running Server 2000 is a terrible idea, but we should have these servers out of here by the end of the year.  In the meantime, I would like to monitor them.  Thanks for your help in advance.

0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

One thing to note, Windows 2000 is no longer on the list of supported platforms in the documentation.

http://pubs.vmware.com/hyperic-58/index.jsp?topic=%2Fcom.vmware.hyperic.supported.configs.doc%2FGUID...

If you want to try to make this work, keep in mind it is not supported.

It sounds like another instance of the agent or wrapper running and tying up port 2144.

Run hq-agent.bat stop

Check for any running agent or wrapper processes using the Task Manager.  It might be listed as Java.

Delete the agent's data directory and try to run start again.

Make sure the installation directory does not have any spaces in the path.

View solution in original post

0 Kudos
2 Replies
admin
Immortal
Immortal
Jump to solution

One thing to note, Windows 2000 is no longer on the list of supported platforms in the documentation.

http://pubs.vmware.com/hyperic-58/index.jsp?topic=%2Fcom.vmware.hyperic.supported.configs.doc%2FGUID...

If you want to try to make this work, keep in mind it is not supported.

It sounds like another instance of the agent or wrapper running and tying up port 2144.

Run hq-agent.bat stop

Check for any running agent or wrapper processes using the Task Manager.  It might be listed as Java.

Delete the agent's data directory and try to run start again.

Make sure the installation directory does not have any spaces in the path.

0 Kudos
ekrausetdm
Contributor
Contributor
Jump to solution

By changing the port to 2143 in the agent.properties file, I was able to get it to work.  I don't know what is/was tying up port 2144.  I ran a whole bunch of monitoring tools to check the port and nothing came back as using it.  Either way, the workaround is acceptable to me.

0 Kudos