<?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>Chmouel&#039;s Blog &#187; Oracle</title>
	<atom:link href="http://blog.chmouel.com/category/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chmouel.com</link>
	<description>Random and probably boring stuff.</description>
	<lastBuildDate>Wed, 01 Feb 2012 10:28:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>When Oracle dbstart/dbshut does not do anything</title>
		<link>http://blog.chmouel.com/2010/04/23/when-oracle-dbstartdbshut-does-not-do-anything/</link>
		<comments>http://blog.chmouel.com/2010/04/23/when-oracle-dbstartdbshut-does-not-do-anything/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 10:06:24 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://blog.chmouel.com/?p=288</guid>
		<description><![CDATA[If like me you are surprised by the fact that dbstart or dbshut does not do anything when launching it, just make sure to edit the /etc/oratab and have the last char as Y and not N. Like if it &#8230; <a href="http://blog.chmouel.com/2010/04/23/when-oracle-dbstartdbshut-does-not-do-anything/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If like me you are surprised by the fact that dbstart or dbshut does not do anything when launching it, just make sure to edit the /etc/oratab and have the last char as Y and not N. Like if it is like this :</p>
<p style="padding-left: 30px;">orcl:/u01/app/oracle/product/11.2.0/dbhome_1:N</p>
<p>change it to this :</p>
<div id="_mcePaste" style="padding-left: 30px;">orcl:/u01/app/oracle/product/11.2.0/dbhome_1:Y</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2010/04/23/when-oracle-dbstartdbshut-does-not-do-anything/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Import Export to different tablespace names with Oracle 9i</title>
		<link>http://blog.chmouel.com/2007/02/07/import-export-to-different-tablespace-names-with-oracle-9i/</link>
		<comments>http://blog.chmouel.com/2007/02/07/import-export-to-different-tablespace-names-with-oracle-9i/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 09:32:40 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/02/07/import-export-to-different-tablespace-names-with-oracle-9i/</guid>
		<description><![CDATA[Renaming Oracle Database is a pain, coming from OpenSource DB like MySQL or PostGres where we do that all the time i did not think that Oracle have to be such a pain. My only way i can find. - &#8230; <a href="http://blog.chmouel.com/2007/02/07/import-export-to-different-tablespace-names-with-oracle-9i/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Renaming Oracle Database is a pain, coming from OpenSource DB like<br />
MySQL or PostGres where we do that all the time i did not think that<br />
Oracle have to be such a pain.</p>
<p>My only way i can find. </p>
<p>- If i have the tablespace named <b>tablesp1</b> and owned by the<br />
  user <b>user1</b>, and i want to import it to another tablespace<br />
  called <b>tablesp2</b> in an another Oracle 9i tablespace with the user<br />
  name <b>user2</b>.</p>
<ul>
<li>I import the tablesp1 in an Oracle 10  (if you are lucky to have<br />
  one).
</li>
<li>
  Make sure i create the user2 in the Oracle10 DB.
</li>
<li>
  I connect as DBA access and i rename the tablespace with :<br />
  [code lang="sql"]<br />
ALTER TABLESPACE tablesp1 RENAME TO tablesp2<br />
ALTER TABLESPACE tablesp2 OWNER TO user2<br />
  [/code]</p>
</li>
<li>
  Export the Oracle10 tablespace with Oracle 9 exp.<br />
  Sometime sometime you may encounter that famous error </p>
<pre>
<i>"EXP-00003 : no storage definition found for segment ....."</i>.
</pre>
<p> So you have have to<br />
  do <a href="http://www.anysql.net/en/oracle/oracle_bug_exp00003.html">this</a> as well.
</li>
<li>
  That&#8217;s it.  The dump should be under tablespace name tablesp2 with<br />
  owner user2.
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/02/07/import-export-to-different-tablespace-names-with-oracle-9i/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compile tora with oracle</title>
		<link>http://blog.chmouel.com/2007/01/04/compile-tora-with-oracle/</link>
		<comments>http://blog.chmouel.com/2007/01/04/compile-tora-with-oracle/#comments</comments>
		<pubDate>Thu, 04 Jan 2007 22:19:28 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/01/04/compile-tora-with-oracle/</guid>
		<description><![CDATA[After installing Oracle instant client, if you have them in /usr/local/lib/instantclient_10_2, this is the command line i use : ./configure &#8211;with-instant-client=/usr/local/lib/instantclient_10_2 &#8211;with-oracle-includes=/usr/local/lib/instantclient_10_2/sdk/include &#8211;with-oracle-libraries=/usr/local/lib/instantclient_10_2 &#8211;with-oci-version=10G Let me know ny email if you want the deb for ubuntu linux.]]></description>
			<content:encoded><![CDATA[<p>After installing Oracle instant client, if you have them in /usr/local/lib/instantclient_10_2, this is the command line i use :</p>
<p>
./configure &#8211;with-instant-client=/usr/local/lib/instantclient_10_2 &#8211;with-oracle-includes=/usr/local/lib/instantclient_10_2/sdk/include &#8211;with-oracle-libraries=/usr/local/lib/instantclient_10_2 &#8211;with-oci-version=10G</p>
<p>
Let me know ny email if you want the deb for ubuntu linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/01/04/compile-tora-with-oracle/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>sqlplus timeout when connnecting</title>
		<link>http://blog.chmouel.com/2007/01/02/sqlplus-timeout-when-connnecting/</link>
		<comments>http://blog.chmouel.com/2007/01/02/sqlplus-timeout-when-connnecting/#comments</comments>
		<pubDate>Wed, 03 Jan 2007 02:24:26 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2007/01/02/sqlplus-timeout-when-connnecting/</guid>
		<description><![CDATA[If you are using a pam_ldap or pam_nis environement and it happend that sqlplus does not want to connect as user but it does as root, waiting for : socket(PF_FILE, SOCK_STREAM, 0) = 3 connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) = -1 &#8230; <a href="http://blog.chmouel.com/2007/01/02/sqlplus-timeout-when-connnecting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you are using a pam_ldap or pam_nis environement and it happend that sqlplus does not want to connect as user but it does as root, waiting for :</p>
<pre>socket(PF_FILE, SOCK_STREAM, 0)         = 3
connect(3, {sa_family=AF_FILE, path="/var/run/.nscd_socket"}, 110) =
-1 ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=286, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE
|MAP_ANONYMOUS, -1, 0) = 0x45b78000
read(3, "127.0.0.1tlocalhost.localdomaint"..., 4096) = 286
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x45b78000, 4096)                = 0
getpid()                                = 26002
getuid32()                              = 1121
futex(0x41239198, FUTEX_WAIT, 2, NULL <unfinished>
</unfinished></pre>
<p>You just to have make sure to have nscd up and running. dunno what sqlplus does <img src='http://blog.chmouel.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2007/01/02/sqlplus-timeout-when-connnecting/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Error loading native library: libnjni9.so</title>
		<link>http://blog.chmouel.com/2006/12/21/error-loading-native-library-libnjni9so/</link>
		<comments>http://blog.chmouel.com/2006/12/21/error-loading-native-library-libnjni9so/#comments</comments>
		<pubDate>Fri, 22 Dec 2006 00:29:57 +0000</pubDate>
		<dc:creator>chmouel</dc:creator>
				<category><![CDATA[Oracle]]></category>

		<guid isPermaLink="false">http://www.chmouel.com/blog/2006/12/21/error-loading-native-library-libnjni9so/</guid>
		<description><![CDATA[If you like me when running oracle on x86_64 get that damn : Error loading native library: libnjni9.so when launching dbca and you have googled the thousands five hundred useless answer. Just add the path of the libs $ORACLE_HOME/lib and &#8230; <a href="http://blog.chmouel.com/2006/12/21/error-loading-native-library-libnjni9so/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>If you like me when running oracle on x86_64 get that damn :</p>
<p>Error loading native library: libnjni9.so</p>
<p>when launching dbca and you have googled the thousands five hundred useless answer. Just add the path of the libs $ORACLE_HOME/lib and $ORACLE_HOME/lib32 to your /etc/ld.so.conf (or /etc/ld.so.conf.d/oracle.conf on RH derivative) and rerun ldconfig.</p>
<p>If this is during install just jump to a console after you add this line before it launching dbca and run a ldconfig -v as root.</p>
<p>Damn oracle&#8230;.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.chmouel.com/2006/12/21/error-loading-native-library-libnjni9so/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

