用于Linux服务的MS SQL Server处于非活动状态并停止响应

时间:2019-01-27 23:24:35

标签: sql-server-2017

Ubuntu 18.04 MS SQL Server 2017

一段时间后sql server进程变得不活动

“ journalctl -u mssql-server.service -b” 没有显示任何错误

Jan 28 03:01:52 dobrovolskiy.com sqlservr[7723]: [73B blob data]
Jan 28 03:01:52 dobrovolskiy.com sqlservr[7723]: [146B blob data]
Jan 28 03:01:53 dobrovolskiy.com sqlservr[7723]: [73B blob data]

“ systemctl status mssql-server” 表演

root@dobrovolskiy:/opt/mssql-tools/bin# systemctl status mssql-server
● mssql-server.service - Microsoft SQL Server Database Engine
   Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
   Active: inactive (dead) since Mon 2019-01-28 04:01:21 +05; 19min ago
     Docs: https://docs.microsoft.com/en-us/sql/linux
  Process: 7723 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=0/SUCCESS)
 Main PID: 7723 (code=exited, status=0/SUCCESS)

1 个答案:

答案 0 :(得分:0)

你可以使用

systemctl start mssql-server

让它复活,但我不知道为什么它不会自己复活。