Results 1 to 10 of 10

Thread: Try to install CentOS 6.2 32-bit server failed with libxml2.so.2 problem?

  1. #1
    Join Date
    Nov 2006
    Posts
    88

    Try to install CentOS 6.2 32-bit server failed with libxml2.so.2 problem?

    New fresh CentOS 32b, 6.2 on a VPS running with OpenVZ Virtualization

    yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl quota libaio libcom_err-devel libcurl-dev gd db4-devel cyrus-sasl-devel

    install DA

    cd /usr/local/directadmin/custombuild
    ./build update
    ./build zlib
    ./build all y

    Running YUM UPGRADE

    ldconfig

    Sign on to DA.
    Add my domain
    Try to remove (wrong) NS entry.

    This are the error:....

    Unable to save dns zone: named-zonecheck returned:
    /usr/sbin/named-checkzone: /usr/local/lib/libxml2.so.2: no version information available (required by /usr/lib/libisc.so.62)

    locate libxml2.so.2 give this info:
    [root@vps2 /]# locate libxml2.so.2
    /usr/lib/libxml2.so.2
    /usr/lib/libxml2.so.2.7.6
    /usr/local/directadmin/custombuild/libxml2-2.7.8/.libs/libxml2.so.2
    /usr/local/directadmin/custombuild/libxml2-2.7.8/.libs/libxml2.so.2.7.8
    /usr/local/lib/libxml2.so.2
    /usr/local/lib/libxml2.so.2.7.8

    I have try to remove libxml2.so.2.7.8 and create sym link, but no luck?

    Some ideas ?

    Thank you

  2. #2
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    I'm not sure what CentOS32b means. What does that last letter b stand for?

    No luck meaning you can't remove/replace it? Or no luck meaning it didn't help?

    What command did you use to remove libxml2.so.2.7.8 and create the symlink?

    My understanding is that you should remove /usr/local/lib/libxml2.so.2 and then create a link from it to /usr/local/lib/libxml2.so.2.7.8, but first you should make a backup.:

    libxml2.so.2 -> libxml2.so.2.7.8

    I'm also not sure from the error message that the problem is with libxml2.so.2.7.8; I'd hope so, from the error message, but make sure that /usr/lib/libisc.so.62 exists. (the isc in the name of that library refers to Internet Systems Consortium, the maintainers of BIND.

    And I could be missing something else entirely.

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  3. #3
    Join Date
    Nov 2006
    Posts
    88

    libxml2.so.2.7.8

    Quote Originally Posted by NoBaloney2 View Post
    I'm not sure what CentOS32b means. What does that last letter b stand for?
    Sorry, typing error, I mean CentOS6 32bit OS
    No luck meaning you can't remove/replace it? Or no luck meaning it didn't help?
    it didn't help
    What command did you use to remove libxml2.so.2.7.8 and create the symlink?
    I remove by WinSCP and create a symlink
    My understanding is that you should remove /usr/local/lib/libxml2.so.2 and then create a link from it to /usr/local/lib/libxml2.so.2.7.8, but first you should make a backup.:
    [COLOR="rgb(0, 0, 0)"]Thank you, I have try that.[/COLOR]
    libxml2.so.2 -> libxml2.so.2.7.8

    I'm also not sure from the error message that the problem is with libxml2.so.2.7.8; I'd hope so, from the error message, but make sure that /usr/lib/libisc.so.62 exists. (the isc in the name of that library refers to Internet Systems Consortium, the maintainers of BIND.
    Yes, it exist
    And I could be missing something else entirely.

    Jeff
    Thank you Jeff, I have done all that stuff, and reinstall DA with the code from file with date 02-Mar-2012 04:33, but still the same problem
    This i a new server, but if I don't can have good instruction for install 6.xx, I have to change to OS 5.xx instead.
    Last edited by SajtXL; 03-02-2012 at 02:28 PM.

  4. #4
    Join Date
    Aug 2008
    Posts
    4,697
    What do you get with:

    rpm -aq | grep -i bind

  5. #5
    Join Date
    Nov 2006
    Posts
    88
    Quote Originally Posted by scsi View Post
    What do you get with:

    rpm -aq | grep -i bind
    [root@vps2 ~]# rpm -aq | grep -i bind
    bind-libs-9.7.3-8.P3.el6_2.2.i686
    bind-9.7.3-8.P3.el6_2.2.i686
    rpcbind-0.2.0-8.el6.i686
    bind-utils-9.7.3-8.P3.el6_2.2.i686
    samba-winbind-clients-3.5.10-114.el6.i686
    [root@vps2 ~]#

  6. #6
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    I've edited your reply to me to use the quote system to make it understandable at first glance. I've renamed the thread to make it more clear.

    Why do you have samba-winbind-clients installed on a CentOS server? I hope you're not using samba across the 'net to connect to a Microsoft SMB network; it's very insecure. Removing that rpm may possibly solve the problem.

    Our 32-bit CentOS 6 installs have:
    Code:
    [root@server ~]# rpm -qa | grep bind
    bind-utils-9.7.3-8.P3.el6_2.2.i686
    rpcbind-0.2.0-8.el6.i686
    bind-libs-9.7.3-8.P3.el6_2.2.i686
    bind-9.7.3-8.P3.el6_2.2.i686
    [root@server ~]#
    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  7. #7
    Join Date
    Nov 2006
    Posts
    88
    Quote Originally Posted by NoBaloney2 View Post
    I've edited your reply to me to use the quote system to make it understandable at first glance. I've renamed the thread to make it more clear.

    Why do you have samba-winbind-clients installed on a CentOS server? I hope you're not using samba across the 'net to connect to a Microsoft SMB network; it's very insecure. Removing that rpm may possibly solve the problem.

    Our 32-bit CentOS 6 installs have:
    Code:
    [root@server ~]# rpm -qa | grep bind
    bind-utils-9.7.3-8.P3.el6_2.2.i686
    rpcbind-0.2.0-8.el6.i686
    bind-libs-9.7.3-8.P3.el6_2.2.i686
    bind-9.7.3-8.P3.el6_2.2.i686
    [root@server ~]#
    Jeff
    Thank you for your assistance.

    Samba was installed by default. I can remove it if you thought it can help.

  8. #8
    Join Date
    Jun 2007
    Location
    California
    Posts
    498
    I don't know if it's going to resolve the problem. If your server has all of samba installed, then you should consider that:

    (a) samba over the years does not have a great security record, especially in default setup

    (b) every piece of software on your server is a possible vector for attack, and a shared webhosting server shouldn't have any extra software it doesn't really need

    (c) whomever installed your server may have installed many other packages as well which contribute to insecurity.

    Generally when we find samba installed on a webhosting server we find that the server was installed using all the CentOS server packages, most of which shouldn't be installed on an Internet-facing shared webhosting server.

    Certainly removing the package shouldn't hurt, but I only guarantee my work; not suggestions I recommend on these forums. If you'd like I can certainly resolve your server issues with you CentOS 6.2 36-bit server installation as a commercial service; please feel free to call or write me at the information below (PMs generally do not get answered as quickly as do emails).

    Jeff
    Serving the DirectAdmin community since 2003
    See Additional posts under user nobaloney

    directadmin@nobaloney.net +1 951 643-5345
    Contract DirectAdmin administration and support
    Dedicated Servers, Dedicated Reseller Accounts
    http://www.nobaloney.net
    NoBaloney Internet Services div. Qnito Incorporated
    848 North Rainbow Blvd., Suite #3789
    Las Vegas, NV 89107-1103

  9. #9
    Join Date
    Aug 2008
    Posts
    4,697
    Do the symbolic links of:

    /usr/local/lib/libxml2.so.2
    /usr/lib/libxml2.so.2

    point to the same place or somewhere different? You might want to try removing one or the other and see if it clears up your problem.

  10. #10
    Join Date
    Nov 2006
    Posts
    88
    Hi all.

    Problem solved with a new fresh install of DA (with out Samba), from 05-Mar-2012. I can see that option:
    #new version of zlib and libxml2 (experts only)
    new_zlib=no

    added to custombuild, thank you for that.

Similar Threads

  1. problem in install DA on New SERVER CENTOS 6.2 64bit
    By xoox in forum DirectAdmin General Discussion
    Replies: 23
    Last Post: 04-27-2012, 02:25 PM
  2. Imagick Install Problem On Centos 5
    By bilogate in forum System-Level Technical Discussion
    Replies: 2
    Last Post: 12-23-2011, 06:55 AM
  3. PHP5.1 needs libxml2 ... it won't install
    By modem in forum General Technical Discussion & Troubleshooting
    Replies: 8
    Last Post: 10-09-2008, 06:25 AM
  4. Problem with installation of libxml2
    By Slash in forum FreeBSD 6.x
    Replies: 3
    Last Post: 05-30-2008, 06:30 AM
  5. Help: CentOS 5 install problem
    By DonJohn in forum Installation / System Requirements
    Replies: 14
    Last Post: 11-12-2007, 01:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •