Subject: | Test fails as creating two listening ports |
Hi,
I think I might have a possible bug unless I've missed something very
basic.
I'm trying to install Net::LDAP::Server::Test from cpan on a CentOs 5.5.
What I get is the following output, highlighting a socket issue:
Removing previously used /root/.cpan/build/Net-LDAP-Server-Test-0.11
[...]
CPAN.pm: Going to build K/KA/KARMAN/Net-LDAP-Server-Test-0.11.tar.gz
Checking if your kit is complete...
Looks good
Writing Makefile for Net::LDAP::Server::Test
cp lib/Net/LDAP/Server/Test.pm blib/lib/Net/LDAP/Server/Test.pm
Manifying blib/man3/Net::LDAP::Server::Test.3pm
/usr/bin/make -- OK
Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load.t ....... 1/1 # Testing Net::LDAP::Server::Test 0.11, Perl
5.008008, /usr/bin/perl
t/00-load.t ....... ok
t/01-ldap.t ....... 1/12 Creating new LDAP server on port 10636 ...
Accepted connection from: 127.0.0.1
Creating new LDAP server on port 10636 ...
Unable to listen on port 10636: Address already in use at
/root/.cpan/build/Net-LDAP-Server-Test-
0.11/blib/lib/Net/LDAP/Server/Test.pm line 852.
... shutting down server
And there it stays frozen. It seems it tries to create the server twice
(Test.pm:852).
I've tried disabling iptables, no change.