How to reset admin password on UniFi controller

Reset admin password on UniFi controller to access wireless configuration. ...

How to fix undefined function utf8_decode error in PHP application

This is just another interesting problem to solve. I have encountered this subtle difference in PHP packages when I moved personal Dokuwiki instance from Debian Jessie to Debian Stretch. ...

How to configure HTTP/2 in http mode on HAProxy and fix bad request problem

Enable HTTP/2 on HAProxy 1.8 and temporarily fix the bad request problem with the Nginx backend using FastCGI/uWSGI. ...

How to fix broken uwsgi package on Ubuntu Xenial

Recently, I tried to update uwsgi package on Ubuntu Xenial, but received an error about broken package. It looks like the mentioned package was pushed to the repository before its dependencies. This issue is thoroughly described in <a href=“https://bugs.launchpad.net/ubuntu/+source/uwsgi/+bug/1719363" target=_blank” rel=“external”>#1719363 bug report. ...

How to fix missing dirmngr

Debian Stretch provides gnupg in minimal installation as the package priority is set to important. The command is fully operational, but it requires dirmngr to perform network operations for managing and downloading certificates. ...

How to fix the missing HPE's public keys

HPE Software Delivery Repository is cryptographically signed, so you can be sure that provided software packages have not been modified by a third party. However, sometimes you can encounter the The following signatures couldn't be verified because the public key is not available error which can be easily fixed. ...

GNOME Terminal, Midnight Commander and function keys

I have updated desktop computer to Debian Jessie. After that I have quickly encountered an issue with GNOME Terminal, Midnight Commander and already assigned F1 and F10 function keys. ...

How to enable VPN connections inside Network Manager

Default Debian installation does not include VPN support inside the Network Manager applet. The reason behind this decision is probably the variety of available solutions. ...

i915 and "Hangcheck timer elapsed" error

Since Debian Jessie installation, I have encountered Hangcheck timer elapsed error. It is a really nasty bug as the only way to escape frozen X Window System is to reboot the whole operating system. ...

How to fix error when moving events between calendars

Recently, I noticed “Failed to save changes” error when tried to move events between distinct calendars. After a short investigation I found that this bug is already fixed, but not packaged for an easy upgrade, so I will shortly describe how to apply fix for Debian Wheezy and Kolab 3.3. ...

Unattended boot, Grub, Ubuntu and power failure.

What do these four things have in common? Ubuntu headless server will not boot after power failure as Grub will indefinitely wait for user input. The root of this problem lies inside Ubuntu default Grub configuration as Grub will simply set timeout to infinity when recordfail parameter is set. ...

How to disable automatic mounting of the removable storage devices on Crunchbang

Today I went almost crazy because of automatic mounting and opening of the removable storage devices, fortunately this behavior can be quickly changed by the use of thunar-volman-settings command. ...

Nexus 7 – Android 4.3 – bootloader problem

Recently I decided to upgrade my Nexus 7 to the Android 4.3 Jelly Bean, but quickly encountered InvalidState error when tried to update bootloader. ...

Kolab – High CPU usage after adding a few aliases

Yesterday I added a few mail aliases using Kolab admin interface and went to sleep. Today I noticed high CPU usage and quickly found that there is a small problem with pykolab 0.5.11-5 package. ...

WordPress and Login Security Solution – SQL query

Login Security Solution is a very useful plugin if you want to slow down brute force attacks, enforce password policies and timeout inactive sessions. It is also worth mentioning that it records the IP address of every failed login attempt so it is easy to integrate with your own solutions such as htaccess deny directive. ...

June 1, 2013 · milosz · Issue

Kolab and national characters in the mail subject

I am using mainly Polish language so it is obvious that fairly quickly I encountered a problem with national characters in the subject line. Problem is not fixed in Debian packages (using Debian Wheezy x86_64 and Kolab Systems – Public Repositories) but luckily it is very easy to fix. ...

Kolab 3 and Debian Wheezy – Small LDAP issue and quick fix

Yesterday I experienced strange problem after Kolab 3 installation on Debian Wheezy as I couldn’t add an initial user account using admin interface. ...

CentOS 6 – _netdev fstab option and netfs service

Yesterday I had a small problem. I have added GlusterFS mount point to the fstab but filesystem wasn’t mounted automatically after I rebooted the operating system (CentOS). ...

CentOS 6 – RepoForge and Advanced Policy Firewall

Hmm… Today I hit funny problem as I couldn’t install Advanced Policy Firewall from RepoForge (RPMforge) repository on CentOS 6. Fortunately the solution is trivial and doesn’t require any magic… ...

Google Chrome – Recent "Couldn't load plugin" error

