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

failure on installation

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 12.0.2
    • N/A
    • Server
    • Windows Server 2016 (Simplified Chinese)
    • Not for Release Notes

    Description

      Summary

      Installation fails on Windows Server 2016 with MariaDB 12.0 MSI - "ERROR: Can't write to mysqld's stdin" during bootstrap

      Environment

      • OS: Windows Server 2016 (x64)
      • MariaDB version: 12.0 (Windows MSI installer)
      • Installation mode: MSI installer, installing as Windows service (with "Register as Windows service" option)
      • Data directory & temp directory: (please specify actual path)
      • Setup run as: Administrator (elevated)
      • Antivirus / security software: temporarily disabled during install
      • Display settings: default scale (100%), standard fonts
      • Key log excerpt:
        ```
        CAQuietExec64: Running bootstrap
        CAQuietExec64: Registering service 'MariaDB'
        CAQuietExec64: Creating my.ini file
        CAQuietExec64: Executing ""C:\Program Files\MariaDB 12.0\bin\mysqld.exe" --defaults-file=my.ini --console --bootstrap --datadir=. --tmpdir=. --loose-innodb-buffer-pool-size=21M"
        CAQuietExec64: ERROR: Can't write to mysqld's stdin
        CAQuietExec64: FATAL ERROR: database creation failed
        CAQuietExec64: Error 0x80070001: Command line returned an error.
        CAQuietExec64: Error 0x80070001: QuietExec64 Failed
        CAQuietExec64: Error 0x80070001: Failed in ExecCommon64 method
        CustomAction CreateDatabase returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
        Action ended ... Return value 3.
        ```

      Steps to Reproduce

      1. Log into Windows Server 2016 with an Administrator account.
      2. Download the MariaDB 12.0 MSI installer.
      3. Right-click the installer and select "Run as administrator".
      4. During installation select the default options, including "Register as Windows service", specify (or accept) data directory & temp directory.
      5. The installer proceeds to "Creating my.ini file" and executes bootstrap command.
      6. Installation fails with the error above: "ERROR: Can't write to mysqld's stdin" and then rollback, returning error 1603.

      Actual Result

      The installation fails. During the bootstrap phase, `mysqld.exe` is invoked but reports:
      ```
      ERROR: Can't write to mysqld's stdin
      FATAL ERROR: database creation failed
      ```
      The CustomAction CreateDatabase returns error 1603. The Windows service "MariaDB" is not successfully registered/started.

      Expected Result

      The installer should complete successfully. The data directory should be initialized, the Windows service "MariaDB" registered and started. No "Can't write to mysqld's stdin" error should occur.

      Additional Information

      • Installation directory: `C:\Program Files\MariaDB 12.0\...` (please specify full path)
      • Data directory & temp directory were specified as relative paths (`-datadir=.` and `-tmpdir=.`) under the install folder.
      • Permissions: The install directory, data directory and temp directory are set to allow full control by SYSTEM and Administrators.
      • No other `mysqld.exe` process was running, sufficient disk space available, antivirus paused.
      • Also noted earlier UI warning:
        ```
        DEBUG: Error 2826: Control LinkFeedbackPlugin on dialog UserSettingsDlg extends beyond the boundaries of the dialog to the right by 3 pixels
        ```
        While this may be a UI layout issue, the primary failure occurs during bootstrap.
      • Full verbose MSI log file can be provided upon request.

      Priority

      Major

      Labels

      windows installation msi bootstrap error_1603 error_0x80070001

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mark.wang@e-button.com.tw Mark Wang
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.