in reply to Perl NET::SNMP
and _socket_create is called by this fragment in Net::SNMP::Transport:sub _socket_create { IO::Socket->new->socket(PF_INET, SOCK_DGRAM, (getprotobyname('udp')) +[2]); }
If you can verify that this is indeed the case it would really help. I can't think right now of a reason why it should fail unless the user the CGI script is running under is unable to create sockets. Is that a possibility?if (!defined($this->{_socket} = $this->_socket_create)) { $this->_perror('Failed to open %s socket', $this->type); return wantarray ? (undef, $this->{_error}) : undef }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Perl NET::SNMP
by glide (Pilgrim) on Apr 30, 2008 at 09:26 UTC | |
by Jabber (Initiate) on May 01, 2008 at 18:31 UTC |