1.npm install报错、警告 phantomjs-prebuilt@2.1.16 install: node install.js
解决办法:
npm -g install phantomjs-prebuilt@2.1.16 --ignore-script
如果是警告的话,网上也有说忽略此警告就行
参考博客链接:elasticsearch-head 安装
2. root没有给es普通用户授理访问这个文件的权限 导致报错
给es普通用户授理访问文件权限就可以了 :
chown -R es /home/software/elasticsearch-5.5.2
3.failed to obtain node locks, tried [[/home/es/elasticsearch-6.3.0/data/elasticsearch]] with lock id [0]; maybe these locations are not writable or multiple nodes were started without increasing [node.max_local_storag
可能重复启动了elasticsearch,查看进程:
ps -ef | grep elasticsearch
然后kill -9 进程号
4./home/es/elasticsearch-6.3.0/logs/elasticsearch.log (Permission denied)
这样提示的话:
表示没有写入日志的权限, 把日志权限赋给该用户(elastic)即可: