On 21/12/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> FYI, the results of this startup are as follows:
>
> # . ./startup
> 1513
> Simple Test
> DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (176) 0:00:01.76
> When I run the 'startup' script using my coworker's snmpd.conf file, I
> get the following results:
>
> # . ./startup
> 1523
> Simple Test
> Timeout: No Response from localhost.
Hmmm..... I'm running out of ideas here.
Other things you could try:
- add the line "sleep 5" after "snmpd &"
(in case the one setup takes a little bit longer to start up)
- check there aren't any strange non-printable characters
in your colleague's config file
(grep rocommunity snmpd.conf | cat -vte)
- take a copy of the two config files, strip out all of the comments,
and check that the two slimmed down configs still show
the same behaviour. That should make it easier to compare
the contents.
Then try removing "irrelevant" entries from each of them,
(such as all the trap-related settings) and try again.
Where the two files are different, try tweaking one of them
to match the other, and try again.
Eventually you should be able to get to a state where the
two files are identical - and presumably both work or both fail.
If you take this a step at a time, you should be able to determine
which the offending line is.
Good luck!
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users