Modules::Domain::restore: bzcat: Can't open input file testing_db_live: No such file or directory.

  • Hi,


    i have the same error for one customer. The message in the panel is "Modules::Domain::restore: bzcat: Can't open input file Joomla: No such file or directory". Everyone any idea?


    Kuhlma

  • Hello ;


    Tests are planned. This issue will be addressed soon.

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

  • Re ;


    Problem confirmed. Will be fixed in next minutes.



    Refs:


    /var/log/imscp/Domain_module_restore.nuxwin.com.log

    Code
    1. [Thu May 15 03:08:03 2014] [debug] iMSCP::Dir::_get: Opening directory /var/www/virtual/restore.nuxwin.com/backups[Thu May 15 03:08:03 2014] [debug] iMSCP::Execute::execute: Executing command: /bin/bzcat -d to_restore[Thu May 15 03:08:03 2014] [debug] iMSCP::Execute::getExitCode: External command exited with value 1[Thu May 15 03:08:03 2014] [warn] Modules::Domain::restore: Unable to restore SQL database: bzcat: Can't open input file to_restore: No such file or directory....


    Shell-Script
    1. root@wheezy:/usr/local/src/imscp# ls -la /var/www/virtual/restore.nuxwin.com/backups/
    2. total 32
    3. drwxr-x--- 2 vu2031 vu2031 4096 mai 15 02:55 .
    4. drwxr-x--- 10 vu2031 vu2031 4096 mai 14 20:10 ..
    5. -rw-r--r-- 1 vu2031 vu2031 19465 mai 15 02:55 restore.nuxwin.com-backup-2014.05.15-02-55.tar.bz2
    6. -rw-r--r-- 1 vu2031 vu2031 908 mai 15 02:55 to_restore.sql.bz2
    7. root@wheezy:/usr/local/src/imscp#

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

  • Re;


    Should be fixed in last stable branch. See https://github.com/i-MSCP/imsc…40932abadae638db1aebadf35


    Thank you all for your reports.

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

  • Thanks for all your work with this.


    Unfortunately I haven't been able to get it to work for me yet. - edit: due to the SSL changes added in that branch, waiting on SSL provider for fix.


    Cheers!

  • Hello ;


    Teamviewer?

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

  • Sorry nuxwin, I had posted about a problem before reading the SSL announcement thread. I had one of the certificates with only the intermediate bundle and no root CA, so it's actually unrelated. I verified this in the logs.


    I have a ticket open with GlobeSSL now to get the root certificate. My certificates are almost due for renewal anyway if it doesn't pan out. I think I can work the rest out, and I'll be sure to donate when I'm able :)


    One thing I would note is it wasn't clear what went wrong during the "upgrade" to stable branch from 1.1.5. Everything looked like it worked fine and then apache wasn't running. The errors read like a file encoding problem, so people upgrading would know it was openssl and a specific pem file, but not why. You may consider a way to disable them during the install or detect them and link to the SSL announcement thread? I suspect it would effect a lot of certificates. You're a busy guy and you'd know better than me, just thought I'd mention it. In case you were wondering the log entries:
    [Mon May 19 15:36:02 2014] [error] Init: Unable to read server certificate from file /var/www/imscp/gui/data/certs/domain.com.pem
    [Mon May 19 15:36:02 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag
    [Mon May 19 15:36:02 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error

  • Re;


    @o-leary


    Quote from o-leavy
    Code
    1. [Mon May 19 15:36:02 2014] [error] Init: Unable to read server certificate from file /var/www/imscp/gui/data/certs/domain.com.pem[Mon May 19 15:36:02 2014] [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag[Mon May 19 15:36:02 2014] [error] SSL Library Error: 218595386 error:0D07803A:asn1 encoding routines:ASN1_ITEM_EX_D2I:nested asn1 error


    The problem above is not due to a wrong certificate but to an encoding issue. It's my fault because I've not updated existent certificates in database (a line feed is missing between the user certificate and the ca bundle).


    If you open the generated file /var/www/imscp/gui/data/certs/domain.com.pem, you 'll see that the certificate end-tag and the ca_bundle (first certificate begin-tag) are on the same line. It's wrong and I'll fix that. Of course, the announcement still valid.



    BTW: I think you need the Add trust Root certificate for your globeSSL certificate (see below) which must be added at bottom of your ca bundle:


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