mssql无法启动centos

时间:2018-03-05 07:33:40

标签: sql-server centos7

我在cenOS中安装了ms sql,直到今天才能正常工作。当我检查其状态时显示

  

活跃:失败(结果:开始限制)自周一2018-03-05 15:30:33 +08; 546ms前

所以我运行命令:

  

systemctl start mssql-server

下面显示终端的整体响应以及解决方案及其响应内容

[root@localhost ~]# systemctl start mssql-server
Job for mssql-server.service failed because start of the service was attempted too often. See "systemctl status mssql-server.service" and "journalctl -xe" for details.
To force a start use "systemctl reset-failed mssql-server.service" followed by "systemctl start mssql-server.service" again.
[root@localhost ~]# systemctl reset-failed mssql-server.service
[root@localhost ~]# systemctl start mssql-server.service
[root@localhost ~]# systemctl status mssql-server.service
● mssql-server.service - Microsoft SQL Server Database Engine
   Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)
   Active: failed (Result: start-limit) since Mon 2018-03-05 15:31:03 +08; 6s ago
     Docs: https://docs.microsoft.com/en-us/sql/linux
  Process: 1664 ExecStart=/opt/mssql/bin/sqlservr (code=killed, signal=ABRT)
 Main PID: 1664 (code=killed, signal=ABRT)

Mar 05 15:31:03 localhost.localdomain systemd[1]: Unit mssql-server.service entered failed state.
Mar 05 15:31:03 localhost.localdomain systemd[1]: mssql-server.service failed.
Mar 05 15:31:03 localhost.localdomain systemd[1]: mssql-server.service holdoff time over, scheduling restart.
Mar 05 15:31:03 localhost.localdomain systemd[1]: start request repeated too quickly for mssql-server.service
Mar 05 15:31:03 localhost.localdomain systemd[1]: Failed to start Microsoft SQL Server Database Engine.
Mar 05 15:31:03 localhost.localdomain systemd[1]: Unit mssql-server.service entered failed state.
Mar 05 15:31:03 localhost.localdomain systemd[1]: mssql-server.service failed.
[root@localhost ~]#

1 个答案:

答案 0 :(得分:0)

如果您的linux在虚拟机上,请确保虚拟机的内存大于sqlserver硬件要求3.5G