Elasticsearch2.2报错问题集锦
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Elasticsearch2.2报错问题集锦相关的知识,希望对你有一定的参考价值。
下载好elastic2.2.0,修改elasticsearch.yml,报这个错误:
问题出在空格上,需要有空格。就OK了。
2.elasticsearch不能用root启动,需要添加普通用户
[[email protected]]# groupadd elk [[email protected]]# useradd elk -g elk -p elasticsearch [[email protected]]# chown -R elk.elk elasticsearch-2.1.1 [[email protected]]# passwd elk 更改用户 elk 的密码 。 新的 密码: 无效的密码: 密码少于 8 个字符 重新输入新的 密码: passwd:所有的身份验证令牌已经成功更新。 [[email protected]]#
3.如果不是yum安装的elasticsearch,安装服务
到这里把软件下载: [[email protected] src]# pwd /usr/local/src [[email protected] src]# unzip elasticsearch-servicewrapper-master.zip //解压软件 [[email protected] src]# ll total 153708 -rw-r--r--. 1 root root 28478292 Dec 29 10:47 elasticsearch-1.7.2.tar.gz drwxr-xr-x. 3 root root 4096 Feb 14 03:02 elasticsearch-servicewrapper-master -rw-r--r--. 1 root root 2054227 Mar 17 14:10 elasticsearch-servicewrapper-master.zip -rw-r--r--. 1 root root 126857158 Dec 21 17:09 jdk-7u67-linux-x64.rpm [[email protected] src]# mv elasticsearch-servicewrapper-master/service/ /usr/local/elasticsearch-1.7.2/bin/ [[email protected] src]# //将service目录移动到 elasticsearch下面的bin目录下面去 [[email protected] service]# pwd /usr/local/elasticsearch-1.7.2/bin/service [[email protected] service]# ./elasticsearch Usage: ./elasticsearch [ console | start | stop.... ] Commands: console Launch in the current console. start Start in the background as a daemon process. stop Stop if running as a daemon or in another console. restart Stop if running and then start. condrestart Restart only if already running. status Query the current status. install Install to start automatically when system boots. remove Uninstall. dump Request a Java thread dump if running. 开始安装服务:
本文出自 “清晰明了” 博客,请务必保留此出处http://duanyexuanmu.blog.51cto.com/1010786/1760808
以上是关于Elasticsearch2.2报错问题集锦的主要内容,如果未能解决你的问题,请参考以下文章
解决报错:在Python中使用property装饰器时,出现错误:TypeError: descriptor ‘setter‘ requires a ‘property‘ object but(代码片
错误记录Android 应用中启动 FlutterActivity 报错 ( have you declared this activity in your AndroidManifest )(代码片
报错:PermissionError: [WinError 5] Access is denied: 'C:\Program Files\Anaconda3\Lib\site-pack(代码片
错误记录Android Studio 配置 AspectJ 报错 ( all buildscript {} blocks must appear before any plugins {} )(代码片
flink1.11报错:java.lang.IllegalStateException: No ExecutorFactory found to execute the application(代码片
报错:java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id “null“解决的方式(代码片