in reply to Re^2: Problem using threads and snmp
in thread Problem using threads and snmp
The "thread failed to start" is a red-herring/badly chosen error message. It simple means that the thread died.
The reason the thread dies is because you are asking it to:
$info = $sess->get($itens) or die "couldn't get info";
There are many reasons why the get() could fail. The first thing to do is get some more information than your error message gives. Appending $sess->error to your message would be a good start.
If that doesn't help you resolve the problem, try enabling debug:
$session->debug( DEBUG_ALL );
See the POD for details.
Once you know why that call is failing, you have a chance to do something about it.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem using threads and snmp
by rnery (Initiate) on Apr 16, 2008 at 13:51 UTC | |
by NetWallah (Canon) on Apr 16, 2008 at 16:51 UTC | |
by BrowserUk (Patriarch) on Apr 16, 2008 at 15:33 UTC |