<?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>Nutty Coder &#187; db2</title>
	<atom:link href="http://blog.nuttycoder.com/tag/db2/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.nuttycoder.com</link>
	<description>tech articles</description>
	<lastBuildDate>Wed, 08 Dec 2010 13:26:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Linux下DB2的问题总结</title>
		<link>http://blog.nuttycoder.com/2010/05/03/linux-db2-faqs/</link>
		<comments>http://blog.nuttycoder.com/2010/05/03/linux-db2-faqs/#comments</comments>
		<pubDate>Mon, 03 May 2010 10:39:43 +0000</pubDate>
		<dc:creator>Benny Chen</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[db2]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.nuttycoder.com/?p=134</guid>
		<description><![CDATA[使用db2cc命令启动db2 control center时出现 &#8211; Error: Can&#8217;t connect to X11 window server using &#8217;0.0&#8242; as the value of the DISPLAY 解决方法: 12- su root - xhost + 关于xhost: http://linux.about.com/library/cmd/blcmdl_xhost.htm 使用control center操控数据库时抛出SQL4414N错误 解决方法: 12- su dasusr1 - db2admin start 在用db2move导出数据库时出现如下的错误 Application code page not determined, using ANSI codepage 1208 Error opening list file. Terminating &#8230; **Error occured [...]]]></description>
			<content:encoded><![CDATA[<ol>
<h3>
<li>使用db2cc命令启动db2 control center时出现 &#8211; Error: Can&#8217;t connect to X11 window server using &#8217;0.0&#8242; as the value of the DISPLAY</li>
</h3>
<p>
解决方法:</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">- su root<br />
- xhost +</div></td></tr></tbody></table></div>
<p>关于xhost: <a href="http://linux.about.com/library/cmd/blcmdl_xhost.htm">http://linux.about.com/library/cmd/blcmdl_xhost.htm</a>
</p>
<h3>
<li>使用control center操控数据库时抛出SQL4414N错误</li>
</h3>
<p>
解决方法:</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">- su dasusr1<br />
- db2admin start</div></td></tr></tbody></table></div>
</p>
<h3>
<li>在用db2move导出数据库时出现如下的错误<br />
Application code page not determined, using ANSI codepage 1208<br />
Error opening list file.  Terminating &#8230;<br />
**Error occured while opening a file.</li>
</h3>
<p>
解决方法：<br />
db2的用户对于当前文件夹没有写权限，使用chown改变owner或者chmod改变权限。</p>
<div class="codecolorer-container text mac-classic" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">chown db2inst1:db2iadm1 $directory_name -R</div></td></tr></tbody></table></div>
</p>
<h3>
<li>如何卸载db2</li>
</h3>
<ol>
<li>删除所有关联的instance</li>
<p>$DB2DIR/instance/db2idrop InstName</p>
<li>删除db2</li>
<p>$DB2DIR/install/db2_deinstall -a
</ol>
</p>
<h3>
<li>$DB2DIR的include目录下为何只有一个asn.h</li>
</h3>
<p>
原因是在安装db2的时候，可能选用了typical模式，则不会安装这些头文件。使用custom 模式，并在select features to install中选中SDK
</p>
<h3>
<li>如何查看db2的版本</li>
</h3>
<p>
db2level</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.nuttycoder.com/2010/05/03/linux-db2-faqs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

