Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

Cannot start sql server in antergos linux: Unit mssql-server.service has a bad unit file setting

$
0
0

I can no longer start <g class="gr_ gr_32 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="32" id="32">sql</g>-server on <g class="gr_ gr_34 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="34" id="34">antergoslinux</g>. This is what I tried so far:

    $ sudosystemctl status mssql-server.service● mssql-server.service
       Loaded: bad-setting (Reason: Unit mssql-server.service has a bad unit file setting.)
       Active: inactive (dead)

    $ sudo -u mssql /opt/mssql/bin/sqlservr -m SQLCMD
    /opt/mssql/bin/sqlservr: The file archive [/opt/mssql/lib/system.sfp] is invalid.  Please resolve and try again.

    $ sudo ls /var/opt/mssql/log | grep .mdmp
    (nothing)

    $ sudo ls /var/opt/mssql/log | grep .tar.gz2
    (nothing)

<g class="gr_ gr_31 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" data-gr-id="31" id="31">more over</g>, I tried to find the unit file of <g class="gr_ gr_33 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="33" id="33">mssql</g> service.

    $ sudo ls -la /usr/lib/systemd/system/mssql-server.service
    -rw-r--r-- 1 root root 655 ago 11 01:44 /usr/lib/systemd/system/mssql-server.service

Then I tried to open it with sublime-text or nano, but it seems to contain binary content, sublime-text show several columns filled with `0000`. I guess this is what <g class="gr_ gr_30 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="30" id="30">systemd</g> is talking about when it says that the service has a bad unit file setting.

Here goes some context

    $ pacman -Q | grep sql
    msodbcsql 17.2.0.1-1
    mssql-server 14.0.3030.27-1
    mssql-tools 17.2.0.1-1
    sqlite 3.24.0-1

    $ uname -a
    Linux antergos 4.17.14-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 9 11:56:50 UTC 2018 x86_64 GNU/Linux

Is there something else I could try before reinstalling everything?

               

Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>