Spacewalk not responding – “Starting tomcat6: Error code 4”

In case you see “Starting tomcat6: Error code 4”, make sure you have some free space on the file system…

Nagios time in far future

In case of the time being too far in the future you can go to: /etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start/etc/init.d/nagios stop mv /var/nagios/retention.dat{,.old} /etc/init.d/nagios start

OpenWrt on TP-LINK TL-WR904N

I have successfully installed OpenWrt Attitude Adjustment 12.09 on TP-LINK TL-WR904N Rev. 1.0 Ver 1.3. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ar71xx-generic-tl-wr941nd-v4-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)…

OpenWrt on Tenda W307R

I have successfully installed OpenWrt Attitude Adjustment 12.09 on Tenda W307R Rev. V2.0. This HW is not described on OpenWrt HW list, but I have flashed it successfully with openwrt-ramips-rt305x-w306r-v20-squashfs-factory.bin. BusyBox v1.19.4 (2013-03-15 02:26:13 UTC) built-in shell (ash) Enter ‘help’…

Set window name in Tmux to hostname

This is the quick way to set window name to hostname connected to. printf "\033k`hostname -s`\033\\"printf "\033k`hostname -s`\033\\" See http://superuser.com/questions/249293/rename-tmux-window-name-to-prompt-command-ps1-or-remote-ssh-hostname

Moving the repositories

As a few of you might know, I’m going to leave the Centre for Information Technology at Technical University of Ostrava within a few weeks. It’s been great fun to work here all the time but the last year. There’s…

Powercli to list & delete snapshots

We have realized we are having broken NetApp VMs backup. The process left a lot of VM snapshots. To start off let’s find out those snaps with: get-vm | get-snapshot | where {$_.Description -match "SMVI Snapshot generated for backup"}| Format-Table…

Fork me on GitHub