<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[实践Ok]有关CentOS6.3的man报错]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Wed, 31 Oct 2012 09:52:12 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	^Croot@192.168.98.128:/# rpm -qa&#124;grep man<br/>man-1.6f-30.el6.i686<br/>libsemanage-2.0.43-4.1.el6.i686<br/><br/>1）对于找不到的命令，man会报错：<br/>[jing@CentOS locale]$ man abc<br/>Cannot open the message catalog &quot;man&quot; for locale &quot;zh_CN.UTF-8&quot;<br/>(NLSPATH=&quot;/usr/share/locale/%l/LC_MESSAGES/%N&quot;)<br/>No manual entry for abc<br/>[jing@CentOS locale]$<br/>2）用strace看了一下，发现在最后：<br/>...<br/>open(&quot;/usr/share/locale/zh/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh_CN.UTF-8/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh_CN.UTF-8/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh_CN.UTF-8/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh_CN.UTF-8/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh/LC_MESSAGES/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>open(&quot;/usr/share/locale/zh_CN.UTF-8/man&quot;, O_RDONLY) = -1 ENOENT (No such file or directory)<br/>write(2, &quot;Cannot open the message catalog &quot;..., 112Cannot open the message catalog &quot;man&quot; for locale<br/>&quot;zh_CN.UTF-8&quot;<br/>(NLSPATH=&quot;/usr/share/locale/%l/LC_MESSAGES/%N&quot;)<br/>) = 112<br/>write(2, &quot;No manual entry for abc&#92;n&quot;, 24No manual entry for abc<br/>) = 24<br/>exit_group(1)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = ?<br/>3）将en下的man复制过来，先凑合用用：<br/>cp /usr/share/locale/en/LC_MESSAGES/man /usr/share/locale/zh/LC_MESSAGES/<br/>4）不报错了：<br/>[jing@CentOS locale]$ man abc<br/>No manual entry for abc<br/>[jing@CentOS locale]$<br/>摘自 一刀流的专栏
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [实践Ok]有关CentOS6.3的man报错]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>