Installing SQL Server on Centos 7.3 using Docker
NickName:Kongol Ask DateTime:2017-04-18T21:30:34

Installing SQL Server on Centos 7.3 using Docker

I'm having some trouble installing SQL server in a fresh centos 7.3 in a virtual server in Soyoustart using docker.

After running the install comand

sudo docker run -e "ACCEPT_EULA=Y" -e "SA_PASSWORD=xxxxx" -p 1433:1433 -v /var/opt/mssql:/var/opt/mssql -d microsoft/mssql-server-linux

I look in the messages log file and I found this and im unable to login.

Apr 18 12:36:36 Demo journal: Configuring Microsoft(R) SQL Server(R)...

Apr 18 12:36:36 Demo journal: sqlservr: File.cpp:972: virtual SystemStatus File::Map(void *, ssize_t, int, int, off_t, void *&, ssize_t &): Assertion `mappedBase == address' failed.

Apr 18 12:36:36 Demo journal: ls: cannot access '/proc/16/smaps': No such file or directory

Apr 18 12:36:36 Demo journal: cat: /proc/16/sched: No such file or directory

Apr 18 12:36:37 Demo journal: dmesg: read kernel buffer failed: Operation not permitted

Apr 18 12:36:37 Demo journal: No journal files were found.

Apr 18 12:36:37 Demo journal: No journal files were found.

Apr 18 12:36:37 Demo journal: ls: cannot access '/var/opt/mssql/log/errorlog*': No such file or directory

Apr 18 12:36:37 Demo journal: ls: cannot access '/var/opt/mssql/log/exception.log': No such file or directory

Apr 18 12:36:37 Demo journal: ls: cannot access '/var/opt/mssql/log/SQLDu*.txt': No such file or directory

Apr 18 12:36:37 Demo journal: ls: cannot access '/var/opt/mssql/log/SQLDu*.mdmp': No such file or directory

Apr 18 12:36:37 Demo journal: ls: cannot access '/var/opt/mssql/log/system_health*': No such file or directory

Apr 18 12:36:37 Demo journal: Microsoft(R) SQL Server(R) setup failed with error code 1. Please check the setup log in /var/opt/mssql/log for more information.

Log file /var/opt/mssql/log/setup-20170418-103636.log

Dump control values set to default.  Behavior controlled with /var/opt/mssql/mssql.conf

===============================================

              Mini dump type: miniplus (2)

Capturing mini and full dump: true

===============================================

Capturing core dump and information for sqlservr (pid 16)...

Capturing dump with paldumper

Attempt to capture dump with paldumper failed.  Reference core.sqlservr.16.temp/log/debug.log for details

Capturing dump with gdb

SQL Log Directory /var/opt/mssql/log

Packaging core dump and information into compressed files.

Core dump and information will be written to /var/opt/mssql/log/core.sqlservr.04_18_2017_10_36_36.16 and logs in /var/opt/mssql/log/core.sqlservr.04_18_2017_10_36_36.16.log

Any suggestions?

Copyright Notice:Content Author:「Kongol」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/43473665/installing-sql-server-on-centos-7-3-using-docker

More about “Installing SQL Server on Centos 7.3 using Docker” related questions

Installing SQL Server on Centos 7.3 using Docker

I'm having some trouble installing SQL server in a fresh centos 7.3 in a virtual server in Soyoustart using docker. After running the install comand sudo docker run -e "ACCEPT_EULA=Y" -e "SA_PA...

Show Detail

Installing SQL Server on Centos 7.3

I'm having some trouble installing SQL server in a fresh centos 7.3 in a virtual server in Soyoustart. After installing sql server using yum sollowing microsoft tutorial I run the the setup comman...

Show Detail

Installing VirtualBox 5.1 on CentOS 7.3

Has anyone been able to install VirtualBox 5.1 successfully on a CentOS 7.3 x64 box? Installing it via YUM succeeds, but calling "vagrant -v" shows the following: This system is not currently set ...

Show Detail

Issue installing docker on Centos 7.3

I am not able to install the docker on the CentOS Linux release 7.3.1611 (Core) 1.Have enable the extras in the /etc/yum.repos.d/CentOS-Base.repo from enabled=0 to enabled=1 Also uncommented t...

Show Detail

Installing chef server in Centos 6.6 docker container

I am running centos 6.5 minimal with the latest version of docker. I created a container from a centos 6.6 image and that is running fine. I then installed chef server 12 onto the container but w...

Show Detail

Problem with installing SQL server on CentOS 7

I am installing SQL server on my CentOS 7 server, for installing I used Microsoft docs. But after starting it it will not start. After running systemctl status mssql-server command it says: mssql-s...

Show Detail

Installing Docker on CentOS 6 after removal of docker-io

For some time, the docker-io package has been used to install Docker on CentOS 6. Since early this month, this package no longer appears to be available: [[email protected]:0 yum.repos.d]# yum install

Show Detail

Installing docker on centos7: docker-engine-selinux conflicts with docker-selinux-*

I tried installing docker from yum and from the install script on Centos7 and both of them give the same error: Error: docker-engine-selinux conflicts with docker-selinux-1.10.3-44.el7.centos.x86_...

Show Detail

How To Connect PHP7.3, sql server & Nginx Debian10

Please help me.... I've created a web server using OS Debian 10, Nginx and PHP7.3 and everything is running well. but when it will connect to the sql server, it cannot connect. I've done several

Show Detail

Installing Postgres 9.6 in centos docker

I am trying to install Postgres 9.6 in Centos 7 docker. But unable to do that. I pulled latest Centos image Installed sudo and installed postgres using the below command sudo yum install postgre...

Show Detail