Skip to Main Content
HCL Domino 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

Status Assessment
Workspace Domino
Categories Administration
Created by Guest
Created on Jan 16, 2019

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).

  • Attach files
  • Guest
    Reply
    |
    Jan 22, 2020

    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.

  • Guest
    Reply
    |
    Jul 30, 2019

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

  • Guest
    Reply
    |
    Feb 16, 2019

    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.

  • Guest
    Reply
    |
    Jan 17, 2019

    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

15 MERGED

Domino 10/11 SNMP systemd support

Merged
Domino SNMP consists of servertasks in combination with a Linux deamon. The script to start the Linux component still use init.d! Domino 10 is only supported on RHEL/CentOS 7.4 and higher and SLES 12 and higher. Both switched from init.d to system...
about 4 years ago in Domino / Administration 0 Assessment