Yesterday I experienced quite annoying “Couldn’t load plugin” error when I tried to play any video on YouTube. It started suddenly and I was very surprised by it. ...

February 3, 2013 · milosz · Issue · Linux

CentOS – fping 3.3 plus Smokeping 2.6.8 equals to empty graphs

fping was updated last month (2012-08-19) to version 3.3. Output statistics were directed to stdout instead of stderr so Smokeping (2.6.8) was not updating RRD files as a result. ...

How to deal with attachments blocked in Outlook

Today I needed to unblock .exe extension in Outlook 2003. I did quick search for a solution convenient for regular users and found one. Just install CodeTwo Attach Unblocker and add desired extensions to the Unblocked attachments list. ...

Ubuntu – Unknown encoder libmp3lame

Couple days ago I encountered an audio conversion failed: Unknown encoder ‘libmp3lame’ error when I tried to convert YouTube videos to mp3 format using youtube-dl. ...

PHP default timezone warning

PHP Warning: mktime(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /var/www/... If you encounter similar warning, then it means that you need to set default timezone used by all date/time functions....

How to use VideoLAN in live mode

After I started my journey with squashfs I encountered problem with VideoLAN as I couldn’t start it. ...

Dell Inspiron 14z – Shortcut buttons

Dell Inspiron 14z (N411z) has three small shortcut buttons above the keyboard. First button First one with small gears on it can be used out of the box in KDE or GNOME. xev output: KeyPress event, serial 35, synthetic NO, window 0x6000001, root 0xb1, subw 0x0, time 137282557, (-94,112), root:(1047,135), state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 35, synthetic NO, window 0x6000001, root 0xb1, subw 0x0, time 137282558, (-94,112), root:(1047,135), state 0x40, keycode 53 (keysym 0x78, x), same_screen YES, XLookupString gives 1 bytes: (78) "...

Ubuntu and recent problems related to PHP

Recently I run into small problems related to PHP. Problem A – sqlite.so The first one was a PHP warning: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/sqlite.so' - /usr/lib/php5/20090626/sqlite.so: cannot open shared object file: No such file or directory in Unknown on line 0 PHP tried to load sqlite.so from /etc/php5/conf.d/sqlite.ini (php5-sqlite package). $ dpkg -L php5-sqlite /. /etc /etc/php5 /etc/php5/conf.d /etc/php5/conf.d/sqlite3.ini /etc/php5/conf.d/pdo_sqlite.ini /etc/php5/conf.d/sqlite.ini /usr /usr/share /usr/share/doc /usr/lib /usr/lib/php5 /usr/lib/php5/20090626 /usr/lib/php5/20090626/pdo_sqlite....

Dell N411z – "GLX" missing on display ":0.0"

I use Dell Inspiron N411z with Intel HD Graphics 3000 and recently I run into problems with 3D support. I suppose it happened after I installed something but don’t remember exactly what. ...

How to quickly create rewrite rules for all WordPress posts

This post describes a quick way to create .htaccess rewrite rules after permalinks change from /%post_id% to /%year%/%monthnum%/%day%/%postname%/ ...

CTRL + F = xterm

Funny thing happened today. I got really surprised that using CTRL + F keyboard short-cut executed xterm. Then I realized that I installed xbindkeys recently…

CentOS 6.2, phpMyAdmin, Apache 2.2 – Segmentation fault (11)

Today I installed phpMyAdmin on fresh CentOS 6.2 (with EPEL repository) and it was not working. Looking at Apache logs revealed only notice: [notice] child pid 41292 exit signal Segmentation fault (11) My Apache and PHP versions: $ httpd -v Server version: Apache/2.2.15 (Unix) Server built: Dec 8 2011 18:07:26 $ php -v PHP 5.3.3 (cli) (built: Jan 11 2012 19:30:40) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies The problem was with eAccelerator PHP module....

ASUS 1005HA – ACPI and CPU fan failure

I am using ASUS 1005HA for light web browsing, but recently I experienced CPU fan failure. It’s hard to get a new fan when most people celebrate Christmas. Hopefully, there is a solution that will give me some time. ...

Disable WordPress post revisions

I always forget to disable post revisions on fresh WordPress installation so I need to write it down. ...

December 15, 2011 · milosz · Issue

CentOS/ISPConfig – Easy Postfix upgrade (with MySQL support)

If you are using ISPConfig on CentOS and don’t want to bother with self compiled postfix (because of MySQL support) then use CentOS Plus Repository. ...

What if root hint file is out of date?

Download root hint file. ...

VLC – quick solution for problems with HTTPS certs

Certificate could not be verified error. ...