Thursday, August 17, 2006

Balancing P/PC

I was just reading the 7 habits for Stephen Covey.. (Yah Yah.. I know, another one talking about the 7 habits), but really, I was stopped by this guy way of simplifying things, and show how much I didn’t give time to look into things more.

I am in the dilemma now of practicing what I read, and the first place to practice is ,of course, at work and at home, and to tell you the truth, things didn’t go the way I wished.

I was struggling my way at work, happy and satisfied, when all at a sudden I started to practice what Stephen preached, and I started to see thing I never paid attention to before, for starters.. what am I doing in my work, I thought my job move to this new company was a good step, but now I started to question if I made the right step or not. At first making this step made logic and served the big pictures, the goose Covey was telling us about in the book, but by time I was much into work to realize that I spent 6 months without committing to the goose welfare, the reason which pushed me to switch jobs in the first place. I thought I was on track where all in a sudden I found myself getting to Lostville instead of heading to AcheiveVally, and if I was really achieving, I was not achieving what I wanted.. I was dazzled by the position and authorities I got, to notice the goose dying from lack of care.

Getting back to the free will and choice of decision, i had to have the chioce of maintainig my PC, to revive the goose, and to get back on track..
My passion to Linux environment, building infrastructures and IT solutions had to win at the end.. the srtuggle was harsh, but the trophy was worth the fight.. It was not the choice of moving to the new company that i had to question.. it was what i was doing and what i can do best,
and at the end.. i am still learning.. if you know what i mean.

Wednesday, August 16, 2006


Ok, this one was nasty..
whenever i apt-get anything on my Debian server i got these errors

locale: Cannot set LC_CTYPE to default locale: No such file or directory

locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory

it was driving me crazy.. until i found a thread that said:
run "dpkg-reconfigure locales" as root user

and choose the locale u want..
and ummmm.. don't forget to restart.. :D

if this doesn't work..
apt-get install localeconf

Select locales to install (e.g. en_US ISO-8859-1) and select the standard locale (e.g. en_US).

You will be asked a few questions:

Manage locale configuration files with debconf? <-- Yes
Environment settings that should override the default locale: <-- do not select anything
Replace existing locale configuration files? <-- Yes
Default system locale: <-- e.g. en_US ISO-8859-1

ok.. and don't forget to restart

you should find everything working fine now.. to check run

you will get your output with no errors now..

so why did this happen.. simply the variables LC_CTYPE LC_MESSAGES LC_ALL were set to a locale that is not installed.. so reconfiguring and restarting sets things right
Here we go
"Hello World"