Hello everyone,
I have an issue for install SQL-Server on my PC, I need this for work, but when I try install the SQL-Server I have an error for start the SQL-Server.
mrjunior@mrjunior-All-Series:~$ sudo systemctl status mssql-server
× mssql-server.service - Microsoft SQL Server Database Engine
Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Mon 2025-09-29 13:34:11 -03; 6min ago
Duration: 2ms
Docs: https://docs.microsoft.com/en-us/sql/linux
Process: 174724 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=127)
Main PID: 174724 (code=exited, status=127)
CPU: 1ms
set 29 13:34:11 mrjunior-All-Series systemd[1]: mssql-server.service: Scheduled restart job, restart counter is at 3.
set 29 13:34:11 mrjunior-All-Series systemd[1]: mssql-server.service: Start request repeated too quickly.
set 29 13:34:11 mrjunior-All-Series systemd[1]: mssql-server.service: Failed with result 'exit-code'.
set 29 13:34:11 mrjunior-All-Series systemd[1]: Failed to start mssql-server.service - Microsoft SQL Server Database Engine.
set 29 13:34:22 mrjunior-All-Series systemd[1]: mssql-server.service: Start request repeated too quickly.
set 29 13:34:22 mrjunior-All-Series systemd[1]: mssql-server.service: Failed with result 'exit-code'.
set 29 13:34:22 mrjunior-All-Series systemd[1]: Failed to start mssql-server.service - Microsoft SQL Server Database Engine.
The installation process went smoothly, but when I ran the command to check the service status, I was informed that there was an error preventing SQL Server from running correctly, some package in question that I can't recall now.
But after formatting and installing Zorin OS 17, all the services I need to use for work are running 100% smoothly.
Finally, I managed to solve the problem and get SQL Server (Developer) working properly! So, leaving my new feedback: it is possible to run the service, but for users coming from Windows and not as knowledgeable, this may be a small problem.
They will need intermediate-level knowledge of terminal commands to resolve the issue.
"If you experienced the same problems mentioned above,"
I'm available if anyone needs help.
Was there a specific command that you used, or a specific action that you were trying to do, and what error did you see? It seems to run normally for me, although here I've only installed it and not actually tried to use it:
For reference, the ldap package name in Ubuntu 24.04 (Zorin OS 18) is libldap2, but that should be already installed in your system (version 2.6.7) as part of the default utilities.
Before installation did not work fine, and a error is displayed trying the check status SQL with command: systemctl status mssql-server --no-pager !
But now work fine, if another friend have the same problem for install this services, just install the libldap available on my reply !
And recheck the status services
Is there a specific reason why the native installation is better than the "dockerized" version? I usually just install Docker + Portainer in order to keep my system clean. Microsoft provides the MSSQL docker image, and it is actually very easy to get started with. I mean we are talking about a developer use case here, not production system, so from my point of view going with Docker is the way. And you can spin up multiple instances if you need to, even different versions. Your limit is the amount of RAM you have