Installation Error-Requires: perl-Net-SNMP, php-imap etc...

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
titien104
Posts: 14
Joined: Fri Mar 20, 2020 11:12 am

Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc

Post by titien104 »

[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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc

Post by lmiltchev »

[root@1098502-tlnag01 ~]# netstat -nlp | grep 162
udp 0 0 0.0.0.0:162 0.0.0.0:* 2727/nimbus(snmptd)
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.
Be sure to check out our Knowledgebase for helpful articles and solutions!
titien104
Posts: 14
Joined: Fri Mar 20, 2020 11:12 am

Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc

Post by titien104 »

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
User avatar
lmiltchev
Former Nagios Staff
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Installation Error-Requires: perl-Net-SNMP, php-imap etc

Post by lmiltchev »

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!
Locked