gpt4 book ai didi

sql-server - MSSQL : The configuration file '/var/opt/mssql/mssql.conf' failed to load (Ubuntu)

转载 作者:行者123 更新时间:2023-12-04 19:01:07 29 4
gpt4 key购买 nike

我在我的 Linux(Ubuntu 16.04)服务器上安装 MSSQL 时遇到问题。

我使用了微软的手册,但我总是在同一阶段失败。
实际上,由于内核问题,Docker 不是替代品。

后:

sudo apt-get install -y mssql-server

我应该做
sudo /opt/mssql/bin/mssql-conf setup.

回答完所有问题后返回:

sqlservr[8383]: sqlservr: The configuration file '/var/opt/mssql/mssql.conf' failed to load (error: The INI file could not be opened. Errno [2] Filename [mssql.conf]).



我可以访问配置文件,脚本似乎也可以使用它。
我的 Linux 技能不足以解决这个问题。

回答提出的一些问题:
  • 我试过sudo
  • cat文件按预期返回内容
  • 最佳答案

    尝试首先以 root 身份运行 mssql 服务器(停止服务,以 root 身份运行它,使用 /opt/mssql/bin/sqlservr ),看看它是否可以这样工作。如果是,请停止 mssql 服务器并使用 sudo chown -R mssql:mssql /var/opt/mssql 修复 mssql 目录的所有权。 )。更多信息 this answer .

    关于sql-server - MSSQL : The configuration file '/var/opt/mssql/mssql.conf' failed to load (Ubuntu),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50296851/

    29 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com