Enable serial terminal for Proxmox Linux guest VMs

Configuration on the hostAdd a virtual serial port to the VM: qm set -serial0 socket or echo “serial0: socket” >> /etc/pve/qemu-server/.conf Configuration on the guest Enable and start serial console on the guest VM: systemctl enable serial-getty@ttyS0.servicesystemctl start serial-getty@ttyS0.service Instruct grub2 to send the boot messages on the serial port by editing /etc/default/grub and adding: … Read more

pac manager failure on debian stretch

After upgrading my laptop from Jessie 8.8 to Debian 9 Stretch on the 19th of June, 2017, PAC Manager stopped working. Specifically, it would start, but hanged when I tried to open a connection, either ssh or local. After searching around, I found the following post which seems to have given the solution: https://sourceforge.net/p/pacmanager/bugs/293/ The … Read more

apache2 mod_python version mismatch

I was getting some warnings in one machine’s Apache 2 web server error log regarding mod_python, see below: [Wed Jan 25 01:29:11.717727 2017] [:error] [pid 4389] python_init: Python version mismatch, expected ‘2.7.5+’, found ‘2.7.9’. [Wed Jan 25 01:29:11.717856 2017] [:error] [pid 4389] python_init: Python executable found ‘/usr/bin/python’. [Wed Jan 25 01:29:11.717864 2017] [:error] [pid 4389] … Read more

apache 2 on debian wheezy upgrade failure

After running apt-get update && apt-get upgrade on a Debian Wheezy server package apache2-mpm-prefork:amd64 was removed and package apache2-mpm-itk:amd64 installed instead.  After this change in Apache worker, all Virtualhosts sites on the server stopped working, with the following error format in the logs: [Mon Nov 21 09:57:41 2016] [emerg] [client xxx.xxx.xxx.xxx] (13)Permission denied: mod_fcgid: can’t … Read more

debian post-installation

Useful utilities I like to install after a fresh Debian installation (or on a running system): vim-nox debfoster localepurge htop iotop mytop latencytop sysstat debian-archive-keyring (to avoid apt-get update warnings) apticron (list available updates of installed packages along with the differences in the two versions) hdparm (measure I/O speeds) virt-what (decide if we are running inside … Read more