¡Oooops! It was my fault :-(. The folder /var/lib/snmp/ had the wrong permissions. Now it is solved and it's working fine!
Tx, Isi, -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Legido Martínez, Isidoro Enviado el: miércoles, 23 de noviembre de 2005 13:24 Para: [email protected] Asunto: .snmp-exec-cache problem Hi, I have installed net-snmp 5.1.2 in by Kubuntu box. I have extended the snmp agent via the 'pass' directive, according the man pages, but each time I executed the command I got the terrific error message: "No such instance currently exists at this OID". Finally I decided to check the /var/log/syslog file, where I found the trace: "/var/lib/snmp/.snmp-exec-cache: Permission denied" So, I created an empty shell file [.snmp-exec-cache] #!/bin/sh and I gave all the executions permissions, tried again, and it "worked"! But not properly, because the initial value was cached, so every time I asked for that OID I received the same value :-( One question: why I don't have the .snmp-exec-cache? Is my installation wrong? I just installed using synaptic from Kubuntu. Another one: How can I solve the problem? Does anybody have a .snmp-exec-cache file which I can use? Thanks a lot, Isi, -----Mensaje original----- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Robert Story Enviado el: jueves, 04 de agosto de 2005 12:26 Para: Ambroise GUABELLO CC: [email protected] Asunto: Re: Does snmpset send a reply? On Tue, 02 Aug 2005 11:11:32 +0200 Ambroise wrote: AG> The set request is sent AG> The agent receives the request, process it AG> and my application receives no response. AG> AG> So I was wondering if the net-snmp agent sends a reponse on a set request? Yes. You can run with -d flag to see packet dumps, and make sure the agent sends the response. AG> Or finally is it a problem of my application that can't process the answer? That's my guess, or else a firewall is discarding the packet. -- NOTE: messages sent directly to me, instead of the lists, will be deleted unless they are requests for paid consulting services. Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ 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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=ick _______________________________________________ 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 ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28&alloc_id845&op=click _______________________________________________ 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
