FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
143 views 0 comments
by anonymous

Hello RUT240

SNMPD not working?

root@teltonika:/usr/lib# ps | grep snmpd
22674 root      1520 S    grep snmpd

root@teltonika:/usr/lib# /etc/init.d/snmpd start
root@teltonika:/usr/lib# ps | grep snmpd
23002 root      1520 S    grep snmpd
root@teltonika:/usr/lib#
 

root@teltonika:/usr/sbin# ./snmpd
./snmpd: can't load library 'libjson-c.so.4'
root@teltonika:/usr/sbin# cd /usr/lib/

root@teltonika:/usr/lib# ls libjs*
libjson-c.so.2      libjson-c.so.5      libjson-c.so.5.0.0
root@teltonika:/usr/lib#
 

Firmware version

RUT2XX_R_00.01.14

Firmware build date

2021-03-23, 15:58:53

Kernel version

3.18.44

Bootloader version

3.2.2

td p { orphans: 0; widows: 0; background: transparent }p { margin-bottom: 0.1in; line-height: 115%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }a:visited { color: #800000; so-language: zxx; text-decoration: underline }

2 Answers

0 votes
by anonymous

Simple ln -s

but then it's bug or?

root@teltonika:/usr/lib# ln -s libjson-c.so.5.0.0 libjson-c.so.4

root@teltonika:/usr/lib# ps | grep snmpd

29524 root 6264 S /usr/sbin/snmpd -Lf /dev/null -f -Cc /var/run/snmpd.conf --noPersistentSave=1 --noPersistentLoad=

29598 root 1520 S grep snmpd

p { margin-bottom: 0.1in; line-height: 115%; background: transparent }a:link { color: #000080; so-language: zxx; text-decoration: underline }a:visited { color: #800000; so-language: zxx; text-decoration: underline }

0 votes
by anonymous
Hi,

I've just tested this with latest RUT240 firmware version and SNMP downloaded from the package manager, snmpd does not return any errors or missing dependencies in CLI.

Please make sure you have the latest firmware version and you're using the SNMP from the package manager.

We're not responsible for any third-party packages downloaded from opkg, as they might be not compatible or we already have some kind of fork of that package installed, so it could conflict.

EB.