Ubuntu due to IPV6 not booting, causing SNMPD to fail to start

Source: Internet
Author: User
Tags snmp


Today's Ubuntu system for SNMPD configuration, after completion can not be started, after viewing the syslog log, the following error:

Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]: Error on subcontainer ' ia_addr ' Insert (-1)
Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]:/etc/snmp/snmpd.conf:line 146:warning:unknown token:defaultmonitors.
Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]:/etc/snmp/snmpd.conf:line 148:warning:unknown token:linkupdownnotificat Ions.
Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]: Turning on Agentx master support.
Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]: Error opening specified endpoint "udp6:[::1]:161"
Mar 3 15:11:45 hk-en-prod-web02 snmpd[10060]: Server Exiting with code 1

This review found that IPv6 is not started, the information is as follows:

Eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> MTU Qdisc pfifo_fast State up group default Qlen 1000
Link/ether 00:0c:29:a7:5c:96 BRD FF:FF:FF:FF:FF:FF
inet 172.16.1.25/24 BRD 172.16.1.255 Scope Global eth0
Valid_lft Forever Preferred_lft Forever


Workaround:

1, settings are not monitored on the IPv6:

#agentAddress udp:161,udp6:[::1]:161
Agentaddress udp:161

2. Start IPv6:

Net.ipv6.conf.all.disable_ipv6 = 0net.ipv6.conf.default.disable_ipv6 = 0net.ipv6.conf.lo.disable_ipv6 = 0


This article is from the "Autumn Fairy tale" blog, please be sure to keep this source http://wushank.blog.51cto.com/3489095/1903014

Ubuntu due to IPV6 not booting, causing SNMPD to fail to start

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.