Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4503

Maria DB msi install fails ... no specifed error message or reason

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Cannot install Maria DB on Windows 8 32 bit.

      The installer starts ... runs ... then unwinds itself and simply says "there was an error".

      Attachments

        Activity

          GDFrank GDFrank created issue -

          Hi Wlad,

          Is it supposed to work on Windows 8 32-bit?

          elenst Elena Stepanova added a comment - Hi Wlad, Is it supposed to work on Windows 8 32-bit?
          elenst Elena Stepanova made changes -
          Field Original Value New Value
          Assignee Vladislav Vaintroub [ wlad ]
          wlad Vladislav Vaintroub added a comment - - edited

          There is no specific reason why it could not work on Win8 32 bit. We have some percentage for Win8 in stats http://mariadb.org/feedback_plugin/stats/windows/ , and of those there will be hopefully one or two running 32 bit version.
          GDFrank : can you please run installer in logging mode,

          msiexec.exe /i <package.msi> /l*v installlog.txt
          (substitute <package.msi> with the package you're trying)

          and send the log?
          Thanks!

          wlad Vladislav Vaintroub added a comment - - edited There is no specific reason why it could not work on Win8 32 bit. We have some percentage for Win8 in stats http://mariadb.org/feedback_plugin/stats/windows/ , and of those there will be hopefully one or two running 32 bit version. GDFrank : can you please run installer in logging mode, msiexec.exe /i <package.msi> /l*v installlog.txt (substitute <package.msi> with the package you're trying) and send the log? Thanks!

          I now verified that MariaDB (tried 10.0.2) installs on Win8 32 bit no problem. It must be something else that just OS version that would make installation fail, and this something is mostly likely in the log.

          wlad Vladislav Vaintroub added a comment - I now verified that MariaDB (tried 10.0.2) installs on Win8 32 bit no problem. It must be something else that just OS version that would make installation fail, and this something is mostly likely in the log.
          serg Sergei Golubchik made changes -
          Due Date 2013-06-09
          GDFrank GDFrank added a comment - - edited

          MSI (c) (34:48) [08:11:59:435]:
          Windows Installer installed the product.
          Product Name: MariaDB 5.5.
          Product Version: 5.5.30.3690.
          Product Language: 1033.
          Manufacturer: Monty Program AB.
          Installation success or error status: 1603.

          Is "1603" enough ... or is the whole log file needed?

          GDFrank GDFrank added a comment - - edited MSI (c) (34:48) [08:11:59:435] : Windows Installer installed the product. Product Name: MariaDB 5.5. Product Version: 5.5.30.3690. Product Language: 1033. Manufacturer: Monty Program AB. Installation success or error status: 1603. Is "1603" enough ... or is the whole log file needed?
          wlad Vladislav Vaintroub added a comment - - edited

          Can you attach the full log? (IT is in menu More=>Attach Files). It should be > 1MB (my installation generated 1.5MB verbose log file)

          wlad Vladislav Vaintroub added a comment - - edited Can you attach the full log? (IT is in menu More=>Attach Files). It should be > 1MB (my installation generated 1.5MB verbose log file)
          GDFrank GDFrank made changes -
          Attachment dbinstall-log.txt [ 22019 ]

          1603 is "generic machine specific error" .. Not enough

          wlad Vladislav Vaintroub added a comment - 1603 is "generic machine specific error" .. Not enough
          GDFrank GDFrank added a comment -

          utf8 version

          GDFrank GDFrank added a comment - utf8 version
          GDFrank GDFrank made changes -
          Attachment dbinstall-log.utf8.txt [ 22020 ]
          wlad Vladislav Vaintroub added a comment - - edited

          it looks like he reason for behavior is that mysql_install_db.exe failed, because when it ran mysqld in bootstrap mode, mysqld died it wrote something about lc-message-dir being used and that this is deprecared, but since installation works everywhere else, it should not be reason for sudden mysqld death.

          Now we can:
          1) Trying to localize the error. I put together a package that is a bit more verbose, and should include the output of mysqld.exe and the exact command line , when installer runs in logging mode
          Would you like to run it, as before from the command line with msiexec ? That might help actually.
          The package is on my SkyDrive here https://skydrive.live.com/#cid=FF0C950417B4F8A4&id=FF0C950417B4F8A4%21110

          2) You can install binaries, but deselct "Database Instance" in MSI Feature tree. The result us that after the installation there won't be a running database, only binaries.

          You can create an instanse with mysql_install_db.exe
          mysql_install_db.exe --datadir=<dir> --password=<password> --service=<service>, as described in the MariaDB documentation https://kb.askmonty.org/en/mysql_install_dbexe/

          There is no guarantee that it does not die though, because during MSI installation the same exact command died. However command line is much nicer to get the error reproduced than MSI, so we can look further.

          Please indicate if you would like 1) or 2).

          thanks,
          Wlad

          wlad Vladislav Vaintroub added a comment - - edited it looks like he reason for behavior is that mysql_install_db.exe failed, because when it ran mysqld in bootstrap mode, mysqld died it wrote something about lc-message-dir being used and that this is deprecared, but since installation works everywhere else, it should not be reason for sudden mysqld death. Now we can: 1) Trying to localize the error. I put together a package that is a bit more verbose, and should include the output of mysqld.exe and the exact command line , when installer runs in logging mode Would you like to run it, as before from the command line with msiexec ? That might help actually. The package is on my SkyDrive here https://skydrive.live.com/#cid=FF0C950417B4F8A4&id=FF0C950417B4F8A4%21110 2) You can install binaries, but deselct "Database Instance" in MSI Feature tree. The result us that after the installation there won't be a running database, only binaries. You can create an instanse with mysql_install_db.exe mysql_install_db.exe --datadir=<dir> --password=<password> --service=<service>, as described in the MariaDB documentation https://kb.askmonty.org/en/mysql_install_dbexe/ There is no guarantee that it does not die though, because during MSI installation the same exact command died. However command line is much nicer to get the error reproduced than MSI, so we can look further. Please indicate if you would like 1) or 2). thanks, Wlad
          GDFrank GDFrank added a comment -

          tried the "31" install ... same results ... here is the log.

          GDFrank GDFrank added a comment - tried the "31" install ... same results ... here is the log.
          GDFrank GDFrank made changes -
          Attachment dbinstall-31.txt [ 22021 ]

          The result is the same because the bug is not yet identified. At the moment we just tracing it.

          And the log is more useful than previous one, you can find
          CAQuietExec: ERROR: 1049 Unknown database 'mysql'
          CAQuietExec: 130509 13:15:20 Aborting

          there. This means that 'mysql' directory creation has failed on some reason. this is becoming interesting.
          Would you mind, if I ask you to try out another installer, some time next week? I need to add some more trace to catch the bug.

          wlad Vladislav Vaintroub added a comment - The result is the same because the bug is not yet identified. At the moment we just tracing it. And the log is more useful than previous one, you can find CAQuietExec: ERROR: 1049 Unknown database 'mysql' CAQuietExec: 130509 13:15:20 Aborting there. This means that 'mysql' directory creation has failed on some reason. this is becoming interesting. Would you mind, if I ask you to try out another installer, some time next week? I need to add some more trace to catch the bug.
          GDFrank GDFrank added a comment -

          Glad to help out in any way I can.

          Would you mind if we communicated via email?

          GDFrank GDFrank added a comment - Glad to help out in any way I can. Would you mind if we communicated via email?
          GDFrank GDFrank made changes -
          Attachment dbinstall-log.txt [ 22019 ]
          GDFrank GDFrank made changes -
          Attachment dbinstall-log.utf8.txt [ 22020 ]
          GDFrank GDFrank made changes -
          Attachment dbinstall-31.txt [ 22021 ]
          wlad Vladislav Vaintroub added a comment - - edited

          Note to myself :

          this is an old bug http://bugs.mysql.com/bug.php?id=20597, which was never fixed. The TEMP directory on this particular machine is D:~\TMP. Paths with tilde have special handling in cleanup_dirname() function in mf_pack.c (this function is used in init_tmpdir) . The special handling consists of removing the part prior to tilde character. I think in some circumstances, tilde can be expanded , at least there is expand_tilde() function I'm not sure whether fixing tilde handling with removing it is appropriate (probably can break something). In any case, I can disable tilde-directories in installer, and complain loudly before mysql_install_db.exe is called.

          wlad Vladislav Vaintroub added a comment - - edited Note to myself : this is an old bug http://bugs.mysql.com/bug.php?id=20597 , which was never fixed. The TEMP directory on this particular machine is D:~\TMP. Paths with tilde have special handling in cleanup_dirname() function in mf_pack.c (this function is used in init_tmpdir) . The special handling consists of removing the part prior to tilde character. I think in some circumstances, tilde can be expanded , at least there is expand_tilde() function I'm not sure whether fixing tilde handling with removing it is appropriate (probably can break something). In any case, I can disable tilde-directories in installer, and complain loudly before mysql_install_db.exe is called.
          wlad Vladislav Vaintroub made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          wlad Vladislav Vaintroub made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          wlad Vladislav Vaintroub made changes -
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 27366 ] MariaDB v2 [ 45046 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 45046 ] MariaDB v3 [ 65596 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 65596 ] MariaDB v4 [ 132122 ]

          People

            wlad Vladislav Vaintroub
            GDFrank GDFrank
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.