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

Asked by vivek sanagari on 2017-08-26

Both the below commands are showing the problem attached below.. plzzzzzzzzzzzzzzz help..

************************************************************************************
vivek@vivek-VPCCB45FN:~$ sudo apt-get install snmp-mibs-downloader
[sudo] password for vivek:
Reading package lists... Done
Building dependency tree
Reading state information... Done
snmp-mibs-downloader is already the newest version (1.1).
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+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:00 CEST; 5ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 6220 ExecStart=/etc/init.d/snmpd start (code=exited, status=127)

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-VPCCB45FN:~$ sudo apt-get install snmpd
Reading package lists... Done
Building dependency tree
Reading state information... Done
snmpd is already the newest version (5.7.3+dfsg-1ubuntu4).
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+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)
*****************************************************************************************

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: snmpd 5.7.3+dfsg-1ubuntu4
ProcVersionSignature: Ubuntu 4.4.0-92.115-generic 4.4.76
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)
RelatedPackageVersions:
 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)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu net-snmp Edit question
Assignee:
No assignee Edit question
Solved by:
vivek sanagari
Solved:
2017-08-28
Last query:
2017-08-28
Last reply:
2017-08-28

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)

Manfred Hampl (m-hampl) said : #2

"/usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd"

You seem to have installed versions of programs that do not fit together.

What is the output of the commands

uname -a
lsb_release -crid
apt-cache policy snmpd
ldd /usr/sbin/snmpd

Hi Manfred,

Thank you for responding for my problem..

The output for those commands are:
**********
vivek@vivek-VPCCB45FN:~$ uname -a
Linux vivek-VPCCB45FN 4.4.0-92-generic #115-Ubuntu SMP Thu Aug 10 09:04:33 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
*********
vivek@vivek-VPCCB45FN:~$ lsb_release -crid
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
**********
vivek@vivek-VPCCB45FN:~$ apt-cache policy snmpd
snmpd:
  Installed: 5.7.3+dfsg-1ubuntu4
  Candidate: 5.7.3+dfsg-1ubuntu4
  Version table:
 *** 5.7.3+dfsg-1ubuntu4 500
        500 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        100 /var/lib/dpkg/status
***********
vivek@vivek-VPCCB45FN:~$ ldd /usr/sbin/snmpd
 linux-vdso.so.1 => (0x00007fffb47d7000)
 libnetsnmpagent.so.30 => /usr/local/lib/libnetsnmpagent.so.30 (0x00007fcb6720a000)
 libnetsnmpmibs.so.30 => /usr/local/lib/libnetsnmpmibs.so.30 (0x00007fcb66d9e000)
 libnetsnmp.so.30 => /usr/local/lib/libnetsnmp.so.30 (0x00007fcb66ab2000)
 libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fcb666cb000)
 libperl.so.5.22 => /usr/lib/x86_64-linux-gnu/libperl.so.5.22 (0x00007fcb662f0000)
 libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fcb660d2000)
 libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fcb65ece000)
 /lib64/ld-linux-x86-64.so.2 (0x0000557c24ff2000)
 libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fcb65bc5000)
 libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007fcb6598c000)
*********

I am desperately in need of help for this problem.. plzzz help..
Thank you in advance Manfred..

Manfred Hampl (m-hampl) said : #4

The files /usr/local/lib/libnetsnmp.so.30, /usr/local/lib/libnetsnmpagent.so.30 and /usr/local/lib/libnetsnmpmibs.so.30 seem to be foreign files that interfere with the Ubuntu software.

The Ubuntu-provided versions usually reside in /usr/lib/x86_64-linux-gnu/

Do you have an idea where they stem from?

Hi Manfred,

When i was searching to solve this i saw that some one suggested as below..

**************************************
Did you build and install the net-snmp-5.7.3.tar.gz?
if you also installed the snmpd then you have two version of snmpd.
use command "find /usr/ -name libnetsnmp*" to locate the libraries, check if you have libraries at two locations. removing the libs from one location can solve the problem.
**************************************

So, unfortunately I removed the libs which reside in "/usr/lib/x86_64-linux-gnu/" using the command "sudo rm /usr/lib/x86_64-linux-gnu/libnetsnmp*"

what can I do now.?

Manfred Hampl (m-hampl) said : #6

It seems that you removed the wrong ones.

The command

sudo apt-get install --reinstall libsnmp30

will probably restore the Ubuntu-provided files.

