<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Oracle DBA from Beginning &#187; Linux</title>
	<atom:link href="http://dbaanswers.wordpress.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://dbaanswers.wordpress.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Jun 2008 20:49:04 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dbaanswers.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/a6c492f6452c79ab59f696e0d8c17813?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Oracle DBA from Beginning &#187; Linux</title>
		<link>http://dbaanswers.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dbaanswers.wordpress.com/osd.xml" title="Oracle DBA from Beginning" />
		<item>
		<title>Hostname Change</title>
		<link>http://dbaanswers.wordpress.com/2008/06/29/hostname-change/</link>
		<comments>http://dbaanswers.wordpress.com/2008/06/29/hostname-change/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 20:27:00 +0000</pubDate>
		<dc:creator>June Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Hostname]]></category>

		<guid isPermaLink="false">http://dbaanswers.wordpress.com/?p=25</guid>
		<description><![CDATA[In doing RAC Workshop, we use VMware to create a server named &#8220;rac1&#8243; and then copy all the files as to another server &#8220;rac2&#8243;. The two servers are the same just after the copy process, including all the IP setting and hostname. We need to change the 2nd server with different hostname.
Change the hostname on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=25&subd=dbaanswers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>In doing RAC Workshop, we use VMware to create a server named &#8220;rac1&#8243; and then copy all the files as to another server &#8220;rac2&#8243;. The two servers are the same just after the copy process, including all the IP setting and hostname. We need to change the 2nd server with different hostname.</p>
<p>Change the hostname on a running machine:</p>
<blockquote><p>$hostname NEW_NAME</p></blockquote>
<p>This is active right away and will remain like that until the system will be rebooted. You will most probably need to exit the current shell in order to see the change in your shell prompt.</p>
<p>Change the hostname permanently on Redhat based systems:</p>
<blockquote><p>$vi /etc/sysconfig/network</p>
<p>edit the new Hostname in this file</p></blockquote>
<p>Reference:</p>
<p>1. <a href="http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/">http://www.ducea.com/2006/08/07/how-to-change-the-hostname-of-a-linux-system/</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dbaanswers.wordpress.com/25/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dbaanswers.wordpress.com/25/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaanswers.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaanswers.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaanswers.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaanswers.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaanswers.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaanswers.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaanswers.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaanswers.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaanswers.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaanswers.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=25&subd=dbaanswers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dbaanswers.wordpress.com/2008/06/29/hostname-change/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cca564445149cfcee064c1729082330d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dbaliving</media:title>
		</media:content>
	</item>
		<item>
		<title>xhost setting problem for local users</title>
		<link>http://dbaanswers.wordpress.com/2008/06/23/xhost-problem-for-local-users/</link>
		<comments>http://dbaanswers.wordpress.com/2008/06/23/xhost-problem-for-local-users/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 21:39:09 +0000</pubDate>
		<dc:creator>June Lee</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Local]]></category>
		<category><![CDATA[xhost]]></category>

		<guid isPermaLink="false">http://dbaanswers.wordpress.com/?p=19</guid>
		<description><![CDATA[$su &#8211; oracle
$env &#124; grep DISPLAY
DISPLAY=:0.0
$xclock
Xlib: connection to &#8220;:0.0&#8243; refused by server
Xlib: No protocol specified
Error: Can&#8217;t open display: :0.0
The problem is that the local users were not authorized to access control on xhost. To solve this problem, you need to make the authorization using &#8220;root&#8221;.
[root@localhost]# xhost
access control enabled, only authorized clients can connect
[root@localhost]# xhost +oracle
xhost:   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=19&subd=dbaanswers&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><blockquote><p>$su &#8211; oracle<br />
$env | grep DISPLAY<br />
DISPLAY=:0.0<br />
$xclock<br />
Xlib: connection to &#8220;:0.0&#8243; refused by server<br />
Xlib: No protocol specified</p>
<p>Error: Can&#8217;t open display: :0.0</p></blockquote>
<p>The problem is that the local users were not authorized to access control on xhost. To solve this problem, you need to make the authorization using &#8220;root&#8221;.</p>
<blockquote><p>[root@localhost]# xhost<br />
access control enabled, only authorized clients can connect<br />
[root@localhost]# xhost +oracle<br />
xhost:   bad hostname &#8220;oracle&#8221;<br />
[root@localhost]# xhost +local:oracle<br />
non-network local connections being added to access control list<br />
[root@localhost]# su &#8211; oracle<br />
[oracle@localhost] $ xclock</p>
<p>xclock successfully started.</p></blockquote>
<p>Sometimes, there is communication problem between guest Linux server and Windows XP host server. Applications or tools like OEM or DBCA might have problems or appear freezed. Using xhost to show the GUI on Linux server would be much more stable.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dbaanswers.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dbaanswers.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dbaanswers.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dbaanswers.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dbaanswers.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dbaanswers.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dbaanswers.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dbaanswers.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dbaanswers.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dbaanswers.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dbaanswers.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dbaanswers.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dbaanswers.wordpress.com&blog=3922838&post=19&subd=dbaanswers&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dbaanswers.wordpress.com/2008/06/23/xhost-problem-for-local-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cca564445149cfcee064c1729082330d?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dbaliving</media:title>
		</media:content>
	</item>
	</channel>
</rss>