Difference between revisions of "Template:FAQ:Compiling 12"

From Net-SNMP Wiki
Jump to: navigation, search
 
m (5.4 release synchronisation)
 
Line 1: Line 1:
 +
<!-- NB:
 +
  There is a mismatch between the template numbering
 +
  for this entry, and the FAQ entries that refer to it.
 +
  This follows a review of the entries in the
 +
  Compiling section.
 +
-->
 
Typically it says something like:
 
Typically it says something like:
  

Latest revision as of 14:52, 29 December 2006

Typically it says something like:

 cat:  cannot open /tmp/snmp-test-1-8694/*pid*

It's trying to tell you the port is blocked - typically because another copy of the agent is still running, left over from from a previous testing run.

If you type 'ps -ef' you should notice an orphaned process like:

 snmpd -d -r -U -P /tmp/snmp-test-5-27295/snmpd.pid...

Kill this process.

This could be happening for several reasons including:

  1. You are trying to do concurrent runs of 'make test'.
  2. On a slow machine, the agent might be taking too long to start up. Try changing the value of the variable SNMP_SLEEP in testing/RUNTESTS from 1 to something higher - say 3 or 5.