<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jean - 记录成长历程 &#187; 排错</title>
	<atom:link href="http://www.zhangyiqun.net/tag/%e6%8e%92%e9%94%99/feed" rel="self" type="application/rss+xml" />
	<link>http://www.zhangyiqun.net</link>
	<description>让世界更美好一点儿</description>
	<lastBuildDate>Wed, 07 Dec 2011 14:04:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>VirtualBox: Error: Cannot register the hard disk</title>
		<link>http://www.zhangyiqun.net/872.html</link>
		<comments>http://www.zhangyiqun.net/872.html#comments</comments>
		<pubDate>Wed, 16 Dec 2009 14:15:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux系统]]></category>
		<category><![CDATA[基础]]></category>
		<category><![CDATA[排错]]></category>
		<category><![CDATA[服务配置]]></category>
		<category><![CDATA[软件安装]]></category>

		<guid isPermaLink="false">http://www.zhangyiqun.cn/?p=872</guid>
		<description><![CDATA[晚上在作一个实验克隆硬盘时报错 [jean@jeantoe Web.Mysql.Slave]$ VBoxManage clonehd Web.Mysql.Slave.vdi ~/vm/Cspace/ VirtualBox Command Line Management Interface Version 3.0.12 (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. ERROR: Cannot register the hard disk &#8216;/media/my stage/vm/Cspace/Web.Mysql.Slave/Web.Mysql.Slave.vdi&#8217; with UUID {56ac145d-4d69-4f5e-ad48-4c4f5ad18ef5} because a hard disk &#8216;/home/jean/vm/Cspace/Web.Mysql.Slave/Web.Mysql.Slave.vdi&#8217; with UUID {56ac145d-4d69-4f5e-ad48-4c4f5ad18ef5} already exists in the media registry (&#8216;/home/jean/.VirtualBox/VirtualBox.xml&#8217;) Details: code NS_ERROR_INVALID_ARG (0&#215;80070057), component VirtualBox, interface [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F435.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">fedora11下安装mplayer最新版(适用于常见linux发行版)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F71.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">常见服务的简单配置</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F790.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何手动安装grub？</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">粗心，proftp和vsftp同时启动&quot;不报错&quot;</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>晚上在作一个实验克隆硬盘时报错</p>
<blockquote><p>[jean@jeantoe Web.Mysql.Slave]$ VBoxManage clonehd Web.Mysql.Slave.vdi ~/vm/Cspace/<br />
VirtualBox Command Line Management Interface Version 3.0.12<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>ERROR: Cannot register the hard disk &#8216;/media/my stage/vm/Cspace/Web.Mysql.Slave/Web.Mysql.Slave.vdi&#8217; with UUID {56ac145d-4d69-4f5e-ad48-4c4f5ad18ef5} because a hard disk &#8216;/home/jean/vm/Cspace/Web.Mysql.Slave/Web.Mysql.Slave.vdi&#8217; with UUID {56ac145d-4d69-4f5e-ad48-4c4f5ad18ef5} already exists in the media registry (&#8216;/home/jean/.VirtualBox/VirtualBox.xml&#8217;)<br />
Details: code NS_ERROR_INVALID_ARG (0&#215;80070057), component VirtualBox, interface IVirtualBox, callee nsISupports<br />
Context: &#8220;OpenHardDisk(Bstr(szFilenameAbs), AccessMode_ReadWrite, false, Bstr(&#8220;&#8221;), false, Bstr(&#8220;&#8221;), srcDisk.asOutParam())&#8221; at line 624 of file VBoxManageDisk.cpp</p></blockquote>
<p>解决方法为</p>
<blockquote><p>[jean@jeantoe Web.Mysql.Slave]$ VBoxManage clonehd $(pwd)/Web.Mysql.Slave.vdi $(pwd)/Node1.vdi<br />
VirtualBox Command Line Management Interface Version 3.0.12<br />
(C) 2005-2009 Sun Microsystems, Inc.<br />
All rights reserved.</p>
<p>0%&#8230;10%&#8230;20%&#8230;30%&#8230;40%&#8230;50%&#8230;60%&#8230;70%&#8230;80%&#8230;90%&#8230;100%<br />
Clone hard disk created in format &#8216;VDI&#8217;. UUID: adf201a1-281e-4c8d-9839-b6c9c363590d<br />
[jean@jeantoe Web.Mysql.Slave]$ ls<br />
Node1.vdi  Web.Mysql.Slave.vdi</p></blockquote>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F435.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">fedora11下安装mplayer最新版(适用于常见linux发行版)</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F71.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">常见服务的简单配置</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F790.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">如何手动安装grub？</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">粗心，proftp和vsftp同时启动&quot;不报错&quot;</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.zhangyiqun.net/872.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>粗心，proftp和vsftp同时启动&#8221;不报错&#8221;</title>
		<link>http://www.zhangyiqun.net/478.html</link>
		<comments>http://www.zhangyiqun.net/478.html#comments</comments>
		<pubDate>Mon, 06 Jul 2009 07:57:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux系统]]></category>
		<category><![CDATA[排错]]></category>

		<guid isPermaLink="false">http://www.zhangyiqun.cn/?p=478</guid>
		<description><![CDATA[Jul 6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; FTP session opened. Jul 6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; ftp: Directory /logs/squid/ is not accessible. Jul 6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; FTP session closed. ??? #netstat -lntp &#124; grep 21 &#8230; #ps aux &#124; grep ftp !!! #kill -9 4444<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决tuning primer的Unable to log into socket</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VirtualBox: Error: Cannot register the hard disk</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F514.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">nagios和cacti排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">由partprobe引发的错误</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>Jul  6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; FTP session opened.<br />
Jul  6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; ftp: Directory /logs/squid/ is not accessible.<br />
Jul  6 10:03:36 test00 proftpd[25810]: test00 (192.168.8.36[192.168.8.36]) &#8211; FTP session closed.<br />
<span id="more-478"></span><br />
???<br />
#netstat -lntp | grep 21<br />
&#8230;<br />
#ps aux | grep ftp<br />
!!!<br />
#kill -9 4444<br />
 <img src='http://www.zhangyiqun.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决tuning primer的Unable to log into socket</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VirtualBox: Error: Cannot register the hard disk</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F514.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">nagios和cacti排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">由partprobe引发的错误</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.zhangyiqun.net/478.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>由partprobe引发的错误</title>
		<link>http://www.zhangyiqun.net/221.html</link>
		<comments>http://www.zhangyiqun.net/221.html#comments</comments>
		<pubDate>Mon, 13 Apr 2009 12:40:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux系统]]></category>
		<category><![CDATA[排错]]></category>
		<category><![CDATA[磁盘配额]]></category>

		<guid isPermaLink="false">http://www.zhangyiqun.cn/?p=221</guid>
		<description><![CDATA[下午做磁盘的配额的时候报错 quotaon /usr/data6 quotaon: Cannot find quota file on / [/dev/sdc1] to turn quotas on/off. 检查后发现用户配置文件存放在sdc1中。 首先想到的是刚才格式化硬盘后直接用partprobe（实际上我已经都是这么干），莫非是以前运气超好从来不报错？然后重做了一遍，这次不敢partprobe了，老老实实重启。 后来再quotaon时就没问题了。 总结一句话生产系统上最好别用partprobe，不然出了莫名巧妙的错误可有的受了…… 1、除特别说明外，本博客内容皆为原创，可以自由转载传播，但请署名及注明出处，不尊重别人劳动成果的不欢迎； 2、本博客内容遵守“署名-非商业性使用-禁止演绎 2.5 中国大陆”协议；<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">粗心，proftp和vsftp同时启动&quot;不报错&quot;</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决tuning primer的Unable to log into socket</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VirtualBox: Error: Cannot register the hard disk</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F514.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">nagios和cacti排错</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>下午做磁盘的配额的时候报错<br />
quotaon /usr/data6</p>
<blockquote><p>quotaon: Cannot find quota file on / [/dev/sdc1] to turn quotas on/off.</p></blockquote>
<p><span id="more-221"></span><br />
检查后发现用户配置文件存放在sdc1中。<br />
首先想到的是刚才格式化硬盘后直接用partprobe（实际上我已经都是这么干），莫非是以前运气超好从来不报错？然后重做了一遍，这次不敢partprobe了，老老实实重启。<br />
后来再quotaon时就没问题了。<br />
总结一句话生产系统上最好别用partprobe，不然出了莫名巧妙的错误可有的受了……</p>
<p class="MsoNormal"><span>1、除特别说明外，本博客内容皆为原创，可以自由转载传播，但请署名及注明出处，不尊重别人劳动成果的不欢迎；</span></p>
<p><span>2、本博客内容遵守“</span><a href="http://creativecommons.org/licenses/by-nc-nd/2.5/cn/" target="_blank"><span>署名-非商业性使用-禁止演绎 2.5 中国大陆</span></a><span>”协议；</span></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F478.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">粗心，proftp和vsftp同时启动&quot;不报错&quot;</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">解决tuning primer的Unable to log into socket</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F872.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">VirtualBox: Error: Cannot register the hard disk</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F514.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F221.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">nagios和cacti排错</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.zhangyiqun.net/221.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>解决tuning primer的Unable to log into socket</title>
		<link>http://www.zhangyiqun.net/113.html</link>
		<comments>http://www.zhangyiqun.net/113.html#comments</comments>
		<pubDate>Mon, 16 Mar 2009 10:54:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[脚本编程]]></category>
		<category><![CDATA[mysql调优]]></category>
		<category><![CDATA[排错]]></category>

		<guid isPermaLink="false">http://www.zhangyiqun.cn/?p=113</guid>
		<description><![CDATA[vi 120 mysql=&#8221;/usr/local/mysql/bin/mysql -S $socket -u admin -p$(cat /etc/psa/.psa.shadow)&#8221; 121 mysqladmin=&#8221;/usr/local/mysql/bin/mysqladmin -S $socket -u admin -p$(cat /etc/psa/.psa.shadow)&#8221; 122 else 123 mysql=&#8221;/usr/local/mysql/bin/mysql -S $socket&#8221; 124 mysqladmin=&#8221;/usr/local/mysql/bin/mysqladmin -S $socket&#8221;<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F23.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">玩转apache之调优</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F101.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">对玩转apache之调优的补充之一（系统篇）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F583.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux网络性能调优</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F408.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">mysql默认不支持远程连接</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>vi</p>
<blockquote><p>120 mysql=&#8221;<span style="color: #ff0000;">/usr/local/mysql/bin/mysql</span> -S $socket -u admin -p$(cat /etc/psa/.psa.shadow)&#8221;<br />
121 mysqladmin=&#8221;<span style="color: #ff0000;">/usr/local/mysql/bin/mysqladmin</span> -S $socket -u admin -p$(cat /etc/psa/.psa.shadow)&#8221;<br />
122 else<br />
123 mysql=&#8221;<span style="color: #ff0000;">/usr/local/mysql/bin/mysql </span>-S $socket&#8221;<br />
124 mysqladmin=&#8221;/usr/local/mysql/bin/mysqladmin -S $socket&#8221;</p></blockquote>
<p style="margin:0;padding:0;height:1px;overflow:hidden;">
    <script type="text/javascript"><!--
        var wumiiSitePrefix = "http://www.zhangyiqun.net";
        var wumiiEnableCustomPos = false;
        var wumiiParams = "&#038;num=4&#038;mode=3&#038;displayInFeed=1&#038;version=1.0.5.5&#038;pf=WordPress3.2.1";
    //--></script><script type="text/javascript" src="http://widget.wumii.com/ext/relatedItemsWidget.htm"></script><a href="http://www.wumii.com/widget/relatedItems.htm" style="border:0;"><img src="http://static.wumii.com/images/pixel.png" alt="无觅相关文章插件，快速提升流量" style="border:0;padding:0;margin:0;" /></a></p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">您可能也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F23.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">玩转apache之调优</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F101.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">对玩转apache之调优的补充之一（系统篇）</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F583.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Linux网络性能调优</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fwww.zhangyiqun.net%2F408.html&from=http%3A%2F%2Fwww.zhangyiqun.net%2F113.html">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">mysql默认不支持远程连接</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://www.zhangyiqun.net/113.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced

Served from: www.zhangyiqun.net @ 2012-02-09 12:05:07 -->
