CentOS 7.1 and OpenVZ

Over the last weekend, this blog was down for a few days before it finally got back up and running last sunday. The source of the problem was because of CentOS 7 just recently been updated to 7.1 and the problem was caused by the initscripts package. While there’s nothing important here because this is just a personal blog and not a mission critical site, but seeing it was inaccessible for a few days irks me.

I found out the site was inaccessible on April 3. I was unable to connect at all and so i was thinking that maybe the node where i was at was down and so i sent a ticket to the provider. When they replied saying there’s nothing wrong on their side, then i started thinking was there a misconfiguration somewhere? but the day before it was working. So it began, the troubleshooting game. Unfortunately because the network is down and the provider didn’t give me access to any other console so it’s kinda hard to check on things because i have to tell them the command first by sending them tickets and then they would execute it and report back. At the same time i don’t like bothering them like this because this is an unmanaged service so asking them like this feels like i was bothering them.

After numerous messages and failed attempts. They offered me to create a full backup of my container and then rebuild the vps the OS and then put the backup file later on the freshly installed vps so i can do what i want with it later. I was still hesitant on doing that mainly because well let’s just say i don’t want to reconfigure the whole thing again and i’m thinking the problem wasn’t related to configurations and so i asked them to execute one more command, and that is to install packages using yum.

To my surprise they reported that yum failed and they couldn’t even ping the machine from the host node. So just as i thought this problem was caused by something else and so i ask them to try to re-add my ip address, move to another ip temporarily, and all of them ended up in failure and thought that this is due to broken network scripts. Then they re-offered me whether i want to proceed with the backup plan mentioned before … and because i’m left with no other choice i choose yes. After the procedure completed I’m left with a freshly installed CentOS 7 and a tar backup file placed in the root directory.

Site redesign done but it feels like i broke something

It was many years ago since the last time i changed the site design; and whenever i changed something i often find problems that appear only after i’ve actually uploaded it into a live site. It was no different now. Everything seems to be running fine while testing locally and when i’ve uploaded it; there’s something broke either due to the restrictions i placed on the live server or due to i forgetting something. Often though i found something that maybe if i do this it’ll be better and i have to re-edit and such.

Additionaly, people would be happy when they received 0 spam (and so do i). But after doing some modifications here and there, it feels like i did something wrong when the spam counter is still at 0 during the last 2 days after it goes live when it usually reach hundreds within a day and now there’s 0 spam in the spam area.

Then what makes it worse is i just noticed now (or to be precise i finally care), long time ago i made a big mistake of using automatic tags generation for all my posts tags and now i’ve paid a big price for it by deleting all the tags, and then i’ve to proceed to add them manually although the later is still in progress because i’m also doing some cleaning on the other stuff as well.

I’m back and what a mess

It’s been a long time since the last time i write something, and what a mess this place is when i returned… a week ago or so. There are way too many spam that even the empty spam button couldn’t do anything about it so i have to use sql command directly just to clean it. Not to mention there are way too many spam that goes through Akismet too and ended up directly in the comment area.

According to Akismet, for last month (september) the amount of spam that got caught was at 125,966 while for this month as of writing this the number of spam is at 115,945. I’m simply stunned. If a small blog like this could get such a large amount of spam, how big would it be for larger blogs?. Must be really stressful.

Besides doing some cleaning, i have also made changes to many things here and there. I moved from my old hosting provider into a new budget vps that is cheaper and also enabled SSL although it is not on by default, which means you need to change the url into https by yourself first and then the rest of your visit would be in SSL (if anyone care).

Finally after i’ve finished setting up everything also making sure that the new server can stay up and running for several days without problem (and not getting kicked too), I then canceled my old hosting plan. And so here begins the new chapter of this blog.

I’ve been banned from Google Adsense

Usually i don’t want to write a post for something like this, but because this site is powered by Adsense to pay for its monthly bills since 2006 and i just got banned by Adsense, i’ve decided that perhaps it is for the best that i write about it just to let those that read this site knows about it and perhaps can learn something from this.

Basically here’s what i get from email message i received from Google and unfortunately there are no warnings given (not even a single warning even after all these years).

Hello,

We continually review all publishers according to our program policies (https://www.google.com/support/adsense/bin/answer.py?answer=48182&stc=aspe-3pp-en) and Terms and Conditions (https://www.google.com/adsense/localized-terms?&stc=aspe-3tc-en ). During a recent review of your account, our specialists found that it was not in compliance with our policies.

11 Weeks and 1 day later …

After i decided to quit smoking (tobacco obviously because that’s the only thing i smoke). I must say that, so far the only thing noticeable after i stopped smoking is … it feels that i can breathe more air while at the same time i feel tightness in my chest and throat and i feels like i’m having shortness of breath (strange isn’t it?)

Anyway for the past 2 months, what i’ve been doing is basically consist of going back to see a doctor again and again from:

  1. Going to the ER Room because i’m having breathing difficulties and this is when i decided to stop smoking. And the ER room doctor said that (after looking at the EKG/ECG result and asking me whether i have gastro problem) it was caused by GERD
  2. Then go to a Pulmonologists (just to make sure that the breathing difficulties is caused by GERD, although he didn’t ask for X-Ray)
  3. And then staying in the hospital for about 3 / 4 days due to infection
  4. Then go to an Internist for a check-up a few days after i returned from the hospital
  5. Then to a Dermatologist
  6. And back to Internist once again
  7. And then goes to a Dermatologist for about 3 times and next week i’m going to go see the Dermatologist once again so make it 5

Now if only money grows on trees …

p.s I was diagnosed with GERD in 2009 (long before this)

Why you should create backup and recovery cds

And obviously this apply to me also. Because last week i lost all my partitions on one of my disk drive which is unfortunately contains all my important files from projects to important documents and also include a not so important mp3 files. And to make things worse, the last backup i created is more than a year ago (mp3 and other not important files are excluded) so recovering from that backup is a no go for me. And the only thing i can do is try to recover it first by myself and if i can’t recover it, i’ve been thinking on taking the HDD to recovery experts (although i prefer to avoid this because i don’t have the money to pay for experts hdd recovery which cost more than 90 USD)

p.s. if you just want to know on what tools i used to do the recovery process and similar stuff, just scroll down

And here’s what happens last week:

  1. I started my computer, to continue working for my new project. And just right after i booted into Windows Vista (x86) (i have Vista x86 and Windows 7 x64 in Dual Booting). Windows stopped responding and forced me to reboot my computer using the reset button
  2. Computer restarted and then stuck on Windows Booting Logo (that progress bar thing), and force me to push the reset button again. This continue for about 2 – 4 times
  3. After several times restarting finally i can get into Windows Vista and to my surprise i was greeted with a message that is basically saying One of the partition is corrupted (the corrupted partition is where i stored the my documents and such, because i moved the my documents into another partition located at different physical drive from the OS partition). And so i run this command at the command prompt
    fsutil dirty set x: && fsutil dirty set y: && fsutil dirty set z:

Welcome to the new server hosted on Knownhost

After a long and exhausting proces with reading testing and scp-ing files to the new host, i can finally say that i’m finished with the moving process! well actually the moving process only take a few hours but reconfiguring everything in the new host need careful testing just to make sure that i’m not breaking something and so i welcome you to my new host, Knownhost and this also mark as the fourth host i’ve been using so far

I’ve heard only great things about them on various forums or blogs and it seems those posts aren’t just post made up to get affiliate commision, because after signing up with them, i noticed it immediately that they have fast servers and also good network coverage even for someone like me that live in another country really far away from the server location (if you’re wondering on which datacenter i choose, i choose Texas simply because majority of this blog visitors is located near Texas according to Google Analytics although California datacenter is much faster for me)

And oh as a note, if you sent an email to me via my contact form since 2 weeks ago and didn’t receive any answer, unfortunately that’s because i forgot to configure something that makes the email being rejected, and in the end i’m not seeing anything on my inbox so try resending your message once again because i just fixed it (and already tested it)

p.s if you want to signup with Knownhost, make sure to apply Knownhost Coupon Code KH2010 to get 75% discount on your first month and 10% lifetime discount on VPS2-VPS5 Plan

Obsessed with site speed

Recently i’ve been obsessed with site speed once again, and no, this is not because Google site speed factor that has been talked by various website recently, this is simply because i just love tweaking things :P

So what i’ve been doing so far?

Since last week (or two weeks ago), i’ve testing and tweaking various part of this site and also server side related stuff. But obviously if i have to write all of them here it would be a very long post that is probably not interesting to most of you. And don’t ask me on how many times i’ve used Google Pagespeed and Yahoo YSLOW because i won’t be able to remember it

But of course there’s always room for improvement for a small thing like minimize dns lookup, and combining all the javascript and css used and also switched to using css sprites to minimize HTTP requests, but i’ll save that for later until i know on how to use css sprites properly as for minimize dns lookup, well i’ve been thinking on consolidating all static files into a subdirectory but because i think it’d be a mess if i have to put all of them in one place, i guess i’ll have to live with additional dns lookup

Just when i thought that writing would be an easy task

Just when i thought that i could start posting again to this blog … i had to moved to another city once again, and so there’s a delay until i can get a new connection here. But now … when i got a new connection, unfortunately because it has been a loooong time since the last time i wrote something, i just don’t have any ideas at all!

So what about this post then? well basically it is just a rant from me because i’m just so stressed because i don’t have any ideas to write something useful (or at least interesting to read) even after asking to Darkened Linux, but it seems that he don’t have any ideas at all just like me :(

So i guess for now i should just doing a little bit of reading here and there on various websites or forums. Or perhaps if there’s a kind soul reading this and got an idea (no matter what that is) on what the next subject should be. Please leave a comment here :D

Anway think of this post as a writing practice for me again because i just started writing again (and let’s just hope that i can get an idea by doing this) :) but obviously if you got an idea just let me know ;)