安装后mssql服务无法启动

安装后mssql服务无法启动

安装 mssql-server 后,它成功安装,然后在设置时失败,并出现以下错误

第一步 - 安装失败并出现以下错误

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”语句的错误配置?

相关内容