package snmpd 5.7.3 failed to install: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Was using synaptic package manager 0.83 on Ubuntu 16.04.1
Was installing snmpd 5.7.3+dfsg-1ubuntu4
journalctl shows these lines for snmp:
Jan 23 16:03:54 vti-lab3 systemd[1]: Starting LSB: SNMP agents...
-- Subject: Unit snmpd.service has begun start-up
-- Defined-By: systemd
-- Support: http://
--
-- Unit snmpd.service has begun starting up.
Jan 23 16:03:54 vti-lab3 snmpd[7938]: * Starting SNMP services:
Jan 23 16:03:54 vti-lab3 snmpd[7946]: Created directory: /var/lib/
Jan 23 16:03:55 vti-lab3 snmpd[7946]: /etc/snmp/
Jan 23 16:03:55 vti-lab3 snmpd[7946]: /etc/snmp/
Jan 23 16:03:55 vti-lab3 snmpd[7946]: Turning on AgentX master support.
Jan 23 16:03:55 vti-lab3 snmpd[7946]: Error opening specified endpoint "udp:127.0.0.1:161"
Jan 23 16:03:55 vti-lab3 snmpd[7946]: Server Exiting with code 1
Jan 23 16:03:55 vti-lab3 systemd[1]: snmpd.service: Control process exited, code=exited status=1
Jan 23 16:03:55 vti-lab3 systemd[1]: Failed to start LSB: SNMP agents.
-- Subject: Unit snmpd.service has failed
-- Defined-By: systemd
-- Support: http://
--
-- Unit snmpd.service has failed.
--
-- The result is failed.
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snmpd 5.7.3+dfsg-1ubuntu4
ProcVersionSign
Uname: Linux 4.4.0-59-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.4
Architecture: amd64
Date: Mon Jan 23 16:03:55 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-01 (297 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120823.1)
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.18
SNMPVersion:
NET-SNMP version: 5.7.3
Web: http://
Email: <email address hidden>
SourcePackage: net-snmp
SyslogSnmptrapd:
Title: package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-09-06 (139 days ago)
tags: | removed: need-duplicate-check |
Changed in net-snmp (Ubuntu): | |
status: | Expired → Fix Released |
From log:
Jan 23 16:03:55 vti-lab3 snmpd[7946]: /etc/snmp/ snmpd.conf: line 145: Warning: Unknown token: defaultMonitors. snmpd.conf: line 147: Warning: Unknown token: linkUpDownNotif ications.
Jan 23 16:03:55 vti-lab3 snmpd[7946]: /etc/snmp/
Jan 23 16:03:55 vti-lab3 snmpd[7946]: Error opening specified endpoint "udp:127.0.0.1:161"
Jan 23 16:03:55 vti-lab3 snmpd[7946]: Server Exiting with code 1