<?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[Restart Agent 3.9.334 on CentOS 7]]></title><description><![CDATA[<p dir="auto">During the last days, I upgraded our 2.2.12 NetXMS to 3.9.334 (mostly painless).<br />
I also upgraded the agents on most of our servers (with the exception of some CentOS6 machines).</p>
<p dir="auto">However, I was used to restart the agent from the console (Node=&gt;Tools=&gt;Restart agent).<br />
With the 3.9 agent, this works only on the Windows servers.</p>
<p dir="auto">On CentOS7, this stops the agent (and requires manual restart on the target machine).</p>
<p dir="auto">Do I miss some configuration option ?</p>
<p dir="auto">Regards,</p>
<p dir="auto">Thomas</p>
]]></description><link>https://forum.netxms.org/topic/7245/restart-agent-3.9.334-on-centos-7</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 16:07:17 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7245.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 15 Nov 2021 10:53:15 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Restart Agent 3.9.334 on CentOS 7 on Wed, 17 Nov 2021 07:30:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">looks like bug in new agent. I will try to reproduce it on my CentOS 7 test system.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/30776</link><guid isPermaLink="true">https://forum.netxms.org/post/30776</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 17 Nov 2021 07:30:35 GMT</pubDate></item><item><title><![CDATA[Reply to Restart Agent 3.9.334 on CentOS 7 on Tue, 16 Nov 2021 09:18:55 GMT]]></title><description><![CDATA[<p dir="auto">ps fax returns</p>
<pre><code>/3086 ?        Ssl   27:08 /opt/netxms/bin/nxagentd -d -c /etc/nxagentd.conf
</code></pre>
<p dir="auto">On system startup, I use a script in /etc/rc.d/init.d/nxagentd (attached).<br />
However, the restart usually worked with a few 2.2 versions and the same startup configuration.</p>
<p dir="auto">With Agent 2.2.10, I get in the log</p>
<pre><code>2021.11.16 10:08:19.108 *D* RestartAgent() called
2021.11.16 10:08:19.108 *D* Restarting agent with command line '"/opt/netxms/bin/nxagentd" -c "/etc/nxagentd.conf" -d -D 1 -G CORE -X 29246'
2021.11.16 10:08:19.112 *D* Trap sender thread terminated
2021.11.16 10:08:20.113 *D* Session Watchdog thread terminated
2021.11.16 10:08:20.113 *D* Listener thread terminated
2021.11.16 10:08:20.114 *D* [threads.pool       ] Thread pool COMM destroyed
2021.11.16 10:08:20.592 *I* NetXMS Agent stopped

2021.11.16 10:08:21.116 Log file opened (rotation policy 2, max size 4194304)
2021.11.16 10:08:21.116 *D* Log rotation policy set to 2 (size=16777216, count=4)
2021.11.16 10:08:21.116 *I* Core agent version 2.2.10
2021.11.16 10:08:21.116 *I* Additional configs was loaded from /etc/nxagentd.conf.d
2021.11.16 10:08:21.116 *I* Debug level set to 1
2021.11.16 10:08:21.117 *I* Data directory: /opt/netxms/var/lib/netxms
2021.11.16 10:08:21.117 *I* File store: /opt/var/nxagentd
</code></pre>
<p dir="auto">With Agent 3.9.334 (installed with package manager from the NPI on the NetXMS Download page), on the same machine, I get in the logs</p>
<pre><code>2021.11.16 10:11:33.315 *D* [                   ] RestartAgent() called
2021.11.16 10:11:33.316 *D* [                   ] Restarting agent with command line '"/opt/netxms/bin/nxagentd" -c "/etc/nxagentd.conf" -p "/var/run/nxagentd.pid" -G CORE -d -X 2641'
2021.11.16 10:11:33.375 *D* [dc                 ] Data reconciliation thread stopped
2021.11.16 10:11:33.376 *D* [threads.pool       ] Thread pool DATACOLL destroyed
2021.11.16 10:11:33.376 *D* [dc                 ] Data collection scheduler thread stopped
2021.11.16 10:11:33.376 *D* [dc                 ] Data sender thread stopped
2021.11.16 10:11:33.377 *D* [dc                 ] Database writer thread stopped
2021.11.16 10:11:34.377 *D* [                   ] Session Watchdog thread terminated
2021.11.16 10:11:34.377 *D* [                   ] Listener thread terminated
2021.11.16 10:11:34.377 *D* [notifications      ] Notification processor stopped
2021.11.16 10:11:34.378 *D* [threads.pool       ] Thread pool COMM destroyed
2021.11.16 10:11:34.378 *D* [threads.pool       ] Thread pool WEBSVC destroyed
2021.11.16 10:11:34.378 *D* [threads.pool       ] Thread pool PROCEXEC destroyed
2021.11.16 10:11:34.703 *I* [                   ] NetXMS Agent stopped
</code></pre>
<p dir="auto">Regards,<br />
Thomas</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000005595-nxagentd">nxagentd</a></p>
]]></description><link>https://forum.netxms.org/post/30773</link><guid isPermaLink="true">https://forum.netxms.org/post/30773</guid><dc:creator><![CDATA[twenrich]]></dc:creator><pubDate>Tue, 16 Nov 2021 09:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to Restart Agent 3.9.334 on CentOS 7 on Mon, 15 Nov 2021 13:01:30 GMT]]></title><description><![CDATA[<p dir="auto">How the agent is actually started? Is there some startup script?<br />
if you do</p>
<pre><code>ps fax | grep nxagentd
</code></pre>
<p dir="auto">what commang line parameters are visible there?</p>
]]></description><link>https://forum.netxms.org/post/30769</link><guid isPermaLink="true">https://forum.netxms.org/post/30769</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 15 Nov 2021 13:01:30 GMT</pubDate></item></channel></rss>