Tag - SELINUX

SELINUX MariaDB    2017-07-19 22:41:48    17
150812 23:38:24 [ERROR] WSREP: Permission denied
150812 23:38:24 [ERROR] WSREP: failed to open gcomm backend connection: 13: error while trying to listen 'tcp://0.0.0.0:4567?socket.non_blocking=1', asio error 'Permission denied': 13 (Permission denied)
  at gcomm/src/asio_tcp.cpp:listen():777
150812 23:38:24 [ERROR] WSREP: gcs/src/gcs_core.cpp:long int gcs_core_open(gcs_core_t*, const char*, const char*, bool)():206: Failed to open backend connection: -13 (Permission denied)
150812 23:38:24 [ERROR] WSREP: gcs/src/gcs.cpp:long int gcs_open(gcs_conn_t*, const char*, const char*, bool)():1379: Failed to open channel 'galera_cluster' at 'gcomm://192.168.100.220': -13 (Permission denied)
150812 23:38:24 [ERROR] WSREP: gcs connect failed: Permission denied
150812 23:38:24 [ERROR] WSREP: wsrep::connect() failed: 7
150812 23:38:24 [ERROR] Aborting




原因:

由于开启了SELINUX。

解决方法:

编辑文件/etc/sysconfig/selinux

把SELINUX设为disabled

重启后就会忽略selinux,或者直接执行命令

setenforce 0

立即生效。


 


 

by 刘迎光@萤火虫工作室
OpenBI交流群:495266201
MicroService 微服务交