[Bug 1713194] Re: package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-11-24 Thread Karthik
i just surfer in google and gor the solution.

Before the problem araised, the net-snmp-5.7.3, snmp-mibs-downloader and snmpd 
were already downloaded by me.
At this point of time, the libraries which will be used by snmpd are installed 
at two locations "/usr/lib/x86_64-linux-gnu/" and "/usr/local/lib". when I 
tried to start the snmpd, as the libraries were at two locations, snmpd service 
is confused which location of libraries to use.. Thus I have to remove the 
oldest libraries installed among them to make it work.

To check if you have the libraries at two locations use "find /usr/ -name 
libnetsnmp*" command on terminal.
If you find 'libnetsnmp-' files on both the above mentioned locations,
remove the oldest libs (in my case) using: "sudo rm /usr/local/lib/libnetsnmp*"
This will solve the problem of snmpd to start.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713194

Title:
  package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1713194/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1713194] Re: package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-08-26 Thread vivek sanagari
vivek@vivek-VPCCB45FN:~$ sudo apt-get install snmp-mibs-downloader
vivek@vivek-VPCCB45FN:~$ sudo apt-get install snmpd


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) ...
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-sysv-generator(8)
  Process: 6331 ExecStart=/etc/init.d/snmpd start (code=exited, status=127)

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)

** Changed in: net-snmp (Ubuntu)
   Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/net-snmp/+question/656995

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713194

Title:
  package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1713194/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1713194] Re: package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

2017-08-25 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1713194

Title:
  package snmpd 5.7.3+dfsg-1ubuntu4 failed to install/upgrade:
  subprocess installed post-installation script returned error exit
  status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1713194/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs