LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-30-2021, 02:00 PM   #1
ahalaburda
LQ Newbie
 
Registered: Aug 2021
Posts: 1

Rep: Reputation: Disabled
Unhappy MS Sql Server on Fedora 34 failing with status 127


I'm recently moved to fedora 34 and trying to install MS Sql Server, but it isn't starting. Installation is clean, setup is done by running

Code:
sudo /opt/mssql/bin/mssql-conf setup
status check

Code:
sudo systemctl status mssql-server
returns this

Code:
mssql-server.service - Microsoft SQL Server Database Engine
 Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)
 Active: failed (Result: exit-code) since Mon 2021-08-30 18:51:56 EEST; 11min ago
   Docs: https://docs.microsoft.com/en-us/sql/linux
Process: 1027 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=127)
logs say:
Code:
Aug 30 18:51:55 fedora systemd[1]: Started Microsoft SQL Server Database Engine.
Aug 30 18:51:55 fedora sqlservr[933]: /opt/mssql/bin/sqlservr: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or >
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Main process exited, code=exited, status=127/n/a
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Failed with result 'exit-code'.
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Scheduled restart job, restart counter is at 1.
Aug 30 18:51:55 fedora systemd[1]: Stopped Microsoft SQL Server Database Engine.
(and same 3 times)

How do i fix this? I really love fedora look and feel and don't want to give up on it, because one my work tools isn't working.
 
Old 09-03-2021, 03:06 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Quote:
Originally Posted by ahalaburda View Post
I'm recently moved to fedora 34 and trying to install MS Sql Server, but it isn't starting. Installation is clean, setup is done by running

Code:
sudo /opt/mssql/bin/mssql-conf setup
status check

Code:
sudo systemctl status mssql-server
returns this

Code:
mssql-server.service - Microsoft SQL Server Database Engine
 Loaded: loaded (/usr/lib/systemd/system/mssql-server.service; enabled; vendor preset: disabled)
 Active: failed (Result: exit-code) since Mon 2021-08-30 18:51:56 EEST; 11min ago
   Docs: https://docs.microsoft.com/en-us/sql/linux
Process: 1027 ExecStart=/opt/mssql/bin/sqlservr (code=exited, status=127)
logs say:
Code:
Aug 30 18:51:55 fedora systemd[1]: Started Microsoft SQL Server Database Engine.
Aug 30 18:51:55 fedora sqlservr[933]: /opt/mssql/bin/sqlservr: error while loading shared libraries: libldap-2.4.so.2: cannot open shared object file: No such file or >
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Main process exited, code=exited, status=127/n/a
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Failed with result 'exit-code'.
Aug 30 18:51:55 fedora systemd[1]: mssql-server.service: Scheduled restart job, restart counter is at 1.
Aug 30 18:51:55 fedora systemd[1]: Stopped Microsoft SQL Server Database Engine.
(and same 3 times)

How do i fix this? I really love fedora look and feel and don't want to give up on it, because one my work tools isn't working.
You maybe hit this bug.
So create the symlink for the missing library as noted in the bug report and see if mssql is staring.

Regards
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cupsd fails when trying to create a printer with status code 127 and at times status 2 lgoldma Linux - Software 0 11-02-2012 07:52 PM
Sendmail : relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Connection refuse macadam Linux - Software 0 09-23-2007 02:44 PM
mailer=relay, pri=30008, relay=[127.0.0.1] [127.0.0.1], dsn=4.0.0, stat=Deferred: Con pralhad Linux - Software 1 08-11-2007 10:49 AM
DSN: Data format error & relay=[127.0.0.1] [127.0.0.1] calmbomb Linux - Software 0 11-07-2004 03:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration