Archive for February 9th, 2007
How many of you write notes to yourself about things you constantly forget?
I’ve found one of the best methods of remembering stuff is to just blog about it. That way, I can just search my blog for the answer. It’s like having a 100% portable notebook. It’s also a good way to help other people who may have the same questions you do.
Like today for example, I needed to run a PHP script as a cron job, but I couldn’t remember the crontab syntax.
Here’s the command I enter to run my php script:
php -q /home/sitename/public_html/cronscript.php
Next time I forget that I need to use the -q option, I’ll know where to look!
February 9th, 2007
If you’ve ever run websites you’re familiar with the concept of a virtual server. Some of you may even be familiar with cpanel. Those of you who have, have no doubt encountered the following message in your inbox:
cpsrvd failed @ Fri Feb 09 13:36:38 2007. A restart was attempted automagicly.
If it’s your first time seeing this message, it can be pretty confusing. What the hell is cpsrvd? Failed – that can’t be good! Restart? Did it work? Did I lose any data? Is something broken? Is automagicly even a word?
The good news is, don’t worry. It’s really no big deal. cpsrvd is part of your cPanel services (More specifically, it stands for “cPanel Service Daemon.” ), and it’s really common for it to crash. In fact, it crashes so often that cPanel included that little script to restart it when it goes down. (that’s the same script sending you the emails)
If it didn’t restart, you wouldn’t have access to your cPanel. If that should happen and you have shell access, you can restart it with the following command:
/etc/init.d/cpanel restart
It seems that you can fix this by upgrading to the latest version of cPanel. If you’re really courageous and have root access, you can try this: (Disclaimer: these commands have not been tested.)
rm -f /usr/local/cpanel/cpanel
/scripts/installgd
/scripts/cleanmd5
/scripts/upcp
So why am I writing a post like this? Because I couldn’t find any information about it on one website, I had to visit about 8 different sites to compile this post. It’s an example of a great SEO technique – posting a thorough answer to a commonly asked question. In this case, I couldn’t easily find what I was looking for on the web, so I made a page to fill that space.
Go ahead, try it out on your own sites – see if you get any increased traffic.
February 9th, 2007
Anybody that knows me can attest that I’m not a liberal, I’m just anti conservative. Many of my views on life revolve around a simple philosophy: “if it’s not infringing upon the rights of anybody else, I don’t have a problem with it.” This explains my stance on seatbelt laws, motorcycle helmet laws, etc.
Anyway.. is the world growing more conservative, or are people just going overboard trying to complain about things?
After the Snickers commercial was taken down, I’m glad to see that some companies are starting to stand up to the conservatives.
GM has refused to take down it’s robot suicide commercial after pressure from suicide help groups, and I agree with GM here. It’s a robot. Robot’s don’t commit suicide. It’s not a human, so it’s funny. Get over it.
In a like move, Amazon has ignored requests of the Human Society to take down a cockfighting magazine. While cockfighting is illegal, publications about it aren’t. (see high-times magazine for proof of this.)
What’s worse, I’m not even sure why they’re going after Amazon. The magazine is being sold by a 3rd party that is just using Amazon’s storefront. Clearly, they should be going after the publisher not Amazon right?
I just want to say kudos to GM and Amazon for standing up for themselves when other companies are quick to give in to conservative demands.
February 9th, 2007
So you’ve just had your next great marketing idea. You know, the one that will make your company millions. You can’t believe such a simple idea came to you so easily. You start thinking about the corner office, all the hott chics, the endless bar tabs etc, but you’re interrupted by your developer saying he’s done.
Great! Now all that’s left to do is send this baby out and rake in the cash.
Stop! Read it first!! Have your employees read it, send it to your mom. Do something before you just put it live, or you may end up with something like one of these:
What was that interest rate? When does it expire? What’s that big empty space?
or at least make sure spell check it:
In case you can’t see it… they used the wrong version of your/you’re
February 9th, 2007