InstantSSH mysqltools

  • Hi all,


    i have a problem with mysqltoos in a ssh-session there ist created with instantSSH
    i have added "mysqltools" in the "app_sections"-Array in Instantssh config.php. In the plugin-management of the i-mscp-gui i have startet the update (ended witout error)


    but i get the following Error-Message:

    Code
    1. mysqllibgcc_s.so.1 must be installed for pthread_cancel to work Aborted (core dumped)


    where is my Mistake?


    ###############################################################


    Hallo zusammen,


    ich habe ein Problem mit den mysqltools in einer per InstantSSH erstellten ssh-Session


    ich habe in der config.php vom Instantssh im "app_sections"-Array die "mysqltools" hinzugefügt und über die Pluginverwaltung aktiviert.


    leider bekommt der User folgende Fehlermeldung:


    Code
    1. mysql
    2. libgcc_s.so.1 must be installed for pthread_cancel to work Aborted (core dumped)


    hab ich irgendwo einen Fehler gemacht?


    Betriebsystem Ubuntu 14.04 LTS (Patchstand vom 25.02.2015)
    i-MSCP 1.2.2
    Build: 20150212


    InstantSSH: Version 3.0.1


    an weiteren Plugins sind nur PanelRedirect ( 1.0.5) und ServerDefaultPage (1.0.5) installiert.

    Support Infos: I-MSCP Version: 1.5.3 / Distro: Debian Stretch / PHP: 7.1.33 - FPM / I-MSCP Plugins: Let´s Encrypt 3.5.0 / and many others

  • Hello ;


    @iXware


    I need to known how I can reproduce the error. Does that problem occurs when you are running mysql command line tool or when you're running a specific PHP (CLI) script (which connect to MySQ) ?

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Hello Laurent,


    I get the error when using the command line tool. All users on this machine get the error, both with a existing and newly created users. But, on a other system i dont get this error.. yesterday i have updated the plugin to the version 3.1.2 - with the same problem at the end.


    Edit: where can i switch on debug logging for the instantssh plugin?

    Support Infos: I-MSCP Version: 1.5.3 / Distro: Debian Stretch / PHP: 7.1.33 - FPM / I-MSCP Plugins: Let´s Encrypt 3.5.0 / and many others

  • the file ibgcc_s.so.1 does not exist in /var/chroot/InstantSSH/shared_jail/lib/x86_64-linux-gnu/
    i have copied this file manually from /lib/x86_64-linux-gnu/ to the jail-directory. now the mysql-commandline tool runs without problem. but why was not the file in the jail-directory? There may be other problems possibly in future?

    Support Infos: I-MSCP Version: 1.5.3 / Distro: Debian Stretch / PHP: 7.1.33 - FPM / I-MSCP Plugins: Let´s Encrypt 3.5.0 / and many others

  • Re;


    @iXware


    Thank for the information.


    What is the result of the following command on the system which pose problem?


    Shell-Script
    1. # ldd /usr/bin/mysql

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @iXware


    I can confirm the problem on Trusty. I'll investigate and fix.


    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Re;


    Problem found. It appear that the libgcc_s.so.1 shared library is not listed in ldd output. This explain why that library is not copied.


    Trusty LDD output

    Shell-Script
    1. [email protected]:~$ ssh [email protected]@192.168.5.113's password: Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 2.6.32-34-pve x86_64) * Documentation: https://help.ubuntu.com/Last login: Fri Feb 27 14:19:33 2015 from [email protected]:~# which mysql/usr/bin/[email protected]:~# ldd /usr/bin/mysql linux-vdso.so.1 => (0x00007fff743fe000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f0e6e65d000) libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007f0e6e417000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f0e6e1fd000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f0e6dff9000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f0e6dcf3000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f0e6d92d000) /lib64/ld-linux-x86-64.so.2 (0x00007f0e6edd9000) libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f0e6d704000)


    Debian ldd output

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Nuxwin
    I can see that library!


    $ldd /usr/bin/mysql
    linux-vdso.so.1 => (0x00007fff94385000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f1da7948000)
    libreadline.so.6 => /lib/x86_64-linux-gnu/libreadline.so.6 (0x00007f1da7701000)
    libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f1da74e9000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f1da72e1000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1da70dd000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f1da6dd5000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f1da6b53000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f1da693d000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f1da65b1000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f1da80d1000)
    libtinfo.so.5 => /lib/x86_64-linux-gnu/libtinfo.so.5 (0x00007f1da6388000)

    i-MSCP 1.5.3

  • @fote98


    Under wheezy yes ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206