【问题标题】:Windows Subsystem for Linux: Error while installing MSSQL Server适用于 Linux 的 Windows 子系统:安装 MSSQL Server 时出错
【发布时间】:2017-10-08 21:42:47
【问题描述】:

我刚刚将 Microsoft SQL Server 下载并安装到我的 WSL 环境中。当我运行sudo /opt/mssql/bin/mssql-conf setup 时,一切都很顺利。系统提示我输入安装版本(例如开发人员)、安装语言和管理员密码。当提示确认时,会发生这种情况:

    Enter the SQL Server system administrator password:
Confirm the SQL Server system administrator password:
Configuring SQL Server...

This program has encountered a fatal error and cannot continue running.
The following diagnostic information is available:

       Reason: 0x00000003
      Message: fd != -1
   Stacktrace: 00007fda0c625833 00007fda0bfe76ba 00007fda095e682d
      Process: 397 - sqlservr
       Thread: 398
  Instance Id: 211a9fac-1061-47f2-8548-ab92a985561c
     Crash Id: e0ebf051-c561-4c3e-9162-e4fdf862b85f
  Build stamp: 33abe47c18f6a90a4d4f4d452a4549c8fd970e1c89a3d9170ba3b0292bc485a5
Multiple crashes have occurred
This program has encountered a fatal error and cannot continue running.
The following diagnostic information is available:

       Reason: 0x00000003
      Message: fd != -1
   Stacktrace: 00007fda0c625a0c 00007fda0bfe76ba 00007fda095e682d
      Process: 399 - sqlservr
       Thread: 401
  Instance Id: 211a9fac-1061-47f2-8548-ab92a985561c
     Crash Id: e0ebf051-c561-4c3e-9162-e4fdf862b85f
  Build stamp: 33abe47c18f6a90a4d4f4d452a4549c8fd970e1c89a3d9170ba3b0292bc485a5
*********** PANIC CORE DUMP GENERATION FAILED **********
Attempt to launch handle-crash.sh failed with error 0x0000000C
/opt/mssql/lib/mssql-conf/invokesqlservr.sh: line 15:   396 Aborted                 (core dumped) sudo -EH -u mssql /bin/bash -c "$CMDLINE"
Failed to connect to bus: No such file or directory
Attempting to start the Microsoft SQL Server service failed.

所以安装配置失败(每次)并且服务不会运行。 有没有其他人遇到过这个问题? Google 上几乎没有关于此的内容,这就是我尝试 SO 的原因。

【问题讨论】:

  • 我刚刚将 Windows 更新到 Fall Creators Update 版本 1709 OS Build 16299,并且我正在使用全新安装的 WSL Ubuntu,但安装 SQL Server 仍然没有乐趣。我得到与上面显示的相同的错误。我猜我的机器上不可能在 Linux 上安装 SQL Server,可能是由于硬件限制。

标签: sql-server linux windows-subsystem-for-linux


【解决方案1】:

目前,不支持将适用于 Windows 10 的 Windows 子系统作为 MSSQL-Server 的安装目标。

来源: https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu

【讨论】:

    猜你喜欢
    • 2016-07-27
    • 2019-07-03
    • 2018-04-07
    • 2020-09-14
    • 2019-06-07
    • 2021-04-23
    • 1970-01-01
    • 2017-12-14
    • 2020-12-09
    相关资源
    最近更新 更多