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.

Jailshell - Mysql connect problems

Discussion in 'General Discussion' started by ck@phptalk, Dec 31, 2003.

  1. ck@phptalk

    ck@phptalk Active Member

    Joined:
    Nov 6, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth
    WHM 8.5.4 cPanel 8.5.5-E38
    FreeBSD 4.9-RELEASE - WHM X v2.1.1

    While user is jailshell and tries to connect to mysql

    >mysql

    He gets the following error:

    /usr/libexec/ld-elf.so.1: Shared object "libmysqlclient.so.12" not found

    Linking to /usr/libexec/libmysqlclient.so.12 from /usr/local/lib/mysql/libmysqlclient.so.12 did not work either.

    Any help would be appreciated.

    Thanks.
     
  2. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    try enabling normal shell. i don't think the user can connect to mysql in jail shell.
     
  3. ck@phptalk

    ck@phptalk Active Member

    Joined:
    Nov 6, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth
    Hi.

    Thank you for the response.


    We have just converted our OS from redHat to freeBSD and clients would use jailshell to connect mysql...:confused:
     
  4. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    jailshell on freebsd is completely jailed..safer, but maybe pointless.
     
  5. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    Would like to hear your thoughts, though, on freebsd because I'm thinking of making the switch, too.
     
  6. ck@phptalk

    ck@phptalk Active Member

    Joined:
    Nov 6, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth

    So do i misremember? Connection mysql via jailshell is available in redhat???
     
  7. casey

    casey Well-Known Member

    Joined:
    Jan 17, 2003
    Messages:
    2,303
    Likes Received:
    0
    Trophy Points:
    36
    Location:
    If there is trouble, it will find me
    No, you are correct. It works in redhat.
     
  8. ck@phptalk

    ck@phptalk Active Member

    Joined:
    Nov 6, 2003
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Earth
    Anyone has similar problem and already fixed? Or any idea?
     
Loading...

Share This Page