Category Archives : Sys admin

apache unresponsive

apache2 hangs.  Check logs, see: [error] could not make child process 16190 exit, attempting to continue anyway check your php files (such as drupal’s includes/ and sites/all/modules/advagg/ ) for: ignore_user_abort Try to comment all out, and restart apache.

apt-get upgrade getting: Err raring-security/universe amd64 Packages 404 Not Found [IP: 80]

To make apt-get update work, we simply need to edit /etc/apt/sources.list and update all URLs from and to point to, as per the following sed command: sudo sed -i.bak -r ‘s/(archive|security)’ /etc/apt/sources.list After this, sudo apt-get update seems to run without a hitch. Of course if you do this, you’re accepting to […]

ssh warning

When ssh, if you get:   @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!     @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the DSA […]

alt + tab application window switcher (e.g. no grouping of windows) in ubuntu

sudo apt-get install compizconfig-settings-manager sudo apt-get install compiz-plugins Open compizconfig-settings-manager with alt-F2, type ccsm. Scroll down to “Ubuntu Unity Plugin”. Choose the tab “Switcher”. Disable the alt-tab and shift-alt-tab key bindings. (“Key to start the switcher” and “Key to switch to the previous window in the Switcher”. Click the “Back” button. Scroll down to the […]

windows 7 permission issues

If your permissions in windows 7 get messed up, you can: 1. take ownership of all files, recurse, specify default answer to whether or not take ownership to y takeown /f . /r /d y 2. give everyone read permission icacls . /grant:r everyone:r /t /c /q 3. grant and replace existing permissions and give […]