#dominoforever | Product Ideas Portal

 

Welcome to the #dominoforever Product Ideas Forum! The place where you can submit product ideas and enhancement request. We encourage you to participate by voting on, commenting on, and creating new ideas. All new ideas will be evaluated by HCL Product Management & Engineering teams, and the next steps will be communicated. While not all submitted ideas will be executed upon, community feedback will play a key role in influencing which ideas are and when they will be implemented.

For more information and upcoming events around #dominoforever, please visit our Destination Domino Page

Domino on Linux: Updated/additional lnsnmp Start/Stop-Script that is compatible with systemd based Linux OS

Currently, there is only a lnsnmp.sh Script (/opt/ibm/domino/notes/latest/linux/lnsnmp.sh) shipped with Domino that does not work with systemd based Linux OS like CentOS 7 / RHEL 7). 

The Documentation ( https://www.ibm.com/support/knowledgecenter/de/SSKTMJ_10.0.1/admin/admn_configuringthedominosnmpagentforlinux_t.html () works only for SysVinit-based older CentOS / RHEL Releases).

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • Jan 16 2019
  • Likely to implement
  • Attach files
  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    22 Jan 06:46am

    It's simple to make systemd service, but the lnsnmp.sh script does not work with systemd based Linux OS.

    systemd[1]: Starting LNSNMP(SNMP) Daemon....
    lnsnmp.sh[36098]: Don't know how to start/stop lnsnmp on this version of Linux.
    systemd[1]: lnsnmp.service: Control process exited, code=exited status=1
    systemd[1]: Failed to start LNSNMP(SNMP) Daemon..
    systemd[1]: lnsnmp.service: Unit entered failed state.
    systemd[1]: lnsnmp.service: Failed with result 'exit-code'.

    Also the lnsnmp.sh contains old default path which hasn’t been used in many years.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    30 Jul, 2019 12:49pm

    maybe Daniel Nashed start script is worth including in standard Domino install packege?

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    16 Feb, 2019 06:10pm

    Daniel Nashed created such a tool for UNIX/Linux.  See:

    http://www.nashcom.de/nshweb/pages/startscript.htm

    Very simple to set up and use. It just works!!  I have it on all my Linux Domino servers.

  • Avatar40.8f183f721a2c86cd98fddbbe6dc46ec9
    Guest commented
    17 Jan, 2019 02:54pm

    As discussed on https://atnotes.de/index.php/topic,61967.0.html Ulrich Krause posted an service-Definition for lnsnmp that could be used directly (or as a base) for Shipping with Domino:

     

    [Unit]
    Description=LNSNMP
    After=network.target

    [Service]
    Type=simple
    User=root
    LimitNOFILE=infinity
    LimitNPROC=infinity
    LimitCORE=infinity
    Environment=PATH=/usr/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
    PIDFile=/var/run/lnsnmp.pid

    ExecStart=/opt/ibm/domino/notes/latest/linux/lnsnmp

    [Install]
    WantedBy=multi-user.target