설치 후 mssql 서비스를 시작할 수 없습니다

설치 후 mssql 서비스를 시작할 수 없습니다

mssql-server를 설치한 후 성공적으로 설치되었으나 ​​다음 오류로 인해 설정에 실패했습니다.

1단계 - 다음 오류로 인해 설치가 실패합니다.

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.

상태를 확인해보니 이렇게 나오네요

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

이 운영체제를 사용하고 있어요

$ 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:
                           -+
                            -

터미널에서 나오는 로그가 적습니다. "servr" 문을 잘못 구성한 것 같습니다.

관련 정보