Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mysql server not starting #1

Open
james75 opened this issue Aug 29, 2017 · 0 comments
Open

Mysql server not starting #1

james75 opened this issue Aug 29, 2017 · 0 comments

Comments

@james75
Copy link

james75 commented Aug 29, 2017

Running the image with:

docker run -p 8080:8080 logicaldoc/logicaldoc-ce-mysql

Seems to have an error starting the mysql

*** Running /etc/my_init.d/00_regen_ssh_host_keys.sh...
*** Running /etc/my_init.d/01_mysql.sh...
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of stop.
update-alternatives: warning: forcing reinstallation of alternative /etc/mysql/mysql.cnf because link group my.cnf is broken
update-alternatives: warning: not replacing /etc/mysql/my.cnf with a link
invoke-rc.d: could not determine current runlevel
invoke-rc.d: policy-rc.d denied execution of start.
2017-08-29T10:08:47.708601Z mysqld_safe Logging to syslog.
2017-08-29T10:08:47.711027Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2017-08-29T10:08:47.713512Z mysqld_safe Logging to '/var/log/mysql/error.log'.
2017-08-29T10:08:47.730138Z mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
2017-08-29T10:08:49.164274Z mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
*** /etc/my_init.d/01_mysql.sh failed with status 1

*** Killing all processes...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant