[RADIATOR] Random AuthBy LDAP2 "Undefined subroutine &main::" connect failures

Kevin Schmidt kps at ucsb.edu
Fri Aug 31 12:55:13 CDT 2012


Heikki,

On 08/26/2012 02:40 AM, Heikki Vatiainen wrote:
> On 08/25/2012 02:34 AM, Kevin Schmidt wrote:
>
...
>> Briefly stated, at some apparently-random point the radius server
>> attempts to reconnect to the back-end ldap server, but the connection
>> fails with "Undefined subroutine &main:: called at
>> /usr/share/perl5/IO/Socket/SSL.pm line 391."
>
...
> Also, one idea we discussed here is to try upgrading Net::SSLeay. Can
> you try compiling Net::SSLeay locally and try the latest version?

I manually upgraded Net::SSLeay on Ubuntu 12.04 as follows:

   # Check current version
   perl -MNet::SSLeay -e 'print "$Net::SSLeay::VERSION\n"'
   # Bring in build dependencies
   aptitude build-dep libnet-ssleay-perl
   # Follow defaults when running cpan
   cpan Net::SSLeay
   # Check post-upgrade version
   perl -MNet::SSLeay -e 'print "$Net::SSLeay::VERSION\n"'

The default was version 1.42 installed in /usr/lib/perl5/Net, and the 
upgrade was 1.48 installed in /usr/local/lib/perl/5.14.2/Net.  I still 
had a crash with HoldServerConnection enabled, but it appears to be 
stable without HoldServerConnection.

Thanks for the suggestion to upgrade Net::SSLeay, this allowed us to 
return to stable operation.

Cheers,

-- 
Kevin Schmidt
Office of Information Technology
University of California, Santa Barbara
North Hall 2124
Santa Barbara, CA 93106-3201
805-893-7779
kps at ucsb.edu


More information about the radiator mailing list