The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

DNS Cluster error on new server

Discussion in 'Bind / DNS / Nameserver Issues' started by Bdzzld, Mar 30, 2006.

  1. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi,

    I've two servers setup in a DNS cluster. Now I'd like to add a new third server to the cluster.

    Changes I make onto the two first mentioned are propagated onto the other two, but changes I make onto the last one added are not propagated to the first two.
    There seems to be a problem with the DNS cluster on that one :

    Here is the error cPanel throws up while we try to access the DNS management area:
    Code:
    /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings  
    /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings  
    dnsadmin - GETZONELIST - 2EK6ftRFNiuuCV4ASOAUj763tFfqSlgc (REMOTE): symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings  
    dnsadmin - GETZONELIST - 2EK6ftRFNiuuCV4ASOAUj763tFfqSlgc (REMOTE): symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings  
    /usr/bin/perl: symbol lookup error: /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/SSLeay.so: undefined symbol: SSL_load_error_strings  
    
    Any ideas how to solve this problem? All three servers are running CentOS 4.3 x86_64.

    I've already created a ticket for this with cPanel, but they've not responded for 24hrs. and I'm unable to create any accounts due to this issue...

    Thanks.
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    That's happening because of the usual issues with 64bit linux where there are problems with the 32bit and 64bit libraries.

    You need to run:

    /scripts/perlinstaller --force Net::SSLeay

    and watch very closely for the inevitbale errors (usually something to do with a library missing) likely to be libssl.so or similar. You then need to find it on your server and symlink to in in /usr/lib/. Once the library is fixed, rerun the perl module install as above and make sure it goes through cleanly. Should then be OK.
     
  3. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Hi Chirpy,

    Thanks for the suggestion :

    /scripts/perlinstaller --force Net::SSLeay
    Code:
    Method: Perl Expect
    Testing connection speed...(this could take a while)....Done
    Three usable mirrors located
    Mirror Check passed for cpan.wanadoo.nl (/index.html)
    Dropping unknown config variable 'less'
    Dropping unknown config variable 'make_test'
    commit: wrote '/usr/lib/perl5/5.8.7/CPAN/Config.pm'
    CPAN: File::HomeDir loaded ok
    CPAN: Storable loaded ok
    Going to read /home/.cpan/Metadata
      Database was generated on Wed, 29 Mar 2006 15:44:03 GMT
    Running install for module Net::SSLeay
    Running make for F/FL/FLORA/Net_SSLeay.pm-1.30.tar.gz
    CPAN: Digest::SHA loaded ok
    CPAN: Module::Signature loaded ok
    WARNING: This key is not certified with a trusted signature!
    Primary key fingerprint: 2E66 557A B97C 19C7 91AF  8E20 328D A867 450F 89EC
    Signature for /home/.cpan/sources/authors/id/F/FL/FLORA/CHECKSUMS ok
    CPAN: Compress::Zlib loaded ok
    Checksum for /home/.cpan/sources/authors/id/F/FL/FLORA/Net_SSLeay.pm-1.30.tar.gz ok
    Scanning cache /home/.cpan/build for sizes
    Net_SSLeay.pm-1.30/
    Net_SSLeay.pm-1.30/examples/
    Net_SSLeay.pm-1.30/examples/stdio_bulk.pl
    Net_SSLeay.pm-1.30/examples/ssl_diff.pl
    Net_SSLeay.pm-1.30/examples/ephemeral.pl
    Net_SSLeay.pm-1.30/examples/cb-testi.pl
    Net_SSLeay.pm-1.30/examples/req.conf
    Net_SSLeay.pm-1.30/examples/get_page_cert.pl
    Net_SSLeay.pm-1.30/examples/cli-cert.pl
    Net_SSLeay.pm-1.30/examples/sslcat.pl
    Net_SSLeay.pm-1.30/examples/get_authenticated_page.pl
    Net_SSLeay.pm-1.30/examples/https-proxy-snif.pl
    Net_SSLeay.pm-1.30/examples/callback.pl
    Net_SSLeay.pm-1.30/examples/bio.pl
    Net_SSLeay.pm-1.30/examples/ssl-inetd-serv.pl
    Net_SSLeay.pm-1.30/examples/sslecho.pl
    Net_SSLeay.pm-1.30/examples/get_page.pl
    Net_SSLeay.pm-1.30/examples/tcpecho.pl
    Net_SSLeay.pm-1.30/examples/passwd-cb.pl
    Net_SSLeay.pm-1.30/examples/tcpcat.pl
    Net_SSLeay.pm-1.30/examples/bulk.pl
    Net_SSLeay.pm-1.30/examples/server_key.pem
    Net_SSLeay.pm-1.30/examples/makecert.pl
    Net_SSLeay.pm-1.30/examples/minicli.pl
    Net_SSLeay.pm-1.30/ptrcasttst.c
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/MANIFEST
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/Makefile.PL
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/test.pl
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/Changes
    Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50/Handle.pm
    Net_SSLeay.pm-1.30/Changes
    Net_SSLeay.pm-1.30/MANIFEST
    Net_SSLeay.pm-1.30/typemap
    Net_SSLeay.pm-1.30/SSLeay.pm
    Net_SSLeay.pm-1.30/META.yml
    Net_SSLeay.pm-1.30/.rnd
    Net_SSLeay.pm-1.30/QuickRef
    Net_SSLeay.pm-1.30/RECIPE.Win32
    Net_SSLeay.pm-1.30/Credits
    Net_SSLeay.pm-1.30/test.pl
    Net_SSLeay.pm-1.30/SSLeay.xs
    Net_SSLeay.pm-1.30/README.Win32
    Net_SSLeay.pm-1.30/ptrtstrun.pl
    Net_SSLeay.pm-1.30/README
    Net_SSLeay.pm-1.30/Makefile.PL
    Removing previously used /home/.cpan/build/Net_SSLeay.pm-1.30
    Package came without SIGNATURE
    
    
      CPAN.pm: Going to build F/FL/FLORA/Net_SSLeay.pm-1.30.tar.gz
    
    Checking for OpenSSL-0.9.6j or 0.9.7b or newer...
    You have OpenSSL-0.9.7a installed in /usr/local/ssl
    openssl-0.9.6i/0.9.7a and earlier versions have security flaws or bugs,
    see advisories at www.openssl.org, upgrading to openssl-0.9.6j
    or openssl-0.9.7b is recommended.
    *** Could not figure out which C compiler was used to compile /usr/local/ssl/bin/openssl. It is essentiall that OpenSSL, perl, and Net::SSLeay are compiled with the same compiler and flags. Mixing and matching compilers is not supported. at Makefile.PL line 140.
    Checking if your kit is complete...
    Looks good
    Note (probably harmless): No library found for -lssl
    Note (probably harmless): No library found for -lcrypto
    Checking if your kit is complete...
    Looks good
    Writing Makefile for Net::SSLeay::Handle
    Writing Makefile for Net::SSLeay
    CPAN: YAML loaded ok
    cp ptrtstrun.pl blib/lib/Net/ptrtstrun.pl
    cp SSLeay.pm blib/lib/Net/SSLeay.pm
    AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
    blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
     directory blib/lib/auto/Net/SSLeay:
      do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
      do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
      get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
      head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
      post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
      put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
      ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
      ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
      tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
      tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
    make[1]: Entering directory `/home/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    cp Handle.pm ../blib/lib/Net/SSLeay/Handle.pm
    Manifying ../blib/man3/Net::SSLeay::Handle.3
    make[1]: Leaving directory `/home/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    /usr/bin/perl /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap -typemap typemap  SSLeay.xs > SSLeay.xsc && mv SSLeay.xsc SSLeay.c
    cc -c  -I/usr/local/ssl/include -I/usr/local/ssl/inc32 -I/usr/kerberos/include -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O   -DVERSION=\"1.30\" -DXS_VERSION=\"1.30\" -fpic "-I/usr/lib/perl5/5.8.7/x86_64-linux/CORE"  -DPERL5 -DOPENSSL_NO_KRB5 SSLeay.c
    SSLeay.c: In function `XS_Net__SSLeay_d2i_SSL_SESSION':
    SSLeay.c:3086: warning: passing arg 2 of `d2i_SSL_SESSION' from incompatible pointer type
    Running Mkbootstrap for Net::SSLeay ()
    chmod 644 SSLeay.bs
    rm -f blib/arch/auto/Net/SSLeay/SSLeay.so
    LD_RUN_PATH="" cc  -shared -L/usr/local/lib SSLeay.o  -o blib/arch/auto/Net/SSLeay/SSLeay.so
    chmod 755 blib/arch/auto/Net/SSLeay/SSLeay.so
    cp SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs
    chmod 644 blib/arch/auto/Net/SSLeay/SSLeay.bs
    Manifying blib/man3/Net::SSLeay.3
      /usr/bin/make  -- OK
    Running make install
    make[1]: Entering directory `/home/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    make[1]: Leaving directory `/home/.cpan/build/Net_SSLeay.pm-1.30/Net-SSLeay-Handle-0.50'
    Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
    Writing /usr/lib/perl5/site_perl/5.8.7/x86_64-linux/auto/Net/SSLeay/.packlist
    Appending installation info to /usr/lib/perl5/5.8.7/x86_64-linux/perllocal.pod
      /usr/bin/make install UNINST=1 -- OK
    perlmod--Install done
    
    I see nothing I can continue with and it unfortuantely did not solve the issue...

    Do you have any other suggestions?
    Thanks.
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yup, as I said it would be in the output, i.e.:
    You need to locate libssl.so and libcrypto.so and symlink them to /usr/lib/
     
  5. Bdzzld

    Bdzzld Well-Known Member

    Joined:
    Apr 3, 2004
    Messages:
    356
    Likes Received:
    1
    Trophy Points:
    18
    Code:
    [/usr/lib]# ln -s /usr/lib64/libssl.so libssl.so
    [/usr/lib]# ln -s /usr/lib64/libcrypto.so libcrypto.so
    
    and then :

    Code:
    /scripts/perlinstaller --force Net::SSLeay
    
    solved the problem.

    Thanks chirpy, you're the man... ;)
     
    #5 Bdzzld, Mar 31, 2006
    Last edited: Mar 31, 2006
  6. xidica

    xidica Well-Known Member

    Joined:
    Apr 21, 2005
    Messages:
    63
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Texas
    chirpy is indeed the man. There's been a lot of issues out there that don't always get diagnosed as an issue stemming from Perl and it's modules. If you have some issue you just can't put your finger on, it's not a bad idea to check these things :D
     
Loading...

Share This Page