What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Error Starting snmpd

Votes:

0

Hi Team,

I followed the instructions for

I am using Centos7 for my servers which led me to:

1/3 servers worked, but I don't know what I'm doing wrong.

This is the error I get when I am trying to start the snmpd service:

[root@nz1 snmp]# systemctl status snmpd.service
● snmpd.service - Simple Network Management Protocol (SNMP) Daemon.
   Loaded: loaded (/usr/lib/systemd/system/snmpd.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2018-08-03 09:33:57 AEST; 7min ago
 Main PID: 22741 (code=exited, status=1/FAILURE)

Aug 03 09:33:57 nz1.x systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon....
Aug 03 09:33:57 nz1.x snmpd[22741]: Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB
Aug 03 09:33:57 nz1.x snmpd[22741]: Error opening specified endpoint ""
Aug 03 09:33:57 nz1.x snmpd[22741]: Server Exiting with code 1
Aug 03 09:33:57 nz1.x systemd[1]: snmpd.service: main process exited, code=exited, status=1/FAILURE
Aug 03 09:33:57 nz1.x systemd[1]: Failed to start Simple Network Management Protocol (SNMP) Daemon..
Aug 03 09:33:57 nz1.x systemd[1]: Unit snmpd.service entered failed state.
Aug 03 09:33:57 nz1.x systemd[1]: snmpd.service failed.

[root@nz1 snmp]# systemctl start snmpd.service
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.

Aug 03 10:24:54 nz1.x systemd[1]: Starting Simple Network Management Protocol (SNMP) Daemon....
-- Subject: Unit snmpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit snmpd.service has begun starting up.
Aug 03 10:24:54 nz1.x snmpd[28693]: Duplicate IPv4 address detected, some interfaces may not be visible in IP-MIB
Aug 03 10:24:54 nz1.x snmpd[28693]: Warning: no access control information configured.
                                              (Config search path: /etc/snmp:/usr/share/snmp:/usr/lib64/snmp)
                                              It's unlikely this agent can serve any useful purpose in this state.
                                              Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for this agent.
Aug 03 10:24:54 nz1.x snmpd[28693]: Error opening specified endpoint ""
Aug 03 10:24:54 nz1.x snmpd[28693]: Server Exiting with code 1
Aug 03 10:24:54 nz1.x systemd[1]: snmpd.service: main process exited, code=exited, status=1/FAILURE
Aug 03 10:24:54 nz1.x systemd[1]: Failed to start Simple Network Management Protocol (SNMP) Daemon..
-- Subject: Unit snmpd.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit snmpd.service has failed.
--
-- The result is failed.
Aug 03 10:24:54 nz1.x systemd[1]: Unit snmpd.service entered failed state.
Aug 03 10:24:54 nz1.x systemd[1]: snmpd.service failed.
Aug 03 10:24:54 nz1.x polkitd[2806]: Unregistered Authentication Agent for unix-process:28687:181076393 (system bus name :1.1084, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected f
Aug 03 10:24:54 nz1.x dhclient[28655]: DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17 (xid=0x6ee3cc90)

My /etc/snmp/snmpd.conf has:\

rocommunity public
syslocation "IT Department"
syscontact [email protected]

I'm not sure if there's anything I missed. Can you help me?

Thanks,

Kind Regards,

Daniel

centos7 linux snmp

Created on Aug 3, 2018 12:28:34 AM

Last change on Aug 6, 2018 4:22:22 AM by  Luciano Lingnau [Paessler]



5 Replies

Votes:

0

What's the output of ifconfig of this server, please?


Kind regards,
Stephan Linke, Tech Support Team

Created on Aug 3, 2018 8:54:44 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi Stephan,

Here is the output from my ifconfig:

eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 0c:c4:7a:53:59:2a  txqueuelen 1000  (Ethernet)
        RX packets 1638501  bytes 313178695 (298.6 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 220746  bytes 39573452 (37.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf7180000-f71fffff

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet x.x.x.x  netmask 255.255.255.254  broadcast x.x.x.x
        inet6 fe80::ec4:7aff:fe53:592b  prefixlen 64  scopeid 0x20<link>
        ether 0c:c4:7a:53:59:2b  txqueuelen 1000  (Ethernet)
        RX packets 111559243  bytes 22525203081 (20.9 GiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 129843535  bytes 66785199199 (62.1 GiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xf7100000-f717ffff

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 46  bytes 7401 (7.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 46  bytes 7401 (7.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Thanks,

Kind Regards,

Daniel

Created on Aug 5, 2018 10:49:53 PM

Last change on Aug 6, 2018 4:19:04 AM by  Luciano Lingnau [Paessler]



Votes:

0

Easiest would be to go with the default configuration (install and start snmpdconf to generate one) and see if that works properly. Nothing wrong with the NIC configuration from what I can tell.


Kind regards,
Stephan Linke, Tech Support Team

Created on Aug 6, 2018 8:57:00 AM by  Stephan Linke [Paessler Support]



Votes:

0

Hi Stephan,

I've tried to uninstall snmpd and snmp and re-installed it. Defaulted the snmpd.conf file but still unable to start the service. Do you have any other hints / tools that may be potential culprits? I've tried to set it up on another CentOS server (on AWS) and I am getting the same error on a fresh server.

Thanks,

Kind Regards,

Daniel

Created on Aug 8, 2018 5:44:11 AM



Votes:

0

Then it's more likely to be a case for the centOS forums :/ This is usually working out of the box.


Kind regards,
Stephan Linke, Tech Support Team

Created on Aug 8, 2018 6:29:45 AM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.