Hi Manfred,
I tried using the command but it is trying to set up snmpd in that process and ending up with the below error..
I also tried it with "sudo apt-get install --reinstall libsnmp-dev" command, but shows the same error as for the above one..

IT SHOWS:
******************
root@vivek-VPCCB45FN:/home/vivek# sudo apt-get install --reinstall libsnmp30
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 0 B/813 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 210488 files and directories currently installed.)
Preparing to unpack .../libsnmp30_5.7.3+dfsg-1ubuntu4_amd64.deb ...
Unpacking libsnmp30:amd64 (5.7.3+dfsg-1ubuntu4) over (5.7.3+dfsg-1ubuntu4) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up libsnmp30:amd64 (5.7.3+dfsg-1ubuntu4) ...
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 Mon 2017-08-28 17:33:22 CEST; 5ms ago
     Docs: man:systemd-sysv-generator(8)
  Process: 15461 ExecStart=/etc/init.d/snmpd start (code=exited, status=127)

Aug 28 17:33:21 vivek-VPCCB45FN systemd[1]: Starting LSB: SNMP agents...
Aug 28 17:33:22 vivek-VPCCB45FN snmpd[15461]: * Starting SNMP services:
Aug 28 17:33:22 vivek-VPCCB45FN snmpd[15461]: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
Aug 28 17:33:22 vivek-VPCCB45FN systemd[1]: snmpd.service: Control process exited, code=exited status=127
Aug 28 17:33:22 vivek-VPCCB45FN systemd[1]: Failed to start LSB: SNMP agents.
Aug 28 17:33:22 vivek-VPCCB45FN systemd[1]: snmpd.service: Unit entered failed state.
Aug 28 17:33:22 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
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 snmpd
E: Sub-process /usr/bin/dpkg returned an error code (1)
****************

I think it is probably ending up with the same whenever I use "apt-get" atleast for these commands:

sudo apt-get install snmp-mibs-downloader
sudo apt-get install snmpd
sudo apt-get install --reinstall libsnmp30

I am afraid that it is ending up with the same error, even when i try to upgrade using "sudo apt-get upgrade"

IT SHOWS THE SAME ERROR WHEN I TRY TO START SNMPD..

****************
vivek@vivek-VPCCB45FN:~$ /etc/init.d/snmpd start
[....] Starting snmpd (via systemctl): snmpd.serviceJob for snmpd.service failed because the control process exited with error code. See "systemctl status snmpd.service" and "journalctl -xe" for details.
 failed!
****************
vivek@vivek-VPCCB45FN:~$ systemctl status snmpd.service
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-08-28 17:45:58 CEST; 14s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 16474 ExecStart=/etc/init.d/snmpd start (code=exited, status=127)

Aug 28 17:45:58 vivek-VPCCB45FN systemd[1]: Starting LSB: SNMP agents...
Aug 28 17:45:58 vivek-VPCCB45FN snmpd[16474]: * Starting SNMP services:
Aug 28 17:45:58 vivek-VPCCB45FN snmpd[16474]: /usr/sbin/snmpd: symbol lookup error: /usr/sbin/snmpd: undefined symbol: smux_listen_sd
Aug 28 17:45:58 vivek-VPCCB45FN systemd[1]: snmpd.service: Control process exited, code=exited status=127
Aug 28 17:45:58 vivek-VPCCB45FN systemd[1]: Failed to start LSB: SNMP agents.
Aug 28 17:45:58 vivek-VPCCB45FN systemd[1]: snmpd.service: Unit entered failed state.
Aug 28 17:45:58 vivek-VPCCB45FN systemd[1]: snmpd.service: Failed with result 'exit-code'.
************

I do not get what is the problem, and how could i solve it..

I thought, There could be a problem with installing snmp-mibs-downloader, snmpd and starting snmpd.
However It shows that snmp-mibs-downloader and snmpd are already the newest versions with snmp-mibs-downloader (1.1) and snmpd (5.7.3+dfsg-1ubuntu4).

But the status of snmpd.service (by using "systemctl status snmpd.service" ) is shown as failed in the previous comments for this problem.. If it already has the newest versions of them then what could be the problem in starting snmpd..

******[PROBLEM SOLVED]*******

THANK YOU MANFRED, you put me on the right track to solve my problem, by telling that "The Ubuntu-provided versions usually reside in /usr/lib/x86_64-linux-gnu/"

*******************************

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..
*******************************************

