Hi David.

Fernández Piñas, David wrote:
Hi all, I am running a compiled version of snmptrapd (NetSNMP 5.1) on a Windows 2000 
PC.

I get the next error when I specify a traphandle directive at snmptrapd.conf file:

make_tempfile: error creating file /tmp/snmpda01896

Make sure you define a temporary path in win32/net-snmp/net-snmp-config.h. The default path in 5.1 is:


#define NETSNMP_TEMP_FILE_PATTERN "/tmp/snmpdXXXXXX"

Try something like:

#define NETSNMP_TEMP_FILE_PATTERN "c:/winnt/temp/snmpdXXXXXX"

Make sure you use forward slashes, not back slashes.

If you created a c:\tmp folder it should work, but it's better to specify the full path as it will not work if you run snmptrapd from a different drive letter.

Alex




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ 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

Reply via email to