package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
This bug report was converted into a question: question #656995: package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
net-snmp (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Both the below commands are showing the problem attached below.. plzzzzzzzzzzzzzzz help..
*******
vivek@vivek-
[sudo] password for vivek:
Reading package lists... Done
Building dependency tree
Reading state information... Done
snmp-mibs-
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up snmpd (5.7.3+
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript snmpd, action "start" failed.
● snmpd.service - LSB: SNMP agents
Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-08-26 05:48:00 CEST; 5ms ago
Docs: man:systemd-
Process: 6220 ExecStart=
Aug 26 05:47:59 vivek-VPCCB45FN systemd[1]: Starting LSB: SNMP agents...
Aug 26 05:48:00 vivek-VPCCB45FN snmpd[6220]: * Starting SNMP services:
Aug 26 05:48:00 vivek-VPCCB45FN snmpd[6220]: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
Aug 26 05:48:00 vivek-VPCCB45FN systemd[1]: snmpd.service: Control process exited, code=exited status=127
Aug 26 05:48:00 vivek-VPCCB45FN systemd[1]: Failed to start LSB: SNMP agents.
Aug 26 05:48:00 vivek-VPCCB45FN systemd[1]: snmpd.service: Unit entered failed state.
Aug 26 05:48:00 vivek-VPCCB45FN systemd[1]: snmpd.service: Failed with result 'exit-code'.
dpkg: error processing package snmpd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
*******
vivek@vivek-
Reading package lists... Done
Building dependency tree
Reading state information... Done
snmpd is already the newest version (5.7.3+
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n]
Setting up snmpd (5.7.3+
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript snmpd, action "start" failed.
● snmpd.service - LSB: SNMP agents
Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-08-26 05:48:45 CEST; 5ms ago
Docs: man:systemd-
Process: 6331 ExecStart=
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: Starting LSB: SNMP agents...
Aug 26 05:48:45 vivek-VPCCB45FN snmpd[6331]: * Starting SNMP services:
Aug 26 05:48:45 vivek-VPCCB45FN snmpd[6331]: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Control process exited, code=exited status=127
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: Failed to start LSB: SNMP agents.
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Unit entered failed state.
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Failed with result 'exit-code'.
dpkg: error processing package snmpd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
*******
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snmpd 5.7.3+dfsg-1ubuntu4
ProcVersionSign
Uname: Linux 4.4.0-92-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.10
AptOrdering:
snmpd: Install
snmpd: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Sat Aug 26 04:25:24 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-11-14 (285 days ago)
InstallationMedia: Ubuntu-GNOME 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160720)
RelatedPackageV
dpkg 1.18.4ubuntu1.2
apt 1.2.24
SNMPVersion: Error: command ['/usr/sbin/snmpd', '-v'] failed with exit code 127: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
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: No upgrade log present (probably fresh install)
tags: | removed: need-duplicate-check |
vivek@vivek- VPCCB45FN: ~$ sudo apt-get install snmp-mibs- downloader VPCCB45FN: ~$ sudo apt-get install snmpd
vivek@vivek-
I AM TRING TO START SNMPD USING THE ABOVE COMMANDS AND BEING LEFT WITH THE BELOW ERROR..
WHAT IS THE PROBLEM???
HOW CAN I SOLVE THIS???
PLZZZ HELP..
THANK U IN ADVANCE..
Setting up snmpd (5.7.3+ dfsg-1ubuntu4) ... sysv-generator( 8) /etc/init. d/snmpd start (code=exited, status=127)
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
update-rc.d: warning: stop runlevel arguments (1) do not match snmpd Default-Stop values (0 1 6)
Job for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript snmpd, action "start" failed.
● snmpd.service - LSB: SNMP agents
Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2017-08-26 05:48:45 CEST; 5ms ago
Docs: man:systemd-
Process: 6331 ExecStart=
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: Starting LSB: SNMP agents...
Aug 26 05:48:45 vivek-VPCCB45FN snmpd[6331]: * Starting SNMP services:
Aug 26 05:48:45 vivek-VPCCB45FN snmpd[6331]: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Control process exited, code=exited status=127
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: Failed to start LSB: SNMP agents.
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Unit entered failed state.
Aug 26 05:48:45 vivek-VPCCB45FN systemd[1]: snmpd.service: Failed with result 'exit-code'.
dpkg: error processing package snmpd (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)