linux-mint

Elasticsearch can't write to log files

谁都会走 提交于 2019-12-03 05:32:06
问题 I would like to activate logs of elasticsearch . When I run elasticsearch binaries, I realize that I have problems with logging : the configuration cannot be loaded ! Here is the output : ~ $ sudo /usr/share/elasticsearch/bin/elasticsearch Failed to configure logging... org.elasticsearch.ElasticsearchException: Failed to load logging configuration at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:117) at org.elasticsearch.common.logging.log4j

Docker: Are you trying to connect to a TLS-enabled daemon without TLS?

爷,独闯天下 提交于 2019-12-03 04:30:28
问题 On Linux Mint 17.1 x86_64 with kernel 3.13.0-48-generic and OpenSSL version 1.0.1f-1ubuntu2.11; whenever I try to execute any docker command (like docker login or docker run hello-world ), I get the following error: FATA[0000] Get http:///var/run/docker.sock/v1.18/info: dial unix /var/run/docker.sock: no such file or directory. Are you trying to connect to a TLS-enabled daemon without TLS? I have made a group called docker using sudo usermod -aG docker username , I have tried running the

Setup Google test in CLion

不想你离开。 提交于 2019-12-03 02:38:56
问题 I have been sitting online for hours already trying to setup Google test on Clion in Linux but have not been able to find anything. Can someone guide me with setting this up please? 回答1: Create new Project Create a repository in my ClionProjects folder cd ~/ClionProjects mkdir .repo cd .repo Clone the DownloadProject from github git clone https://github.com/Crascit/DownloadProject.git Create a C++ project with a src and test directory Add following files: CMakeLists.txt cmake_minimum_required

The mcrypt extension is missing. Please check your PHP configuration

隐身守侯 提交于 2019-12-03 01:28:59
问题 I just followed the tutorial located at https://www.digitalocean.com/community/articles/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu while fixing multiple other errors that I came across along the way and I'm stuck with one last error. When I log in to phpMyAdmin, there's a huge red error at the bottom saying "The mcrypt extension is missing. Please check your PHP configuration.". I installed everything listed in the tutorial on Ubuntu 13.10 via putty. 回答1: Try this: sudo apt

Python Module Error on Linux

风流意气都作罢 提交于 2019-12-03 00:07:44
I am using python 2.7 on Linux Mint 16. I am facing an error, if I run my IDE (tried it on Spyder and Pycharm) from a program launcher (eg. from the prompt at Alt F2 or an icon shortcut on my desktop) the modules do not load and I get the following error File "/usr/local/lib/python2.7/dist-packages/gurobipy/__init__.py", line 1, in from .gurobipy import * ImportError: libgurobi56.so: cannot open shared object file: No such file or directory However, if I run the program from the command line the modules load correctly and the program runs fine. I have only one installation each of the IDEs.

Install python3-venv module on linux mint

这一生的挚爱 提交于 2019-12-02 21:29:25
I was able to move to Linux mint 17.3 64 bit version from my Linux mint 16. This was long awaited migration. After moving to Linux Mint 17.3, I am not able to the install python3-venv module, which is said to be the replacement for virtualenv in python 3.x. In my linux mint 16 I had access to pyvenv-3.4 tool. I dont know when I installed that module in Linux mint 16. Anybody faced this issue ? python -m venv test The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following

ERROR: 'configure' exists but is not executable — see the 'R Installation and Administration Manual' [closed]

蹲街弑〆低调 提交于 2019-12-02 20:57:15
Ubuntu, Linux Mint, Debian ERROR: 'configure' exists but is not executable -- see the 'R Installation and Administration Manual' Warning in install.packages : installation of package ‘e1071’ had non-zero exit status If you run into the error-code above on Linux here is a simple fix for you: Why does this error occur? Because the folder R temporarily stores i.e. downloads package files into is 'marked' as non-executable i.e. noexec. This means that compilation, as is required for in this case for the given package is forbidden. How to fix it? I unmount the partition/folder, change the status to

Elasticsearch can't write to log files

守給你的承諾、 提交于 2019-12-02 19:02:20
I would like to activate logs of elasticsearch . When I run elasticsearch binaries, I realize that I have problems with logging : the configuration cannot be loaded ! Here is the output : ~ $ sudo /usr/share/elasticsearch/bin/elasticsearch Failed to configure logging... org.elasticsearch.ElasticsearchException: Failed to load logging configuration at org.elasticsearch.common.logging.log4j.LogConfigurator.resolveConfig(LogConfigurator.java:117) at org.elasticsearch.common.logging.log4j.LogConfigurator.configure(LogConfigurator.java:81) at org.elasticsearch.bootstrap.Bootstrap.setupLogging

Managing two ssh keys

落花浮王杯 提交于 2019-12-02 18:52:16
问题 Suppose, I have two pc and in each pc I have a .ssh folder and in each folder I have three files id_rsa , id_rsa.pub and known_hosts . Now I want to use both ssh keys in one pc. How can I do that? How can I manage both ssh keys in one pc? I am on linux mint. 回答1: Create a SSH config file When you have multiple identity files, create a SSH config file mechanisms to create aliases for your various identities. You can construct a SSH config file using many parameters and different approaches.

How to restart Postgresql

*爱你&永不变心* 提交于 2019-12-02 17:02:40
I have Postgresql 9.3 and 9.4 installed on my Linux Mint machine. How can I restart postgresql 9.4? A method to restart both versions together is also fine. Try this as root (maybe you can use sudo or su ): /etc/init.d/postgresql restart Without any argument the script also gives you a hint on how to restart a specific version [Uqbar@Feynman ~] /etc/init.d/postgresql Usage: /etc/init.d/postgresql {start|stop|restart|reload|force-reload|status} [version ...] Similarly, in case you are using systemd you can also use the service tool: [Uqbar@Feynman ~] service postgresql Usage: /etc/init.d