Feb 16 17:45:08 moshpit systemd[1]: Starting unifi...
Feb 16 17:45:24 moshpit unifi[908]: Feb 16, 2019 17:45:24 PM org.apache.commons.httpclient.HttpMethodDirector executeWithRetry
INFO: I/O exception (java.net.ConnectException) caught when processing request:

Solution is quite simple, you have to update your Java Installation to get rid of this issue.

This Version will work

pi@moshpit:~ $ java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) Client VM (build 25.201-b09, mixed mode)

Stop the Service

sudo systemctl stop unifi

Enter the Java Directory

cd /usr/lib/jvm

Backup old Java

sudo mv <oldversion_dir>/ backup_oldjava

Copy the new Java into the old Directory or simple use a symbolic link 

sudo cp -rf /usr/java/jdk1.8.0_201/ <javadir>

Start the Service again

sudo systemctl start unifi


Continue reading...

login to your mysql instance as root user and then use this commands to active mysql query logs

SET GLOBAL log_output = 'FILE';
SET GLOBAL general_log_file = 'nameoflogfile';
SET GLOBAL general_log = 'ON';

Continue reading...

is about a locale issue during a foreman setup on CentOS 7.

locale environment variables were bad; continuing with LANG=C

In my case the output of locale -a showed en_US.utf8 but the output of env and the line line in /etc/locale.conf reads different.
en_US.UTF-8 which seams to be wrong or not translated correctly.
Long Story short, either export the correct settings or update the /etc/locales.conf file so that it read like this for example


Continue reading...

I've seen this message in a vsftpd Logfile.
Default vsftpd limits the connection from one IP Address to 50.
Solution is to add an unlimited value which will be 0 or a higher number of connections as needed.


Continue reading...

Convert vmdk direct to an empty attached Storage

qemu-img convert path_and_name_of_vmdk_file -O raw /dev/devicename

Continue reading...