Ernillew / wl500g

Automatically exported from code.google.com/p/wl500g
0 stars 0 forks source link

snmpd down #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1. Enable snmdp
2. Look snmp form other lan (lan router 10.0.0.0/24; snmp collector lan 
10.1.0.0/24

What is the expected output? What do you see instead?
Crash programm with "Segmentation fault"

What version of the product are you using?
WL500gp-1.9.2.7-rtn-r3121.trx for V1 and WL500gpv2-1.9.2.7-rtn-r3121.trx for V2

For collect information from routers by snmp I use Manageengine Opmanager.

Original issue reported on code.google.com by 2dfx.s...@gmail.com on 29 Aug 2011 at 7:23

GoogleCodeExporter commented 9 years ago
On which command you got "Segmentation fault" exactly? How you configured 
second lan? Please provide syslog.log with error messages, if possible.

Original comment by lly.dev on 1 Sep 2011 at 6:04

GoogleCodeExporter commented 9 years ago
I have got error "Segmentation fault" if start snmpd with "-f"

Lan for router 10.0.0.0/24
Additional route "ip rotue add 10.1.0.0/24 via 10.0.0.2"

In syslog is no error

Original comment by 2dfx.s...@gmail.com on 2 Sep 2011 at 1:06

GoogleCodeExporter commented 9 years ago
i.e you:

1) kill an old instance of snmpd, which started automatically
2) add "ip route add 10.1.0.0/24 via 10.0.0.2"
3) start new "/usr/sbin/snmpd -f"

right?

Original comment by lly.dev on 2 Sep 2011 at 4:37

GoogleCodeExporter commented 9 years ago
Yes, it`s right.
May be need add #4:
Collect info from 10.1.0.3

Original comment by 2dfx.s...@gmail.com on 5 Sep 2011 at 7:15

GoogleCodeExporter commented 9 years ago
Have you Optware installed? If yes, please try to unset LD_LIBRARY_PATH before 
#3

Original comment by lly.dev on 5 Sep 2011 at 7:28

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Installed software:
uclibc-opt
openssl
lzo
openvpn

Where i can unset LD_LIBRARY_PATH?

Original comment by 2dfx.s...@gmail.com on 5 Sep 2011 at 8:55

GoogleCodeExporter commented 9 years ago
In shell, in which you are trying to run snmpd. Or in your custom startup 
scripts.

It is a common mistake of users.

Original comment by lly.dev on 5 Sep 2011 at 9:55

GoogleCodeExporter commented 9 years ago
From the beginning I did not do anything and saw that the service does not work.
After, I tried to run the service myself, but it also goes down.
But then I tried to run from the user with the '-f "and saw this error.

Original comment by 2dfx.s...@gmail.com on 7 Sep 2011 at 7:34

GoogleCodeExporter commented 9 years ago
I can't reproduce the problem.

So, since Optware installed contradicts your words "I did not do anything", I 
guess your mistake.

Original comment by lly.dev on 8 Sep 2011 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by lly.dev on 15 Sep 2011 at 7:11