After installing mssql-server, it successfully installs then on setting up it fails with the error below
Step one - on setup it fails with the error below
sudo /opt/mssql/bin/mssql-conf setup
> Enter the SQL Server system administrator password: Confirm the SQL
> Server system administrator password: Configuring SQL Server...
>
> /opt/mssql/bin/sqlservr: error while loading shared libraries:
> liblber-2.4.so.2: cannot open shared object file: No such file or
> directory Created symlink
> /etc/systemd/system/multi-user.target.wants/mssql-server.service →
> /lib/systemd/system/mssql-server.service. Setup has completed
> successfully. SQL Server is now starting.
When checking the status i get this
freak@loyaltie ~
$ systemctl status mssql-server --no-pager
× mssql-server.service - Microsoft SQL Server Database Engine
Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Sat 2024-02-24 01:50:54 EAT; 32s ago
Duration: 7ms
Docs: https://docs.microsoft.com/en-us/sql/linux
Process: 10553 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=127)
Main PID: 10553 (code=exited, status=127)
CPU: 4ms
am using this operating system
$ neofetch
`:oho/-` freak@loyaltie
`mMMMMMMMMMMMNmmdhy- --------------
dMMMMMMMMMMMMMMMMMMs` OS: Parrot Security 6.0 (lorikeet) x86_64
+MMsohNMMMMMMMMMMMMMm/ Host: 80YD Lenovo ideapad 320-14IKB
.My .+dMMMMMMMMMMMMMh. Kernel: 6.5.0-13parrot1-amd64
+ :NMMMMMMMMMMMMNo Uptime: 16 hours, 46 mins
`yMMMMMMMMMMMMMm: Packages: 2812 (dpkg), 18 (snap)
/NMMMMMMMMMMMMMy` Shell: bash 5.2.15
.hMMMMMMMMMMMMMN+ Resolution: 1920x1080, 1440x900
``-NMMMMMMMMMd- DE: MATE 1.26.0
/MMMMMMMMMMMs` WM: Metacity (Marco)
mMMMMMMMsyNMN/ Theme: air [GTK2/3]
+MMMMMMMo :sNh. Icons: ara-dark [GTK2/3]
`NMMMMMMm -o/ Terminal: vscode
oMMMMMMM. CPU: Intel i5-7200U (4) @ 3.100GHz
`NMMMMMM+ GPU: Intel HD Graphics 620
+MMd/NMh GPU: AMD ATI Radeon R7 M260/M265 / M340/M360 / M440/M445 / 530/535 / 620/625 Mobile
mMm -mN` Memory: 6609MiB / 11742MiB
/MM `h:
dM` .
:M-
d:
-+
-
There are fewer logs from the terminal and i think its just a misconfiguration of the "servr" statement?
liblber-2.4.so.2anywhere on your system? It is part of OpenLDAP, and so at least in Debian it's within thelibldappackage. However, if the current version of Parrot is based on Debian 12, thelibldap-2.5-0containsliblber-2.5.so.0which does not match the requirement. You may need to install an older versionlibldap-2.4-2from the Parrot package repository to satisfy this requirement ofmssql.