<?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>Brucalipto.org &#187; Solaris</title>
	<atom:link href="http://www.brucalipto.org/category/solaris/feed" rel="self" type="application/rss+xml" />
	<link>http://www.brucalipto.org</link>
	<description>Tenete la porta aperta...</description>
	<lastBuildDate>Thu, 18 Feb 2010 11:41:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Zabbix agents for Solaris 10</title>
		<link>http://www.brucalipto.org/solaris/zabbix-agents-for-solaris-10</link>
		<comments>http://www.brucalipto.org/solaris/zabbix-agents-for-solaris-10#comments</comments>
		<pubDate>Thu, 07 May 2009 10:38:46 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=181</guid>
		<description><![CDATA[ZABBIX is an enterprise-class open source distributed monitoring solution. I use it at work and I like it very much. Today I needed the Zabbix Agent for Solaris10 for Intel and, as I still use version 1.4, I downloaded the precompiled agents binaries from Zabbix site. I&#8217;m writing this post because I found a problem! [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brucalipto.org/wp-content/uploads/2009/05/zabbix.png"><img class="alignleft size-full wp-image-184" style="border: 0pt none;" title="zabbix" src="http://www.brucalipto.org/wp-content/uploads/2009/05/zabbix.png" alt="zabbix Zabbix agents for Solaris 10" width="118" height="31" /></a>ZABBIX is an enterprise-class open source distributed monitoring solution. I use it at work and I like it very much. Today I needed the Zabbix Agent for Solaris10 for Intel and, as I still use version 1.4, I downloaded the precompiled agents binaries from <a href="http://www.zabbix.com/download.php" target="_blank">Zabbix site</a>. I&#8217;m writing this post because I found a problem!</p>
<p><span id="more-181"></span></p>
<p>The precompiled binaries fails to run with the following message:</p>
<p class="quoteCode">ld.so.1: zabbix_agentd: fatal: libresolv.so.2: version `SUNW_2.3&#8242; not found (required by file zabbix_agentd)<br />
ld.so.1: zabbix_agentd: fatal: libresolv.so.2: open failed: No such file or directory<br />
Killed</p>
<p>Running the ldd on the zabbix_agentd will reveal the problem:</p>
<p class="quoteCode">ldd /export/home/zabbix/bin/zabbix_agentd<br />
libkvm.so.1 =&gt;   /usr/lib/libkvm.so.1<br />
libm.so.2 =&gt;     /lib/libm.so.2<br />
libresolv.so.2 =&gt;        /lib/libresolv.so.2<br />
<strong>libresolv.so.2 (SUNW_2.3) =&gt;     (version not found)</strong><br />
libnsl.so.1 =&gt;   /lib/libnsl.so.1<br />
libkstat.so.1 =&gt;         /lib/libkstat.so.1<br />
libsocket.so.1 =&gt;        /lib/libsocket.so.1<br />
libc.so.1 =&gt;     /lib/libc.so.1<br />
libelf.so.1 =&gt;   /lib/libelf.so.1<br />
libmp.so.2 =&gt;    /lib/libmp.so.2<br />
libmd.so.1 =&gt;    /lib/libmd.so.1<br />
libscf.so.1 =&gt;   /lib/libscf.so.1<br />
libdoor.so.1 =&gt;  /lib/libdoor.so.1<br />
libuutil.so.1 =&gt;         /lib/libuutil.so.1<br />
libgen.so.1 =&gt;   /lib/libgen.so.1</p>
<p>libresolv.so.2 (SUNW_2.3) is not bundled in Solaris10 but in Nevada (aka Solaris11): so the precompiled binaries were not built on Solaris10 but on Opensolaris. To overcome this problem I downloaded the Zabbix 1.4.6 sources and I compiled the agents with Sun Studio 12.</p>
<p>Here are my own binaries:</p>
<ul>
<li><a href="http://www.brucalipto.org/wp-content/uploads/2009/05/zabbix_agents_146solaris10i386tar.bz2">Zabbix 1.4.6 Agents for Solaris 10 i386 (32bit version)<br />
</a></li>
<li><a href="http://www.brucalipto.org/wp-content/uploads/2009/05/zabbix_agents_146solaris10x64tar.bz2">Zabbix 1.4.6 Agents for Solaris 10 x64 (64bit version)<br />
</a></li>
</ul>
<p>Use at your own risk and&#8230; enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/solaris/zabbix-agents-for-solaris-10/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to install Oracle Client 10g on Solaris10</title>
		<link>http://www.brucalipto.org/solaris/how-to-install-oracle-client-10g-on-solaris10</link>
		<comments>http://www.brucalipto.org/solaris/how-to-install-oracle-client-10g-on-solaris10#comments</comments>
		<pubDate>Mon, 26 Jan 2009 16:03:07 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=164</guid>
		<description><![CDATA[Today I needed to install an Oracle Client on a new Solaris10 (x86 64bit) installation: I found a useful tutorial here but it helps you to install the whole database and not only the client. As you may guess the client installation is easier than the Oracle DB Server one. The first thing to do [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brucalipto.org/wp-content/uploads/2009/01/solaris.gif"><img class="alignleft size-full wp-image-165" style="border: 0pt none;" title="solaris" src="http://www.brucalipto.org/wp-content/uploads/2009/01/solaris.gif" alt="solaris How to install Oracle Client 10g on Solaris10" width="185" height="105" /></a>Today I needed to install an Oracle Client on a new Solaris10 (x86 64bit) installation: I found a useful tutorial <a href="http://ivan.kartik.sk/oracle/install_ora10gR2_solaris.html" target="_blank">here</a> but it helps you to install the whole database and not only the client. As you may guess the client installation is easier than the Oracle DB Server one.</p>
<p><span id="more-164"></span></p>
<p>The first thing to do is to check if you have installed the prerequisites packages:</p>
<p class="quoteCode"><strong># pkginfo -i SUNWbtool SUNWarc SUNWhea SUNWlibmr \<br />
SUNWlibm SUNWlibms SUNWsprot SUNWtoo SUNWi1of \<br />
SUNWi1cs SUNWi15cs SUNWxwfnt SUNWpoolr SUNWpool \<br />
SUNWuiu8</strong></p>
<p>If you see any error here you must install the missing packages: if you did the &#8220;full installation&#8221; you should have all packages already installed.</p>
<p>Now its time to create user, groups, directories and project: as root type</p>
<p class="quoteCode"><strong>//create user and groups<br />
# groupadd oinstall<br />
# groupadd dba<br />
# useradd -g oinstall -G dba -m -d /export/home/oracle -s /usr/bin/bash oracle<br />
//create the project (this is optional)<br />
# projadd -U oracle oracle<br />
//create the installation dir and give the right permissions<br />
# mkdir /opt/oracle<br />
# chown -R oracle:oinstall /opt/oracle</strong></p>
<p>OK&#8230; as root we have temporarily finished!</p>
<p>Now log in with the oracle user and <a href="http://www.oracle.com/technology/software/products/database/index.html" target="_blank">download the Oracle Client 10g for Solaris10 from Oracle website</a>: once there you need to select the right architecture (Solaris exists for SPARC and x86 both 32 and 64 bit) and get the right archive for the Oracle client installation. In my own situation (Solaris10 on a x86 64bit) I downloaded the file called <a href="http://download.oracle.com/otn/solaris/oracle10g/10201/x8664/10201_client_solx86_64.zip" target="_blank">10201_client_solx86_64.zip</a> and I typed:</p>
<p class="quoteCode"><strong># unzip 10201_client_solx86_64.zip<br />
# cd client/<br />
# ./runInstaller</strong></p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2009/01/01.png"><img class="size-thumbnail wp-image-166 alignnone" title="01" src="http://www.brucalipto.org/wp-content/uploads/2009/01/01-150x150.png" alt="01 150x150 How to install Oracle Client 10g on Solaris10" width="150" height="150" /></a> As you can see (click on the image to see a bigger picture) I used /opt/oracle/oraInventory and I leaved the group oinstall as the default group.</p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2009/01/03.png"><img class="size-thumbnail wp-image-167 alignnone" title="03" src="http://www.brucalipto.org/wp-content/uploads/2009/01/03-150x150.png" alt="03 150x150 How to install Oracle Client 10g on Solaris10" width="150" height="150" /></a> As ORACLE_HOME I used /opt/oracle/product/10.2.0/client_1.</p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2009/01/04.png"><img class="size-thumbnail wp-image-168 alignnone" title="04" src="http://www.brucalipto.org/wp-content/uploads/2009/01/04-150x150.png" alt="04 150x150 How to install Oracle Client 10g on Solaris10" width="150" height="150" /></a>Just before the installation finishes it prompts to you to execute two more commands as root: in my own installation I run</p>
<p class="quoteCode"><strong>//execute the following commands as root<br />
# /opt/oracle/oraInventory/orainstRoot.sh<br />
# /opt/oracle/product/10.2.0/client_1/root.sh</strong></p>
<p>but, as you may guess, your path may be different from mine.</p>
<p>Now, if you want to use the just installed oracle binaries, you need to change the .profile of the user adding at the end:</p>
<p class="quoteCode"><strong>ORACLE_BASE=/opt/oracle<br />
ORACLE_HOME=/opt/oracle/product/10.2.0/client_1<br />
PATH=$PATH:/opt/oracle/product/10.2.0/client_1/bin/<br />
export ORACLE_BASE<br />
export ORACLE_HOME<br />
export PATH<br />
</strong></p>
<p>I hope this tutorial can help you&#8230; if you find errors please report them to me and I will correct as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/solaris/how-to-install-oracle-client-10g-on-solaris10/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
