none
SQL Server Linux error during setup

    Question

  • When I try to confiugre SQL Server on Linux, I get the following error:

    root@<server name> :/ <path> /mssql-conf setup
    The license terms for this product can be found in
    /usr/share/doc/mssql-server or downloaded from:
    https://go.microsoft.com/fwlink/?LinkId=852741&clcid=0x409

    The privacy statement can be viewed at:
    https://go.microsoft.com/fwlink/?LinkId=853010&clcid=0x409

    Choose an edition of SQL Server:
      1) Evaluation (free, no production use rights, 180-day limit)
      2) Developer (free, no production use rights)
      3) Express (free)
      4) Web (PAID)
      5) Standard (PAID)
      6) Enterprise (PAID)
      7) I bought a license through a retail sales channel and have a product key to enter.

    Details about editions can be found at
    https://go.microsoft.com/fwlink/?LinkId=852748&clcid=0x409

    Use of PAID editions of this software requires separate licensing through a
    Microsoft Volume Licensing program.
    By choosing a PAID edition, you are verifying that you have the appropriate
    number of licenses in place to install and run this software.

    Enter your edition(1-7): 2
    Enter the SQL Server system administrator password:
    Confirm the SQL Server system administrator password:
    Configuring SQL Server...

    Error: The evaluation period has expired.
    /opt/mssql/lib/mssql-conf/invokesqlservr.sh: line 15: 29075 Aborted sudo -EH -u mssql /bin/bash -c "$CMDLINE"
    Job for mssql-server.service failed because a fatal signal was delivered to the control process.
    See "systemctl status mssql-server.service" and "journalctl -xe" for details.
    Attempting to start the Microsoft SQL Server service failed.

    Friday, February 2, 2018 8:02 PM

Answers

  • refer

    https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-troubleshooting-guide


    https://social.technet.microsoft.com/wiki/contents/articles/37872.sql-server-installation-on-centos-linux.aspx

    • Marked as answer by Aravil1 Tuesday, February 20, 2018 4:54 AM
    Saturday, February 10, 2018 6:06 AM

All replies

  • Remove mssql from system before take backup of database.What is linux favour your are using?

    https://dba.stackexchange.com/questions/174175/how-do-i-totally-remove-sql-server-2017-on-ubuntu

    Then you try to install.

    refer following link

    https://social.technet.microsoft.com/wiki/contents/articles/37872.sql-server-installation-on-centos-linux.aspx


    https://social.technet.microsoft.com/wiki/contents/articles/37872.sql-server-installation-on-centos-linux.aspx


    • Edited by Av111 Monday, February 5, 2018 5:01 AM added link reference
    Saturday, February 3, 2018 2:04 PM
  • Hi Aravil1,

    >> Error: The evaluation period has expired.

    According to the error message above, SQL Server Evaluation you’re running on Linux has reached the limit of 180 days of evaluation period from the date you install. In this case, I would suggest you take full backup of all databases, uninstall the current SQL Server, then check latest version of SQL Server suitable to your Linux version and install. You can take Installation guidance for SQL Server on Linux as reference.

    If you have any other questions, please let me know.

    Regards,

    Hannah


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Monday, February 5, 2018 3:06 AM
  • I tried reinstalling (and selecting Developer License again), error message:

    Error: The evaluation period has expired.
    This program has encountered a fatal error and cannot continue running.
    The following diagnostic information is available:

           Reason: 0x00000001
           Signal: SIGSEGV - Segmentation fault (11)
       Stacktrace: 000055b1a9ec1ce7 00007f227b1970c0 000055b1a9ed0f52
                   000055b1a9eba6db 000055b1a9eb9e59
          Process: 13108 - sqlservr
           Thread: 13121 (application thread 0x1030)
      Instance Id: 6bbbf72c-f62a-458d-bc9f-c0b3fc0f5f57
         Crash Id:
      Build stamp: a033534dbc90cff419f26ec9fbb0903dc3f3abc65769eec03f04659b9c68ebb2
    /opt/mssql/lib/mssql-conf/invokesqlservr.sh: line 15: 13107 Aborted                 sudo -EH -u mssql /bin/bash -c "$CMDLINE"
    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.
    root@<server>:~# sudo apt-get install mssql-tools
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    mssql-tools is already the newest version (17.0.1.1-1).
    0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
    root@<server>:~# sudo systemctl status mssql-server
    ● mssql-server.service - Microsoft SQL Server Database Engine
       Loaded: loaded (/lib/systemd/system/mssql-server.service; enabled; vendor preset: enabled)
       Active: failed (Result: signal) since Sat 2018-02-10 01:18:10 CET; 1min 15s ago
         Docs: https://docs.microsoft.com/en-us/sql/linux
      Process: 13191 ExecStart=/opt/mssql/bin/sqlservr (code=killed, signal=ABRT)
     Main PID: 13191 (code=killed, signal=ABRT)

    systemd[1]: mssql-server.service: Unit entered failed state.
    mssql-server.service: Failed with result 'signal'.
    systemd[1]: mssql-server.service: Service hold-off time over, scheduling restart.
    systemd[1]: Stopped Microsoft SQL Server Database Engine.
    systemd[1]: mssql-server.service: Start request repeated too quickly.
    systemd[1]: Failed to start Microsoft SQL Server Database Engine.
    systemd[1]: mssql-server.service: Unit entered failed state.
    systemd[1]: mssql-server.service: Failed with result 'signal'.


    • Edited by Aravil1 Saturday, February 10, 2018 12:23 AM
    Saturday, February 10, 2018 12:22 AM
  • refer

    https://docs.microsoft.com/en-us/sql/linux/sql-server-linux-troubleshooting-guide


    https://social.technet.microsoft.com/wiki/contents/articles/37872.sql-server-installation-on-centos-linux.aspx

    • Marked as answer by Aravil1 Tuesday, February 20, 2018 4:54 AM
    Saturday, February 10, 2018 6:06 AM
  • Thank for confirmation.Can tell which step you got problem solution.

    https://social.technet.microsoft.com/wiki/contents/articles/37872.sql-server-installation-on-centos-linux.aspx

    Thursday, February 22, 2018 1:05 AM