<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Unable to restart nxagentd]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">We are monitoring /var/adm/messages of Solaris10 using nxagentd.<br />
After rotating of messages every Sunday 3 AM, we need to restart nxagentd.<br />
When we restart nxagentd by "nxagentd restart", it fails to restart with the following logs.</p>
<p dir="auto">[13-Oct-2009 13:39:15] Log file opened<br />
[13-Oct-2009 13:39:15] Subagent "/usr/local/lib/libnsm_sunos.so" loaded successfully<br />
[13-Oct-2009 13:39:15] Subagent "/usr/local/lib/libnsm_logwatch.so" loaded successfully<br />
[13-Oct-2009 13:39:16] Unable to bind socket: Address already in use</p>
<p dir="auto">It doesn't accept "kill -HUP" as well.</p>
<p dir="auto">So we are doing stop and start in 10 seconds in stead. The logs when stop and start are;</p>
<p dir="auto">[25-Sep-2009 18:10:14] Log file opened<br />
[25-Sep-2009 18:10:14] Subagent "/usr/local/lib/libnsm_sunos.so" loaded successfully<br />
[25-Sep-2009 18:10:14] Subagent "/usr/local/lib/libnsm_logwatch.so" loaded successfully<br />
[25-Sep-2009 18:10:15] Listening on socket 0.0.0.0:4700<br />
[25-Sep-2009 18:10:16] NetXMS Agent started</p>
<p dir="auto">But in this case NetXMS manager detects the agent not responding.</p>
<p dir="auto">We just want to restart the daemon smoothly.<br />
Does anyone have any suggestions?</p>
<p dir="auto">Best regards,<br />
mulder</p>
]]></description><link>https://forum.netxms.org/topic/735/unable-to-restart-nxagentd</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:28:22 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/735.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Oct 2009 11:09:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to restart nxagentd on Tue, 27 Oct 2009 19:59:16 GMT]]></title><description><![CDATA[<p dir="auto">Yes, version of the agent can be different. So far, any server version in 0.2.x branch can work with any agent version, including very old 0.1.x version agents.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3513</link><guid isPermaLink="true">https://forum.netxms.org/post/3513</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 27 Oct 2009 19:59:16 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to restart nxagentd on Mon, 26 Oct 2009 01:42:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Perfect <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--wink" style="height:1.4em;width:auto;vertical-align:middle" title=";)" alt="😉" /><br />
We're waiting for the next release.</p>
<p dir="auto">Does an agent work fine with a server which has different core version from the agent?</p>
<p dir="auto">Best regards,<br />
mulder</p>
]]></description><link>https://forum.netxms.org/post/3499</link><guid isPermaLink="true">https://forum.netxms.org/post/3499</guid><dc:creator><![CDATA[mulder]]></dc:creator><pubDate>Mon, 26 Oct 2009 01:42:29 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to restart nxagentd on Wed, 21 Oct 2009 19:40:46 GMT]]></title><description><![CDATA[<p dir="auto">I have fixed it. Agent now will correctly handle rename of monitored file (which usually happens during log rotation). I plan to release version 0.2.31 in a few days, it will contain this fix.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3480</link><guid isPermaLink="true">https://forum.netxms.org/post/3480</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 21 Oct 2009 19:40:46 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to restart nxagentd on Thu, 15 Oct 2009 15:12:45 GMT]]></title><description><![CDATA[<p dir="auto">Yes, it's looks like a bug. I'll check it in a few days.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3469</link><guid isPermaLink="true">https://forum.netxms.org/post/3469</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 15 Oct 2009 15:12:45 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to restart nxagentd on Thu, 15 Oct 2009 11:47:15 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">Thank you for your suggestion.<br />
Now we've seen that it stopped working after log rotation. Then we found that it's necessary to restart nxagentd after log rotation.<br />
NetXMS version is 0.2.26.</p>
<p dir="auto">Is it likely a bug?</p>
<p dir="auto">Best regards,<br />
mulder</p>
]]></description><link>https://forum.netxms.org/post/3468</link><guid isPermaLink="true">https://forum.netxms.org/post/3468</guid><dc:creator><![CDATA[mulder]]></dc:creator><pubDate>Thu, 15 Oct 2009 11:47:15 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to restart nxagentd on Thu, 15 Oct 2009 07:46:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">Looks like sockets opened by agent closing slower than agent restarts. You can try to add agent startup delay by adding parameter to configuration file:</p>
<pre><code>StartupDelay = &lt;seconds&gt;
</code></pre>
<p dir="auto">and try different delay values. However, it will still be possible that NetXMS server will detect non-responding agent and generate appropriate event.</p>
<p dir="auto">But why you are need to restart agent after log rotation? Is it stop working, or prevents log rotation? It is supposed to detect log rotation and handle it, and if it doesn't, then it's a bug which needs to be fixed.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/3462</link><guid isPermaLink="true">https://forum.netxms.org/post/3462</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 15 Oct 2009 07:46:23 GMT</pubDate></item></channel></rss>