Posts for March, 2009

How to Stop a Cron Job or Email Notification

March 30, 2009 Posted in FreeBSD General

From the log stats, I found many people were wondering how to stop a cron job or its email notification. To stop a cron job, just remove the command by editing the cron job: Read More

Scary Moment

March 30, 2009 Posted in Security

When I was restarting Apache after installed a new PHP module, I found that httpd.conf was missing, that was scary! I have absolutely no idea how this happened, the only possible reason is that I deleted it by accident. Read More

Converted to WordPress

March 18, 2009 Posted in Misc

MovableType suddenly stopped working, I couldn’t publish new posts any more. So I took the chance to convert it to WordPress.

Another FreeBSD Blog

March 13, 2009 Posted in FreeBSD General

Here is another FreeBSD blog: Real FreeBSD Tips, it looks quite professional. Still too few FreeBSd blogs out there, FreeBSD deserves much more attention. I have no idea how many servers are running FreeBSD, but it should be a very small number compared to Linux.

Email ISP

March 12, 2009 Posted in Email

Finally, AOL unblocked my new IP, their Feedback Loop Request Form doesn’t seem to work, I joined two times and was approved too, but nothing happened. The unblock was done after I got a personal reply to my direct email request.

Here are some other email ISPs I have dealt with: Read More

Official FreeBSD Forum

March 9, 2009 Posted in FreeBSD General

I just found the official FreeBSD forums, it’s also using my favorite forum software, nice. I prefer web-based forums to milling-lists, newsgroups or IRC rooms, I can never get used to them. Finally, I got a place to hang out.

Move a Server

March 8, 2009 Posted in FreeBSD General

In the last 6 months, I have rebuilt my server four times due to ISP change or hard disk problems. Minimal down time and data consistency are two most factors when move to a new server. Here’s how I usually move a server: Read More

Moved Out

March 4, 2009 Posted in General

The problem, which should never have happened, happened again just two days later, caused another 4 hours down time. Burst.net must hate me, I can’t understand why they stopped routing my IPs, again!
Read More

Monitor MySQL Log File

March 2, 2009 Posted in MySQL

I rarely check MySQL log file, but recently I got some table corruption errors, and it’s hard to notice these errors, especially when these tables are not critical. I realized that it’s necessary to monitor MySQL log file. According to MySQL manual, before version 5.1.20, it’s not possible to log MySQL errors to syslog. I’m still using 5.0, so I added the following line to cron job of my root account:

30 2 * * * tail -n 50 /var/db/mysql/hostname.err

Now I get notification email daily (no email if it’s empty), not a bad solution.

Horrible Support

March 1, 2009 Posted in Misc

After yesterday’s server problem, I realized how ‘horrible’ a support can be, it’s beyond my imagination. Read More

Another Network Problem

March 1, 2009 Posted in Networking

Today I found some sites on my server didn’t respond, but I couldn’t find anything wrong with the server. Apache logs showed that these websites hadn’t got any visits since 16 hours ago. Read More



Archives