Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - steak

#1
General Support / .deb package installation issues
December 17, 2010, 12:10:59 PM
Hello all,

I would like to try this monitoring system, but so far I am encountering some issues during installation with .deb packages.

I tried installing them on my Ubuntu 8.04 server, in this order:

netxms-base_1.0.8_i386.deb
netxms-agent_1.0.8_i386.deb
netxms-server_1.0.8_i386.deb
netxms-server-mysql_1.0.8_i386.deb

the base package installation went fine, but as soon as I started installing the agent I ran into this issue:

root@pxmonitor:/root/netxms# dpkg -i netxms-agent_1.0.8_i386.deb
Selecting previously deselected package netxms-agent.
(Reading database ... 47061 files and directories currently installed.)
Unpacking netxms-agent (from netxms-agent_1.0.8_i386.deb) ...
Setting up netxms-agent (1.0.8) ...
Cannot open file /etc/nxagentd.conf

though, the package gets installed properly, as I can find the binary file under /usr/bin/nxagentd and the relative /etc/init.d/nxagentd startup script.

Tried to subsequently install the server and the mysql package, both of them get installed properly but the configuration file is still missing.

The last tentative I made was to get the nxagentd.conf-dist from the source tarball and manually copy it to /etc/nxagentd.conf, then tried to reinstall the agent,
but the error message is still there AND the configuration file disappeared.

I suppose there are some issues in the .deb package post installation scripts, I will open them up now and see if I can find the cause.

regards,
stk.