[1]: max file descriptors [4096] for elasticsearch process is too low, increase to at least [65535]
[2]: max number of threads [1024] for user [elastic] is too low, increase to at least [4096]
[3]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
[4]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[5]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
.打开/etc/security/limits.conf,在里面添加如下内容
* soft nofile 65536
* hard nofile 65536
此处不行还要修改 /etc/security/limits.d/90-nproc.conf
* soft nproc 1024
将上面修改为:
* soft nproc 2048
其中*表示所有用户 nofile表示最大文件句柄数,表示能够打开的最大文件数目
再次启动出现下列错误时:
ERROR: [2] bootstrap checks failed
[1]: system call filters failed to install; check the logs and fix your configuration or disable system call filters at your own risk
[2]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] mu
修改elastic search.yml文件加入:
bootstrap.memory_lock: false
bootstrap.system_call_filter: false
再次出现以下错误时:
ERROR: [1] bootstrap checks failed
[1]: the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
mysql执行语句出现[Err] 1055 – Expression #1 of ORDER BY clause is not in GROUP BY 。。相关语句 show variables like '%sql_mode%'; SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY…