How to troubleshoot CentOS root run Elasticsearch exception
Running Elasticsearch 2.3 on CentOS 6.5, the exception is as follows:
?
1 2 3 4 5 6
Exception in thread "main" Java.lang.RuntimeException:don ' t run Elasticsearch as
It's easy to find files and directories in Linux
#已易读的格式显示指定目录或文件的大小, the-s option specifies the size of each subdirectory or file not shown in detail for the directoryDu-sh [Dirname|filename]Such as:The size of the current directory:
If the virtual machine in the abnormal shutdown will encounter the following picture of the problem: first click the "Cancel" button
Workaround:
Open explorer and go to the path where the pop-up prompt window is located (that is,
Because the previously built MongoDB fragment does not use the replica set, the recent network pressure is large, so ready to study, so in their own computer virtual machine to build the environment, but found before VMware set DHCP, so each resume
The recent contact with Hadoop needs to be developed on Linux, so I've installed a VirtualBox virtual machine that installs a CentOS system on the virtual machine. The Linux system is installed, but the network configuration is another headache. I
Main reference documents:
Chinese: http://wiki.centos.org/zh/HowTos/VNC-Server
English: Http://wiki.centos.org/HowTos/VNC-Server
Description is very normative and comprehensive.
Record the knowledge points/points in the installation process:
First of all, Google's browser has not supported the Redhat¢os platform, the need to manually compile the installation, it will appear very troublesome.
The following is an easy way to install.
1. Download Script First
CentOS uses Pam to lock multiple login failed users
Linux has a pam_tally2.so Pam module that limits the number of user logon failures and, if the number reaches the set threshold, locks the user.
Compiling Pam's configuration file
#
The last Zabbix added monitoring MySQL performance, so this time on the basis of the addition of master-slave monitoring. In the course of the article is not introduced MySQL5.6 version of the relevant details of processing, specific reference to
1, installation mariadbInstallation commandsYum-y Install Mariadb-server mariadb-clientInstallation Complete mariadb, first start mariadbSet boot upThe following is a simple configuration of mariadbMysql_secure_installationThe first is to set the
In the process of using Linux, sometimes forget the root user's password (especially when the handover and the content of the document is not complete), this time we can enter the single-user mode to reset the root user password. Here's how to reset
In general, the use of VMware Workstation Pro Linux system by default may be automatically assigned IP address, if you change to static IP address change how to set it.This method is NAT mode non-bridgingFirst look at the current host IP
1. Tzselect[[email protected] etc]# tzselect---Select the time zone command please identify a location so it time zone rules can beSetcorrectly. pleaseSelecta continent or ocean.1) Africa2) Americas3) Antarctica4) Arctic Ocean5) Asia6) Atlantic
[Email protected] ~]# service FIREWALLD restartRedirecting To/bin/systemctl restart Firewalld.serviceJob for Firewalld.service failed because the control process exited with error code. See "Systemctl Status Firewalld.service" and "Journalctl-xe"
CentOS7 installed by default python2.7.5, when you need to use Python3, you can manually download the Python source code after compiling the installation.1. The dependencies that may be used to install python3.51 yum install openssl-devel
Because of boredom, so want to try a dual system, so on the basis of WIN10, installed a Linux system, previously installed Ubuntu, almost all automatically complete without any pressure. But thinking of Ubuntu seems to be a little faster replacement,
Description: The company moved to the site, the computer with the past, the CentOS system connected to the VM with Xshell always fail to connect, and then consider the company moved to the situation, I first suspect that the problem is IP, and then
An environmentServer:windows Server R2 DC domain control ip:192.168.1.11Client:centos 6.5Two Mount MountsCommand:Mount-t cifs-o username= ' test\testuser ', password= ' test ' "//192.168.1.11/server test/test"/mnt/testMount:block device//192.168.1.11
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service