[root@1098502-tlnag01 ~]# netstat -nlp | grep 162
udp 0 0 0.0.0.0:162 0.0.0.0:* 2727/nimbus(snmptd)
[root@1098502-tlnag01 ~]# netstat -nlp | grep 161
udp 0 0 127.0.0.1:161 0.0.0.0:* 20230/snmpd
unix 2 [ ACC ] STREAM LISTENING 16146 1/systemd /run/lvm/lvmetad.socket
unix 2 [ ACC ] STREAM LISTENING 16149 1/systemd /run/lvm/lvmpolld.socket
[root@1098502-tlnag01 /]# vi /usr/lib/systemd/system/snmptrapd.service
[Unit]
Description=Simple Network Management Protocol (SNMP) Trap Daemon.
After=syslog.target network-online.target
[Service]
Type=notify
Environment=OPTIONS="-Ln"
EnvironmentFile=-/etc/sysconfig/snmptrapd
ExecStart=/usr/sbin/snmptrapd $OPTIONS -f
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target
Installation Error-Requires: perl-Net-SNMP, php-imap etc...
Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc
I am not familiar with "nimbus", but it seems like it is listening on port 162. You cannot have two things listening on the same port... You will have to remove nimbus from your system, and try restarting snmptrap again.[root@1098502-tlnag01 ~]# netstat -nlp | grep 162
udp 0 0 0.0.0.0:162 0.0.0.0:* 2727/nimbus(snmptd)
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc
I need to remove nimbus snmp service out to avoid the conflict on upd 162
/opt/Nimsoft/bin/niminit stop
/opt/Nimsoft/bin/inst_init.sh remove
/opt/Nimsoft/bin/niminit stop
/opt/Nimsoft/bin/inst_init.sh remove
Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc
Let us know if you are able to start snmptrapd service after removing nimbus. Thank you!
Be sure to check out our Knowledgebase for helpful articles and solutions!