inside the mind of a linux admin

Unity: Move vertical launcher to another monitor

Those of you making the conversion from gnome to unity in this latest Ubuntu release will notice quite a few changes. When I installed 11.04 on my office workstation (with dual monitors), Unity’s vertical launcher appeared in the middle of the two screens (on the very left of the right hand monitor). This is probably […]

Read More

Ubuntu 11.04 released – Natty Narwhal

Canonical has announced the official release of Ubuntu 11.04, codenamed Natty Narwhal. This major update introduces the new Unity desktop shell, which is designed to improve ease of use and deliver a more modern user experience. Ubuntu founder Mark Shuttleworth unveiled the Unity project a year ago during an Ubuntu Developer Summit keynote in Brussels. […]

Read More

Repair and optimize all mysql tables from CLI

Here’s how to check, repair and optimize all your mysql tables in all databases on a server… mysqlcheck -u root -p – -auto-repair –check –optimize –all-databases Note: you do not have to have root to do this, simply replace -u root with -u yourusername That’s it.. (Remember if you are using a tool like phpmyadmin […]

Read More

Mass updating zone file serial numbers with sed

If you’ve ever administered a DNS (name server), than you know that serial numbers mean a lot. But what happens when you have several [hundreds|thousands] of zone that you need to make a mass-change to. That’s easy enough, there’s tons of ways to do that with sed, awk, or simple tools like “replace”. However, once […]

Read More

Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273

Recently, I’ve seen cPanel upgrade throwing errors during upcp such as: # /scripts/upcp /scripts/upcp syntax OK Running Futex Check/Fix……Done Undefined subroutine &Cpanel::Update::automatic_updates_enabled called at /scripts/upcp line 273. Fix: wget -O /root/updatenow.static http://httpupdate.cpanel.net/cpanelsync/RELEASE/scripts/updatenow.static && perl /root/updatenow.static –manual Then force the upgrade: /scripts/upcp –force Share on FacebookTweet

Read More

Ubuntu 10.04.02 LTS released

Erik

Friday, February 18, 2011

ubuntu linux

No Comment

The second maintenance update of Ubuntu 10.04 LTS has been released. Ubuntu 10.04 LTS will be supported with routine maintenance updates until April 2013 on desktops and April 2015 on servers, The release integrates ‘numerous post-release updates’ including security updates and ‘corrections for high-impact bugs, with a focus on maintaining stability and compatibility with Ubuntu […]

Read More

Howto: Delete files by inode number

Ever mistakenly pipe output to a file with special characters that you couldn’t remove? -rw-r–r– 1 eriks eriks 4 2011-02-10 22:37 –fooface Good luck. Anytime you pass any sort of command to this file, it’s going to interpret it as a flag. You can’t fool rm, echo, sed, or anything else into actually deeming this […]

Read More

MegaCLI Cheat Sheet

Recently I’ve had to do extensive work with Dell PowerEdge servers, and specifically Dell’s that use the LSI MegaRAID controllers. Anyone who has ever had to work with the LSI RAID controllers knows that the MegaCLI provided by LSI is the most cryptic command line utility in existence. MegaCli is available for Linux, DOS, Windows, […]

Read More

fun with outsourced support: Sprint

Erik

Saturday, January 29, 2011

comedy & funny ha ha

1 Comment

Mike: Hello, I’m a Sprint order specialist. I specialize in setting up new wireless accounts. Are there any questions I may help answer for you today? You: will my phone be activated when i get it Mike: I would be glad to assist you about your new phone details. Mike: Let’s move this chat and […]

Read More

Drive failure? ddrescue to the rescue!

A server’s primary hard drive crashed hard one fine day. Yes, a non-RAIDed “server” (*sigh*). The last thing heard from it was screams of read-only, and it was gone. We got the drive mounted via a SATA dock to a new machine. At this point, all attempts at mounting and fscking failed, and dmesg was […]

Read More

Twitter: kireguy

Tweeter button Facebook button Myspace button