<?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[cannot install netxms agent generic]]></title><description><![CDATA[<p dir="auto"></p><div class="card col-md-9 col-lg-6 position-relative link-preview p-0">



<a href="https://www.netxms.org/download/" title="Download NetXMS 7.0.3">
<img src="https://netxms.org/og-image.png" class="card-img-top not-responsive" style="max-height:15rem" alt="Link Preview Image" />
</a>



<div class="card-body">
<h5 class="card-title">
<a class="text-decoration-none" href="https://www.netxms.org/download/">
Download NetXMS 7.0.3
</a>
</h5>
<p class="card-text line-clamp-3">Server, agent, desktop and web client, tools and source code for every supported platform, with checksums and GPG signatures.</p>
</div>
<a href="https://www.netxms.org/download/" class="card-footer text-body-secondary small d-flex gap-2 align-items-center lh-2">



<img src="https://www.netxms.org/favicon.svg" alt="favicon" class="not-responsive overflow-hiddden" style="max-width:21px;max-height:21px" />



<p class="d-inline-block text-truncate mb-0">NetXMS <span class="text-secondary">(www.netxms.org)</span></p>
</a>
</div><p></p>
<p dir="auto">I see the AGENT PACKAGES Generic Unix.</p>
<p dir="auto">They are in the .APKG format. I have no idea what format this is.<br />
If I download the file, the first 100 lines are text, then the rest of the file is either encoded or gibberish.</p>
<p dir="auto">Every distro I have used, Centos/RHEL/Fedora/Ubuntu/ has no idea how to use .APGK</p>
<p dir="auto">How do I install these NETXMS Generic agents on Centos/Fedora/RHEL/Ubuntu?</p>
<p dir="auto">TIA</p>
<p dir="auto">Teddy</p>
]]></description><link>https://forum.netxms.org/topic/1206/cannot-install-netxms-agent-generic</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 11:48:01 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1206.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 31 Mar 2011 20:57:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to cannot install netxms agent generic on Thu, 26 Jan 2012 08:35:05 GMT]]></title><description><![CDATA[<p dir="auto">Any news about this?<br />
Could we be close to getting a rpm package?</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/6822</link><guid isPermaLink="true">https://forum.netxms.org/post/6822</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Thu, 26 Jan 2012 08:35:05 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Mon, 10 Oct 2011 08:39:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi again.</p>
<p dir="auto">I've also tried an i386 machine and this is the result:</p>
<blockquote>
<p dir="auto">...<br />
libtool: install: warning: remember to run `libtool --finish /usr/lib/netxms'<br />
make  install-exec-hook<br />
make[6]: se ingresa al directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'<br />
if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE= ar x /usr/lib/netxms/portcheck.a /usr/lib/netxms/portcheck.so ; rm -f /usr/lib/netxms/portcheck.a ; fi<br />
mv /usr/lib/netxms/portcheck.so /usr/lib/netxms/portcheck.nsm<br />
mv: can not be made `stat' in Â«/usr/lib/netxms/portcheck.soÂ»: No such file or directory<br />
make[6]: *** [install-exec-hook] Error 1<br />
make[6]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'<br />
make[5]: *** [install-exec-am] Error 2<br />
make[5]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'<br />
make[4]: *** [install-am] Error 2<br />
make[4]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'<br />
make[3]: *** [install-recursive] Error 1<br />
make[3]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents'<br />
make[2]: *** [install-recursive] Error 1<br />
make[2]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent'<br />
make[1]: *** [install-recursive] Error 1<br />
make[1]: se sale del directorio `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src'<br />
make: *** [install-recursive] Error 1</p>
</blockquote>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/6123</link><guid isPermaLink="true">https://forum.netxms.org/post/6123</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Mon, 10 Oct 2011 08:39:36 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Mon, 10 Oct 2011 10:21:26 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto">I agree that rpm packages are necessary, but unfortunately I'm not familiar with rpm creation, so it probably will take lot of time for me. And if somebody will make them, that will be great.</p>
<p dir="auto">Best regards,<br />
Victor</p>
</blockquote>
<p dir="auto">OK Victor, I give the hint ... <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="😉" /></p>
<p dir="auto">I am trying to build a .rpm netxms agent package on a x86_64 machine unsuccessfully. To build a netxms agent package in a Centos/RHEL box we must take following steps:</p>
<p dir="auto">1.- First all, we must install a minimal packages if not installed yet. The rpm-build package contains the scripts and executable programs that are used to build packages using the RPM Package Manager:<br />
    # /usr/bin/yum -y install gcc* automake* autoconf* gnupg rpm-build</p>
<p dir="auto">2.-  Create a new "dummy user" specifically for building rpm packages. That way, if something goes terribly wrong, the program or build process can't trash our files. At the very least, no one should build packages as root. Create a new unprivileged user is essential since building RPMs as root might damage our system. To create a new unprivileged user named "makerpm":<br />
    # /usr/sbin/useradd makerpm</p>
<p dir="auto">3.- Once we have logged in as the user who is creating packages, we must create the RPM building environment:<br />
    # su makerpm<br />
    # mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}</p>
<p dir="auto">4.- To build rpms, we need to have a .rpmmacros file in our home directory which configures our build tree location. We must create a “~/.rpmmacros” file:</p>
<blockquote>
<p dir="auto">cat &lt;&lt;'EOF' &gt; ~/.rpmmacros<br />
%_topdir %(echo $HOME)/rpmbuild<br />
%debug_package %{nil}<br />
%packager Ignacio MartÃ­n<br />
%distribution NetXMS<br />
%vendor <a href="http://www.netxms.org" rel="nofollow ugc">www.netxms.org</a><br />
%_tmppath %{_topdir}/tmp<br />
%_builddir %{_tmppath}<br />
%_rpmtopdir %{_topdir}<br />
%_sourcedir %{_rpmtopdir}/SOURCES<br />
%_specdir %{_rpmtopdir}<br />
%_rpmdir %{_topdir}/RPMS<br />
%_srcrpmdir %{_topdir}/SRPMS<br />
%_rpmfilename %%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm<br />
EOF</p>
</blockquote>
<p dir="auto">5.- Now, we must download netxms sources in the "~/rpmbuild/SOURCES" directory.<br />
    # cd  ~/rpmbuild/SOURCES/<br />
    # wget <a href="https://www.netxms.org/download/netxms-1.1.5.tar.gz" rel="nofollow ugc">https://www.netxms.org/download/netxms-1.1.5.tar.gz</a></p>
<p dir="auto">6.- Create a ".spec" file in the "~/rpmbuild/SPECS" directory and call it "netxms-1.1.5.spec". At the heart of the rpm building process is the .spec file. It governs how a package is configured, what patches are applied, what files will be installed and where they’ll be installed, and what system-level activity needs to take place before and after a package is installed. After a hard work I have created a complete .spec file which I attach it.</p>
<p dir="auto">7.- Once we have create a spec file, say "netxms-1.1.5.spec", we must create source and binary RPMs by simply running these commands:<br />
    # cd ~/rpmbuild/SPECS/<br />
    # rpmbuild -ba netxms-1.1.5.spec</p>
<p dir="auto">So far so good, but I get a permission error during make process because makerpm have not permission for move system x64 files:</p>
<blockquote>
<p dir="auto">libtool: install: warning: remember to run `libtool --finish /usr/lib64/netxms'<br />
make  install-exec-hook<br />
make[6]: Entering directory `/home/makerpm/rpmbuild/tmp/netxms-1.1.5/src/agent/subagents/portCheck'<br />
if test "x`uname -s`" = "xAIX" ; then OBJECT_MODE= ar x /usr/lib64/netxms/portcheck.a /usr/lib64/netxms/portcheck.so ; rm -f /usr/lib64/netxms/portcheck.a ; fi<br />
mv /usr/lib64/netxms/portcheck.so /usr/lib64/netxms/portcheck.nsm<br />
mv: cannot move `/usr/lib64/netxms/portcheck.so' to `/usr/lib64/netxms/portcheck.nsm': Permission denied<br />
make[6]: *** [install-exec-hook] Error 1</p>
</blockquote>
<p dir="auto">Always I've compiled my netxms agents as root so I never got this error, but when trying to compile it with a unprivileged user also I get permission denied in the same way.</p>
<p dir="auto">Best regards.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000000614-netxms-1.1.5.spec">netxms-1.1.5.spec</a></p>
]]></description><link>https://forum.netxms.org/post/6115</link><guid isPermaLink="true">https://forum.netxms.org/post/6115</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Mon, 10 Oct 2011 10:21:26 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Thu, 29 Sep 2011 10:31:54 GMT]]></title><description><![CDATA[<p dir="auto">Would be brilliant if you could build it as a .tar.gz to try on SUSE. We have a couple of redhat boxes too might be tempted to try the agent on them too.</p>
<p dir="auto">Cheers</p>
<p dir="auto">JDowney</p>
]]></description><link>https://forum.netxms.org/post/6018</link><guid isPermaLink="true">https://forum.netxms.org/post/6018</guid><dc:creator><![CDATA[jdowney]]></dc:creator><pubDate>Thu, 29 Sep 2011 10:31:54 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 20 Sep 2011 13:43:11 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I can package RedHat/CentOS (I have development CentOS machine and can build agent on it right now) agent binaries as simple .tar.gz expandable into /opt/netxms (or any other location). Most likely they will run on SUSE as well.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5989</link><guid isPermaLink="true">https://forum.netxms.org/post/5989</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 20 Sep 2011 13:43:11 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 20 Sep 2011 13:11:30 GMT]]></title><description><![CDATA[<p dir="auto">Really would love to have the rpm too as we have a few SUSE servers that we want to get the agent installed on on asap. We don't have and don't plan to install development tools (compiler, linker, etc.).</p>
<p dir="auto">Do you think we could get get Debian packages installed on SUSE? Or is there another way round this?</p>
<p dir="auto">Cheers</p>
<p dir="auto">JDowney</p>
]]></description><link>https://forum.netxms.org/post/5988</link><guid isPermaLink="true">https://forum.netxms.org/post/5988</guid><dc:creator><![CDATA[jdowney]]></dc:creator><pubDate>Tue, 20 Sep 2011 13:11:30 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Thu, 07 Jul 2011 14:54:46 GMT]]></title><description><![CDATA[<p dir="auto">I agree that rpm packages are necessary, but unfortunately I'm not familiar with rpm creation, so it probably will take lot of time for me. And if somebody will make them, that will be great.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5667</link><guid isPermaLink="true">https://forum.netxms.org/post/5667</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 07 Jul 2011 14:54:46 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Thu, 07 Jul 2011 13:18:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor.</p>
<blockquote>
<p dir="auto">You should get netxms-1.0.11.tar.gz (common source package), unpack it, and run</p>
<p dir="auto">./configure --with-agent<br />
make<br />
make install</p>
<p dir="auto">Best regards,<br />
Victor</p>
</blockquote>
<p dir="auto">Compiling single agent on CentOS / RHEL systems requires install development tools (compiler, linker, etc.).<br />
Due to corporate requirements sometimes this is not possible.<br />
I think it's necessary to have a netxms-agent_1.1.3_i386.rpm packet for rapidly deploy agents without configure, compile and install steps.</p>
<p dir="auto">Sometimes I dream with an .rpm package NetXMS agent. ;D</p>
<p dir="auto">Best regards.</p>
]]></description><link>https://forum.netxms.org/post/5665</link><guid isPermaLink="true">https://forum.netxms.org/post/5665</guid><dc:creator><![CDATA[testos]]></dc:creator><pubDate>Thu, 07 Jul 2011 13:18:46 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Wed, 06 Apr 2011 01:57:37 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Victor,</p>
<p dir="auto">You have build an amazing network monitor.<br />
Thanks for having the patience in dealing with us newbies.</p>
<p dir="auto">I do have Cacti up and running,<br />
but if I can get NetXMS running with agents, I believe it will be a far better network monitor than Cacti.<br />
I think an agent is a better solution than using only SNMP.</p>
<p dir="auto">I dont know if you have ever tangled with Cacti, but it has issues with polling+RRA/RRD graphs.</p>
<p dir="auto">Teddy</p>
]]></description><link>https://forum.netxms.org/post/5349</link><guid isPermaLink="true">https://forum.netxms.org/post/5349</guid><dc:creator><![CDATA[teddymills]]></dc:creator><pubDate>Wed, 06 Apr 2011 01:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 05 Apr 2011 19:18:19 GMT]]></title><description><![CDATA[<p dir="auto">Default configuration file name is /etc/nxagentd.conf. There are configuration file example with comments in source package: contrib/nxagentd.conf-dist. You can copy it to /etc/nxagentd.conf and modify as needed, or use as reference. There are also startup scripts for various platforms under contrib/startup.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5348</link><guid isPermaLink="true">https://forum.netxms.org/post/5348</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 05 Apr 2011 19:18:19 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 05 Apr 2011 19:12:54 GMT]]></title><description><![CDATA[<p dir="auto">Okay making some progress..<br />
Downloaded the entire source.tar.gz for netxms</p>
<p dir="auto">gunzip netxms.tar.gz<br />
tar -xvf netxms.tar</p>
<p dir="auto">./configure --with-agent<br />
make<br />
make install</p>
<p dir="auto">all that went fine without error.</p>
<p dir="auto">How does one stop+start the agent?<br />
Where is the agent configuration file?</p>
<p dir="auto">Teddy</p>
]]></description><link>https://forum.netxms.org/post/5347</link><guid isPermaLink="true">https://forum.netxms.org/post/5347</guid><dc:creator><![CDATA[teddymills]]></dc:creator><pubDate>Tue, 05 Apr 2011 19:12:54 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 05 Apr 2011 19:11:44 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">I see that this is a bit confusing... You should get netxms-1.0.11.tar.gz (common source package), unpack it, and run</p>
<p dir="auto">./configure --with-agent<br />
make<br />
make install</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5346</link><guid isPermaLink="true">https://forum.netxms.org/post/5346</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 05 Apr 2011 19:11:44 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 05 Apr 2011 15:14:44 GMT]]></title><description><![CDATA[<p dir="auto">I also<br />
chmod 700 nxagent.apkg</p>
<p dir="auto">./nxagent.apkg   &lt;--that does not work well either...not sure how to uncompress this archive <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/5345</link><guid isPermaLink="true">https://forum.netxms.org/post/5345</guid><dc:creator><![CDATA[teddymills]]></dc:creator><pubDate>Tue, 05 Apr 2011 15:14:44 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Tue, 05 Apr 2011 15:10:16 GMT]]></title><description><![CDATA[<p dir="auto">Hi Victor,</p>
<p dir="auto">I must be missing something very simple.</p>
<p dir="auto">I am logged in as root<br />
cd /root<br />
wget <a href="https://www.netxms.org/download/agent_packages/nxagent-1.0.11.apkg" rel="nofollow ugc">https://www.netxms.org/download/agent_packages/nxagent-1.0.11.apkg</a></p>
<p dir="auto">I have the file now.<br />
I cannot tar -xvf, or gunzip...nothing works at this point.</p>
<p dir="auto">Am I supposed to rename the file to nxagent.tar.gz?</p>
<p dir="auto">Teddy</p>
<p dir="auto">I</p>
]]></description><link>https://forum.netxms.org/post/5344</link><guid isPermaLink="true">https://forum.netxms.org/post/5344</guid><dc:creator><![CDATA[teddymills]]></dc:creator><pubDate>Tue, 05 Apr 2011 15:10:16 GMT</pubDate></item><item><title><![CDATA[Reply to cannot install netxms agent generic on Thu, 31 Mar 2011 21:52:40 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">APKG file is an installer script with embedded archive, which mostly intended for centralized agent upgrades. Generic UNIX package is a source package, and using it is equivalent to just get source .tar.gz archive, unpack it, and run</p>
<p dir="auto">./configure --with-agent<br />
make<br />
make install</p>
<p dir="auto">For Ubuntu you can use Debian packages (netxms-base_1.0.11_i386.deb and netxms-agent_1.0.11_i386.deb).<br />
For CentOS/RHEL and others you have to compile agent from sources.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/5343</link><guid isPermaLink="true">https://forum.netxms.org/post/5343</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Thu, 31 Mar 2011 21:52:40 GMT</pubDate></item></channel></rss>