Re: Cannot start snmp handler application
"Dave Shield" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
[ First - *please* don't mail me privately, without copying
any responses to the mailing list. I don't have the time
or inclination to offer private, unpaid, SNMP consultancy.
Keep discussions to the list, where others can both learn
and offer advice. Thanks. ]
On 13/12/2007, Vladimir Kovacevic <[email protected]> wrote:
> I already wrote that:
> could not open /proc/net/if_inet6
> NET-SNMP version 5.3
> Connection from UDP: [192.168.125.101]:2110
> Connection from UDP: [192.168.125.101]:2111
> cannot open /proc/net/snmp6 ...
> Received TERM or STOP signal... shutting down...
That feels more like the logging from the main SNMP agent.
I was more interested in the logging generated by the
/bin/snmp_handler program - i.e. the output from the code:
// write prog args to file, testing
for (i = 0; i < argc; i++) {
sprintf(buffer, "%2d : %s\n", i, argv[i]);
da=write(file,buffer,strlen(buffer));
if(da!=strlen(buffer)) return 2;
}
I'm assuming that this is logged to a different file to
the main snmpd output. If not, then it would be a good
idea to amend one or the other so that they are kept
apart - at least while you're trying to get things working.
Dave
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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