我刚刚下载了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.因此,安装的配置(每次)都会失败,服务也不会运行。还有没有人遇到过这个问题?谷歌上几乎没有关于这方面的内容,这就是我尝试的原因。
发布于 2017-11-11 01:05:48
目前,不支持将Windows Subsystem for Linux for Windows 10作为MSSQL-Server的安装目标。
来源:https://docs.microsoft.com/en-us/sql/linux/quickstart-install-connect-ubuntu
https://stackoverflow.com/questions/46636359
复制相似问题