Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    40
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default [FreeBSD 6.2] libm.so.3 error

    Last night cpanel broke down (probably after it ran upcp) and every 5 minute I get a mail saying it is down so I ran /scripts/upcp --force on the prompt and it ends with:

    Code:
    ==> Post Install Complete
    ...Done
    Updating Addons.../usr/libexec/ld-elf.so.1: /usr/local/lib/compat/pkg/libm.so.3: unsupported file layout
    ...Done
    Running postinstall scripts.../usr/libexec/ld-elf.so.1: /usr/local/lib/compat/pkg/libm.so.3: unsupported file layout
    /usr/libexec/ld-elf.so.1: /usr/local/lib/compat/pkg/libm.so.3: unsupported file layout
    Scanning suexec_log...Done
    ...Done
    how do I fix libm.so.3? what package do I need to reinstall?

  2. #2
    Member
    Join Date
    Sep 2003
    Location
    UK, Luton
    Posts
    197

    Default

    Hi,

    First tip: Don't run automatic updates, turn those off from the Update Config.

    I've also experienced this same issue. I believe its caused by cPanel trying to update a compat package from ports. Its completely screwing everything on the server.
    Regards,
    James Smith
    UH Hosting Ltd

  3. #3
    Member
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    40
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by JamesSmith View Post
    First tip: Don't run automatic updates, turn those off from the Update Config.

    Thought I had turned it off, but apparantly not......

    how did you fix it?

  4. #4
    Member
    Join Date
    Sep 2003
    Location
    UK, Luton
    Posts
    197

    Default

    I've reinstalled compat5x and it seems to have fixed it.
    Regards,
    James Smith
    UH Hosting Ltd

  5. #5
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jan 2007
    Posts
    14

    Default

    Whoops, wrong account.

  6. #6
    Member
    Join Date
    Sep 2003
    Location
    UK, Luton
    Posts
    197

    Default

    If you're running FreebSD 64bit, try running this:

    cd /usr/ports/misc/compat5x && make deinstall && make reinstall && mv /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg.old && ln -s /usr/local/lib/compat /usr/local/lib/compat/pkg

    And then restart cPanel:

    /etc/init.d/cpanel4 start

    It looks like cPanel is installing the 32bit compat5x port, rather than the 64bit port, which is generally already installed.

    Let me know how this goes for you.
    Regards,
    James Smith
    UH Hosting Ltd

  7. #7
    Member
    Join Date
    Mar 2004
    Location
    Netherlands
    Posts
    40
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by JamesSmith View Post
    If you're running FreebSD 64bit, try running this:

    cd /usr/ports/misc/compat5x && make deinstall && make reinstall && mv /usr/local/lib/compat/pkg /usr/local/lib/compat/pkg.old && ln -s /usr/local/lib/compat /usr/local/lib/compat/pkg

    And then restart cPanel:

    /etc/init.d/cpanel4 start

    It looks like cPanel is installing the 32bit compat5x port, rather than the 64bit port, which is generally already installed.

    Let me know how this goes for you.
    million thanx, that fixed it and looks better than the fix cPanel suggested

Similar Threads & Tags
Similar threads

  1. X11BASE error in freebsd ??
    By nyjimbo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-02-2007, 10:20 AM
  2. Error in FreeBSD
    By magola in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 07-20-2006, 07:06 AM
  3. libm.so.3 missing, where can I get it? (urgent)
    By flashsonix in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-02-2005, 04:32 AM
  4. No access to WHM, Mail and FTP + "libm.so.3" not found
    By flashsonix in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-24-2005, 01:09 PM
  5. FreeBSD 4.10 Installation Error
    By Necroist in forum New User Questions
    Replies: 2
    Last Post: 07-22-2004, 07:36 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube