Problem for install SQL-Server on Zorin (core) 18

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.

Any solution for this ?

You seem to have a typo in the executable here:

ExecStart=/opt/mssql/bin/sqlservr
                               ^

The systemd service unit file to update this is probably located in /usr/lib/systemd/system/mssql-server.service, as per the output from your post.

Thanks for your reply, but I prefer format my PC again, and install current stable version, then all work fine now !

Did you ever get to run the configuration command?

systemctl status mssql-server --no-pager

By the way, there was no typo, that really is the package name :eyes: But after running that configuration command, it seems to work fine:

Keep in mind, though, that as per the documentation there's only a 180 day preview for Ubuntu 24.04 (Zorin OS 18). So you might want to stick with Zorin OS 17 for now if this is important to you. Support for Z17 will continue until 2027.

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.

SQL Server
Apache
And others.

1 Like

Thanks for sharing that. I've marked this post as the solution, that way it'd be easier to find for others running into this issue as well. Cheers!

1 Like

The SQL Server on Zorin 18 cant start because need this packages:
wget https://mirrors.edge.kernel.org/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.11+dfsg-1~exp1ubuntu3_amd64.deb
wget https://mirrors.edge.kernel.org/ubuntu/pool/main/o/openldap/liblber-2.5-0_2.5.11+dfsg-1~exp1ubuntu3_amd64.deb

But both packages, cant available on repository to the Zorin OS 18 !
Can you suggest a different solution?

liblber-2.5-0_2.5.11+dfsg-1~exp1ubuntu3_amd64.deb


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.

Only work here, after install this: https://mirrors.edge.kernel.org/ubuntu/pool/main/o/openldap/libldap-2.5-0_2.5.11+dfsg-1~exp1ubuntu3_amd64.deb

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

1 Like

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 :slight_smile:

I'm not used to using Docker, so I prefer to do the installation manually.