(IN MY CASE THE PROBLEM WAS)
unfortunately, I removed the libs at another location "/usr/lib/x86_64-linux-gnu/", where Ubuntu-provided versions usually reside in. As the libs at the desired location were removed it caused a problem to start snmpd.

As I was not aware that I removed the libs in the wrong location, I thought there was some problem with the installation and tried to upgrade the system and then reinstall the packages..
Thus when I 'Upgrade the system' or 'install snmp-mibs-downloader' or 'install snmpd' or 'start snmpd', As the newest versions of snmp-mibs-downloader and snmpd were already downloaded, It was trying to set up the snmpd at that time and ended up with ALL THE BUNCH OF ERRORS discussed in the previous comments(few of them,once again mentioned below)..

ERROR 1:
dpkg: error processing package snmpd (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 snmpd

ERROR 2:
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.

ERROR 3:
● 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)

FEW OTHER ERRORS..
E: Sub-process /usr/bin/dpkg returned an error code (1)

THE MAIN CAUSE FOR ALL THE ERRORS and the problem with starting the snmpd service was the libraries which were removed at "/usr/lib/x86_64-linux-gnu/" location where Ubuntu-provided versions usually reside in.

How did I get back the snmpd running.?
1) As every command I used was trying to setting up snmpd service, first I uninstalled the snmpd (so that i could run other commands) use "dpkg --purge snmpd" or you can also see "https://adimian.com/blog/2014/10/how-to-fix-a-broken-ubuntu-package-installation-here-slapd/"

2) After snmpd is unistalled(if In case it was already installed).
Now use the commads:
"sudo apt-get clean"
"sudo apt-get -f install "
"sudo dpkg --configure -a"
"sudo apt-get update"
"sudo apt-get upgrade"

3) Now you have to reinstall the removed libs at "/usr/lib/x86_64-linux-gnu/" location.
use command: "sudo apt-get install --reinstall libsnmp30"
you can verify whether the libs have been installed at the location by using "sudo find /usr/ -name libnetsnmp*", libs are installed if you find libnetsnmp files at the "/usr/lib/x86_64-linux-gnu/" location.

4) Now that the libs are located at two locations, you have to remove the oldest libs using: "sudo rm /usr/local/lib/libnetsnmp*"

5) Now start the snmpd service using "/etc/init.d/snmpd start" or you can also use "sudo service snmpd start"

first command shows as:
vivek@vivek-VPCCB45FN:~$ /etc/init.d/snmpd start[ ok ] Starting snmpd (via systemctl): snmpd.service.

second command shows as:
vivek@vivek-VPCCB45FN:~$ sudo service snmpd start
[sudo] password for vivek:
vivek@vivek-VPCCB45FN:~$

That means snmpd is successfully been started..

6) To view the snmpd status use "systemctl status snmpd.service"
It shows snmpd.service status as ACTIVE (running)..

vivek@vivek-VPCCB45FN:~$ systemctl status snmpd.service
● snmpd.service - LSB: SNMP agents
   Loaded: loaded (/etc/init.d/snmpd; bad; vendor preset: enabled)
   Active: active (running) since Mon 2017-08-28 20:33:19 CEST; 1h 52min ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/snmpd.service
           └─10476 /usr/sbin/snmpd -Lsd -Lf /dev/null -u snmp -g snmp -I -smux m

Aug 28 20:33:19 vivek-VPCCB45FN snmpd[10476]: NET-SNMP version 5.7.3
Aug 28 20:33:19 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 20:35:22 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 20:35:39 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 20:35:52 vivek-VPCCB45FN snmpd[10476]: Connection from UDP: [127.0.0.1]:3
Aug 28 20:51:34 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 22:22:26 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 22:23:32 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 22:24:41 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
Aug 28 22:24:55 vivek-VPCCB45FN systemd[1]: Started LSB: SNMP agents.
lines 1-17/17 (END)

7) You can also verify the working of the snmpd service by using "snmpget -v 2c -c public 127.0.0.1 SNMPv2-MIB::sysUpTime.0"

It is working perfectly if it shows as:

vivek@vivek-VPCCB45FN:~$ snmpget -v 2c -c public 127.0.0.1 SNMPv2-MIB::sysUpTime.0
SNMPv2-MIB::sysUpTime.0 = Timeticks: (698158) 1:56:21.58
************************

CHEERS.. :) :) :)

Hope It helps somebody.. :) :) :)