Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

S

steak

@steak
Unfollow Follow
About
Posts
4
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • .deb package installation issues
    S steak
    Support

    Hi Victor,

    thank you for your reply. I work with .deb files quite often, so if you might have some questions please feel free to ask 🙂

    One tool you should definitely use is "lintian", which is the debian .deb packages policy checker - maybe you don't need/want to be completely compliant to the Debian policies, but it is a valuable tool to
    check out for omissions or errors.

    You just execute it with the .deb package as a parameter and it will report you errors and warnings.

    stk


  • .deb package installation issues
    S steak
    Support

    Ok, at the end I understood what is that missing file error.... The file is indeed not part of the package, but the error is coming up because the postinst script is actually trying to start the nxagentd as soon as it is installed.
    This of course happens for all the .deb packages like the agent, the server and (in my case) the MySql extension.

    When I manually copied the file from the source tarball, I think I might have removed and reinstalled the agent (the postrm in fact deletes the configuration file from /etc), so this is possibly the reason why it could not find it.

    Now that it is installed, I will try to do the manual copy again and see if it starts properly.

    My 2 cents: wouldn't be better to put a "dist" config file with the .deb package? if not, what about a message telling the user that he has to remember to supply a configuration file?

    Stk.


  • .deb package installation issues
    S steak
    Support

    I ran lintian on the agent package just to see the errors that would possibly come up...
    Discarding all the debian "policy" messages, there are IMHO a couple which are worth noting:

    E: netxms-agent: file-in-etc-not-marked-as-conffile /etc/init.d/nxagentd
    W: netxms-agent: script-in-etc-init.d-not-registered-via-update-rc.d /etc/init.d/nxagentd
    

  • .deb package installation issues
    S steak
    Support

    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.

  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups