Sql-Server

SQL Server 的 mssql-conf setup,錯誤 Aborted sudo

  • January 12, 2019

當我執行sudo /opt/mssql/bin/mssql-conf setup配置 SQL Server 2017 時,出現以下錯誤,

/opt/mssql/lib/mssql-conf/invokesqlservr.sh: line 15: 12710 Aborted                 sudo -EH -u mssql /bin/bash -c "$CMDLINE"

sudo禁用核心轉儲

To prevent the disclosure of potentially sensitive information, sudo disables core dumps by default while it is executing (they are re-enabled for the command
that is run).  This historical practice dates from a time when most operating systems allowed setuid processes to dump core by default.  To aid in debugging
sudo crashes, you may wish to re-enable core dumps by setting “disable_coredump” to false in the sudo.conf(5) file as follows:

      Set disable_coredump false

Aborted上面其實就是從這個生成的

sudo -EH -u mssql /opt/mssql/bin/sqlservr
Aborted

實際上,

sudo -EH -u mssql sh
$ /opt/mssql/bin/sqlservr
Aborted (core dumped)

**確保您有一份新副本。如果您更新了發行版,您可能需要重新添加儲存庫和密鑰。**核心轉儲,對於微軟來說​​可能是也可能不是正常的做法,來自他們自己的文件,license_Eval_Linux.txt

  1. 時間敏感軟體。該軟體將在您安裝一百八十天后停止執行。您不會收到任何其他通知。當軟體停止執行時,您可能無法訪問與軟體一起使用的數據。

引用自:https://dba.stackexchange.com/questions/192884