[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: Replication Mysql on new OpenShift Origin



I have a comparable issue with the Postgres example with replication:
Also:
Back-off restarting failed docker container

The logs thell me:
 mkdir: cannot create directory '/var/lib/pgsql/data/userdata': Permission denied


From: lorenz vanthillo outlook com
To: users lists openshift redhat com
Subject: Replication Mysql on new OpenShift Origin
Date: Tue, 24 Nov 2015 09:17:08 +0100

I'm following this tutorial: https://github.com/openshift/mysql/tree/master/5.6/examples/replica
I'm performing it on OpenShift Origin (oc version
oc v1.0.8-1-g8f1868d
kubernetes v1.1.0-origin-1107-g4c8e6f4)

I already did this on 1.0.6 and it was working fine.
But now I get this issue:
Back-off restarting failed docker container

I see multiple exited docker containers of my master. When I'm asking for the docker logs I get the following:

Running mysql_install_db ...
2015-11-24 08:08:51 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-11-24 08:08:51 0 [Note] /opt/rh/rh-mysql56/root/usr/libexec/mysqld (mysqld 5.6.24-log) starting as process 15 ...
2015-11-24 08:08:51 15 [Warning] Can't create test file /var/lib/mysql/data/mysql-master-1-1yped.lower-test
2015-11-24 08:08:51 15 [Warning] Can't create test file /var/lib/mysql/data/mysql-master-1-1yped.lower-test
/opt/rh/rh-mysql56/root/usr/libexec/mysqld: File '/var/lib/mysql/data/mysql-bin.index' not found (Errcode: 13 - Permission denied)
2015-11-24 08:08:51 15 [ERROR] Aborting

2015-11-24 08:08:51 15 [Note] Binlog end
2015-11-24 08:08:51 15 [Note] /opt/rh/rh-mysql56/root/usr/libexec/mysqld: Shutdown complete

Can someone help me?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]