<?xml version="1.0" encoding="iso-8859-1"?><!-- generator="b2evolution/3.3.1" -->
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Nik Maslov`s Blog</title>
		<link>http://nikmaslov.com/blog/blog1.php</link>
		<atom:link rel="self" type="application/rss+xml" href="http://nikmaslov.com/blog/blog1.php?tempskin=_rss2" />
		<description></description>
		<language>en-US</language>
		<docs>http://blogs.law.harvard.edu/tech/rss</docs>
		<admin:generatorAgent rdf:resource="http://b2evolution.net/?v=3.3.1"/>
		<ttl>60</ttl>
				<item>
			<title>N900 andriod port - GSM calls available!</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/08/27/n900-andriod-port-gsm-calls-available</link>
			<pubDate>Fri, 27 Aug 2010 06:08:52 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">105@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;Hi, morning started with a good news! N900 Android port, aka Nitdroid, is now able to make GSM calls! See this russian dude &lt;/p&gt;&lt;div class=&quot;videoblock&quot;&gt;&lt;object data=&quot;http://www.youtube.com/v/jVpgqTF89zU&quot; type=&quot;application/x-shockwave-flash&quot; wmode=&quot;transparent&quot; width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/jVpgqTF89zU&quot;&gt;&lt;/param&gt;&lt;param name=&quot;wmode&quot; value=&quot;transparent&quot;&gt;&lt;/param&gt;&lt;/object&gt;&lt;/div&gt;&lt;p&gt; making/receiving calls with his N900/Android &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt; That`s a very good news, we`ll take best from the both worlds!&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/08/27/n900-andriod-port-gsm-calls-available&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Hi, morning started with a good news! N900 Android port, aka Nitdroid, is now able to make GSM calls! See this russian dude </p><div class="videoblock"><object data="http://www.youtube.com/v/jVpgqTF89zU" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"><param name="movie" value="http://www.youtube.com/v/jVpgqTF89zU"></param><param name="wmode" value="transparent"></param></object></div><p> making/receiving calls with his N900/Android <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /> That`s a very good news, we`ll take best from the both worlds!</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/08/27/n900-andriod-port-gsm-calls-available">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/08/27/n900-andriod-port-gsm-calls-available#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=105</wfw:commentRss>
		</item>
				<item>
			<title>Cannot start VMware server 2</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/08/20/starting-of-the-vmware-server-2</link>
			<pubDate>Fri, 20 Aug 2010 16:26:24 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">104@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;Recently I rebooted the server were we had VMware Server 2 instance - and afterwards VMware refused to start:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
deb:~# /etc/init.d/vmware start&lt;br /&gt;
VMware Server is installed, but it has not been (correctly) configured&lt;br /&gt;
for the running kernel. To (re-)configure it, invoke the&lt;br /&gt;
following command: /srv/vmware/bin/vmware-config.pl.&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;But it was working and configured! Digged a little deeper, and I realised that this filthy software has put some token file, stating that it is non-configured for a variety of reasons:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
deb:~# cd /etc/vmware&lt;br /&gt;
deb:/etc/vmware# ls -las&lt;br /&gt;
...&lt;br /&gt;
  0 -rw-r--r--   1 root root      0 2010-08-20 17:09 not_configured&lt;br /&gt;
...&lt;br /&gt;
deb:/etc/vmware# rm not_configured&lt;br /&gt;
rm: remove regular empty file `not_configured'? y&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;After that, all started to work!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
deb:/etc/vmware# /etc/init.d/vmware start&lt;br /&gt;
Starting VMware services:&lt;br /&gt;
   Virtual machine monitor                                             done&lt;br /&gt;
   Virtual machine communication interface                             done&lt;br /&gt;
   Virtual ethernet                                                    done&lt;br /&gt;
   Bridged networking on /dev/vmnet0                                   done&lt;br /&gt;
   VMware Server Authentication Daemon (background)                    done&lt;br /&gt;
   Shared Memory Available                                             done&lt;br /&gt;
Starting VMware management services:&lt;br /&gt;
   VMware Server Host Agent (background)                               done&lt;br /&gt;
   VMware Virtual Infrastructure Web Access&lt;br /&gt;
Starting VMware autostart virtual machines:&lt;br /&gt;
   Virtual machines                                                    done&lt;br /&gt;
deb:/etc/vmware# /etc/init.d/vmware status&lt;br /&gt;
Bridged networking on /dev/vmnet0 is running&lt;br /&gt;
Host network detection is not running&lt;br /&gt;
Module vmmon loaded&lt;br /&gt;
Module vmnet loaded&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Weee! Hope that might help you as well sometime &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/08/20/starting-of-the-vmware-server-2&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Recently I rebooted the server were we had VMware Server 2 instance - and afterwards VMware refused to start:</p>

<p><code><br />
deb:~# /etc/init.d/vmware start<br />
VMware Server is installed, but it has not been (correctly) configured<br />
for the running kernel. To (re-)configure it, invoke the<br />
following command: /srv/vmware/bin/vmware-config.pl.<br />
</code></p>

<p>But it was working and configured! Digged a little deeper, and I realised that this filthy software has put some token file, stating that it is non-configured for a variety of reasons:</p>

<p><code><br />
deb:~# cd /etc/vmware<br />
deb:/etc/vmware# ls -las<br />
...<br />
  0 -rw-r--r--   1 root root      0 2010-08-20 17:09 not_configured<br />
...<br />
deb:/etc/vmware# rm not_configured<br />
rm: remove regular empty file `not_configured'? y<br />
</code></p>

<p>After that, all started to work!</p>

<p><code><br />
deb:/etc/vmware# /etc/init.d/vmware start<br />
Starting VMware services:<br />
   Virtual machine monitor                                             done<br />
   Virtual machine communication interface                             done<br />
   Virtual ethernet                                                    done<br />
   Bridged networking on /dev/vmnet0                                   done<br />
   VMware Server Authentication Daemon (background)                    done<br />
   Shared Memory Available                                             done<br />
Starting VMware management services:<br />
   VMware Server Host Agent (background)                               done<br />
   VMware Virtual Infrastructure Web Access<br />
Starting VMware autostart virtual machines:<br />
   Virtual machines                                                    done<br />
deb:/etc/vmware# /etc/init.d/vmware status<br />
Bridged networking on /dev/vmnet0 is running<br />
Host network detection is not running<br />
Module vmmon loaded<br />
Module vmnet loaded<br />
</code></p>

<p>Weee! Hope that might help you as well sometime <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /></p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/08/20/starting-of-the-vmware-server-2">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/08/20/starting-of-the-vmware-server-2#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=104</wfw:commentRss>
		</item>
				<item>
			<title>Nokia N900 has arrived</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/08/09/nokia-n900</link>
			<pubDate>Mon, 09 Aug 2010 11:11:14 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">103@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;Yes! After months of waiting, this uberwaffle-killer-beast red-eye unix geekish device is mine at last &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;&lt;/p&gt;


&lt;p&gt;&lt;img src=&quot;http://smartburg.ru/uploads/posts/2010-01/thumbs/1263115750_nokia_n900_08.jpg&quot; alt=&quot;&quot; title=&quot;&quot; /&gt;&lt;/p&gt;


&lt;p&gt;Just started playing with it, although this tiny beast is capable of playing flac and a bunch of videoformats, I also decided to get 16Gb card and a decent AKG headphones.&lt;/p&gt;

&lt;p&gt;This device rocks! It`s definately not for an blondie user, that got used to iPhone`ish apps and overall Apple ideology (which I can describe as an ugliest ever); it`s not for users that enjoying their all-and-everywhere Google services on their Android devices (such approach I found as &quot;BigBrother is watching you&quot; facist regime, but that`s mine paranoia, perhaps &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt; ). This baby is for users, that are found of getting new info, hack their devices, and people that are ready for getting in depths with their handheld devices. You could easily use n900 as it is, without messing around console, repositaries, rootfs and other stuff - but you won`t ever taste the power in this device. Nuff said, N900 is not for everyone, nor this is iPhone killer. It`s one-man-army on it`s own.&lt;/p&gt;

&lt;p&gt;This post is not an comperhensive review of the device, it`s rather mine happy yell to the world. But I`ll outline some pros/cons I discovered so far:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Pros&lt;/strong&gt;&lt;br /&gt;
- cool hardware; ARM Cortex A600, runs and 600Mhz; easly goes overclocked to 1Ghz; absolute record for now is whooping 1.7Ghz&lt;br /&gt;
- stunning OS - linux gives you ability to use ssh, ftp, any tools you might need for your everyday as an IT guy - python, bash, gcc, all linux command line bells and whistles are usable;&lt;br /&gt;
- enough nice apps - really, I found that there is enough nice apps for me in repos; some might say that`s not as a lot of as on iStore/aMarket, but that`s enough for me. I don`t need stupido apps like one for checking latest on the Britney Spears tour somewhere between rednecks in Minessota. once again - &lt;strong&gt;there is enough apps for serious work on the go!&lt;/strong&gt; &lt;br /&gt;
- build quality; build like tank!&lt;br /&gt;
- nice display - resolution is quite good, and 4 desktops are fery nice&lt;br /&gt;
- DSP - this device plays music like an decent yet average mp3 player; this is not an superb Cowon player, but it plays more clearly (yet to bassy) than iPods, as ppl saying, and very-very good for an tablet/phone&lt;/p&gt;


&lt;p&gt;&lt;strong&gt;Cons&lt;/strong&gt;&lt;br /&gt;
- very average battery life - with some tweaks applied, like brightness to lowest and wifi turned off, using device like mp3 payer on my way to the office and as phone is giving me approx 2 days of usage; hey, Nokia, give us 2500mA battery! &lt;br /&gt;
- weak micro USB port - as officially annouced by Nokia, there are problems with micro USB port on N900, it could just fell off with the charger. It`s due to the weird and stupid decision to place USB port on the plate just with glue and some other weak stuff. There is an guaranty applied to such kind of the malfunctioning, but, hey, 600$ device should be free from such kind of mis-design. Anyway, there is some articles with the remedies to this - me, for example, had already tuned the charger by removing metal horns on the lower part, to make it more smooth and less harass the port itself - and guys on &lt;a href=&quot;http://talk.maemo.org/showthread.php?t=60014&quot;&gt;maemo.org&lt;/a&gt; already soldering their ports to be rock-solid; an hackers delight!&lt;/p&gt;

&lt;p&gt;In a cople of days I`ll post a list of software, that I installed on the N900, that are very useful for me; perhaps you`ll find smth interesting there as well!&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/08/09/nokia-n900&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Yes! After months of waiting, this uberwaffle-killer-beast red-eye unix geekish device is mine at last <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /></p>


<p><img src="http://smartburg.ru/uploads/posts/2010-01/thumbs/1263115750_nokia_n900_08.jpg" alt="" title="" /></p>


<p>Just started playing with it, although this tiny beast is capable of playing flac and a bunch of videoformats, I also decided to get 16Gb card and a decent AKG headphones.</p>

<p>This device rocks! It`s definately not for an blondie user, that got used to iPhone`ish apps and overall Apple ideology (which I can describe as an ugliest ever); it`s not for users that enjoying their all-and-everywhere Google services on their Android devices (such approach I found as "BigBrother is watching you" facist regime, but that`s mine paranoia, perhaps <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /> ). This baby is for users, that are found of getting new info, hack their devices, and people that are ready for getting in depths with their handheld devices. You could easily use n900 as it is, without messing around console, repositaries, rootfs and other stuff - but you won`t ever taste the power in this device. Nuff said, N900 is not for everyone, nor this is iPhone killer. It`s one-man-army on it`s own.</p>

<p>This post is not an comperhensive review of the device, it`s rather mine happy yell to the world. But I`ll outline some pros/cons I discovered so far:</p>

<p><strong>Pros</strong><br />
- cool hardware; ARM Cortex A600, runs and 600Mhz; easly goes overclocked to 1Ghz; absolute record for now is whooping 1.7Ghz<br />
- stunning OS - linux gives you ability to use ssh, ftp, any tools you might need for your everyday as an IT guy - python, bash, gcc, all linux command line bells and whistles are usable;<br />
- enough nice apps - really, I found that there is enough nice apps for me in repos; some might say that`s not as a lot of as on iStore/aMarket, but that`s enough for me. I don`t need stupido apps like one for checking latest on the Britney Spears tour somewhere between rednecks in Minessota. once again - <strong>there is enough apps for serious work on the go!</strong> <br />
- build quality; build like tank!<br />
- nice display - resolution is quite good, and 4 desktops are fery nice<br />
- DSP - this device plays music like an decent yet average mp3 player; this is not an superb Cowon player, but it plays more clearly (yet to bassy) than iPods, as ppl saying, and very-very good for an tablet/phone</p>


<p><strong>Cons</strong><br />
- very average battery life - with some tweaks applied, like brightness to lowest and wifi turned off, using device like mp3 payer on my way to the office and as phone is giving me approx 2 days of usage; hey, Nokia, give us 2500mA battery! <br />
- weak micro USB port - as officially annouced by Nokia, there are problems with micro USB port on N900, it could just fell off with the charger. It`s due to the weird and stupid decision to place USB port on the plate just with glue and some other weak stuff. There is an guaranty applied to such kind of the malfunctioning, but, hey, 600$ device should be free from such kind of mis-design. Anyway, there is some articles with the remedies to this - me, for example, had already tuned the charger by removing metal horns on the lower part, to make it more smooth and less harass the port itself - and guys on <a href="http://talk.maemo.org/showthread.php?t=60014">maemo.org</a> already soldering their ports to be rock-solid; an hackers delight!</p>

<p>In a cople of days I`ll post a list of software, that I installed on the N900, that are very useful for me; perhaps you`ll find smth interesting there as well!</p>

<p>Cheers!</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/08/09/nokia-n900">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/08/09/nokia-n900#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=103</wfw:commentRss>
		</item>
				<item>
			<title>SegFault due to the libs missing</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/08/03/segfault-due-to-the-libs-missing</link>
			<pubDate>Tue, 03 Aug 2010 17:58:40 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">102@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;Having patched the system with latest Sun patchcluster, I found that I cannot start any zones any more!&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&lt;br /&gt;
 # zoneadm list -cv&lt;br /&gt;
  ID NAME             STATUS     PATH                           BRAND    IP&lt;br /&gt;
   0 global           running    /                              native   shared&lt;br /&gt;
Segmentation Fault &lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Debugging the dump gave no info, but I went yet down...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&lt;br /&gt;
# ldd /usr/sbin/zoneadm&lt;br /&gt;
...&lt;br /&gt;
        libz.so.1 =&gt;     /usr/local/lib/libz.so.1&lt;br /&gt;
        libz.so.1 (SUNW_1.1) =&gt;  (version not found)&lt;br /&gt;
...&lt;br /&gt;
&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Aha! That`s the lib problem with the SUNWzlib package, that is used for the gzip. So, googling around and praising &lt;a href=&quot;http://unix.com&quot;&gt;unix.com&lt;/a&gt; forum, I was able to find another instance of the library that was expected, but somehow was mis-placed by another version:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&lt;br /&gt;
# grep libz.so.1 /var/sadm/install/contents | grep &quot; f &quot;&lt;br /&gt;
/usr/lib/libz.so.1 f none 0755 root bin 80200 28295 1170178503 SUNWzlib&lt;br /&gt;
/usr/lib/sparcv9/libz.so.1 f none 0755 root bin 98656 6323 1170178503 SUNWzlib&lt;br /&gt;
/usr/local/lib/libz.so.1.2.5 f none 0755 bin bin 87892 20672 1273268080 SMCzlib&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;Now, I`m preceding the LD_LIBRARY_PATH with the path to the first one lib:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
&lt;br /&gt;
export LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib:/usr/openwin/lib:/usr/local/lib:/usr/openwin/lib&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;


&lt;p&gt;Fingers crossed...&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
 # zoneadm list -cv&lt;br /&gt;
  ID NAME             STATUS     PATH                           BRAND    IP&lt;br /&gt;
   0 global           running    /                              native   shared&lt;br /&gt;
   - chiscsmcst01svn  installed  /export/zones/chiscsmcst01svn  native   shared&lt;br /&gt;
   - chiscsmcst01syslog installed  /export/zones/chiscsmcst01syslog native   shared&lt;br /&gt;
   - chiscsmcst01audit installed  /export/zones/chiscsmcst01audit native   shared&lt;br /&gt;
   - chiscsmcst01gc   installed  /export/zones/chiscsmcst01gc   native   shared&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Works! But I have a strange feeling, that this might be related to the patchcluster...&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/08/03/segfault-due-to-the-libs-missing&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Having patched the system with latest Sun patchcluster, I found that I cannot start any zones any more!</p>

<p><code><br />
<br />
 # zoneadm list -cv<br />
  ID NAME             STATUS     PATH                           BRAND    IP<br />
   0 global           running    /                              native   shared<br />
Segmentation Fault <br />
<br />
</code></p>

<p>Debugging the dump gave no info, but I went yet down...</p>

<p><code><br />
<br />
# ldd /usr/sbin/zoneadm<br />
...<br />
        libz.so.1 =>     /usr/local/lib/libz.so.1<br />
        libz.so.1 (SUNW_1.1) =>  (version not found)<br />
...<br />
<br />
</code></p>

<p>Aha! That`s the lib problem with the SUNWzlib package, that is used for the gzip. So, googling around and praising <a href="http://unix.com">unix.com</a> forum, I was able to find another instance of the library that was expected, but somehow was mis-placed by another version:</p>

<p><code><br />
<br />
# grep libz.so.1 /var/sadm/install/contents | grep " f "<br />
/usr/lib/libz.so.1 f none 0755 root bin 80200 28295 1170178503 SUNWzlib<br />
/usr/lib/sparcv9/libz.so.1 f none 0755 root bin 98656 6323 1170178503 SUNWzlib<br />
/usr/local/lib/libz.so.1.2.5 f none 0755 bin bin 87892 20672 1273268080 SMCzlib<br />
</code></p>


<p>Now, I`m preceding the LD_LIBRARY_PATH with the path to the first one lib:</p>

<p><code><br />
<br />
export LD_LIBRARY_PATH=/usr/lib/:/usr/local/lib:/usr/openwin/lib:/usr/local/lib:/usr/openwin/lib<br />
</code></p>


<p>Fingers crossed...</p>

<p><code><br />
 # zoneadm list -cv<br />
  ID NAME             STATUS     PATH                           BRAND    IP<br />
   0 global           running    /                              native   shared<br />
   - chiscsmcst01svn  installed  /export/zones/chiscsmcst01svn  native   shared<br />
   - chiscsmcst01syslog installed  /export/zones/chiscsmcst01syslog native   shared<br />
   - chiscsmcst01audit installed  /export/zones/chiscsmcst01audit native   shared<br />
   - chiscsmcst01gc   installed  /export/zones/chiscsmcst01gc   native   shared<br />
</code></p>

<p>Works! But I have a strange feeling, that this might be related to the patchcluster...</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/08/03/segfault-due-to-the-libs-missing">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/08/03/segfault-due-to-the-libs-missing#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=102</wfw:commentRss>
		</item>
				<item>
			<title>Jet server is not patching server with latest patchcluster?...</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/07/07/jet-server-is-not-patching-server-with-latest-patchcluster</link>
			<pubDate>Wed, 07 Jul 2010 20:32:39 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">101@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;After the install of the Jet/JumpStart server, I also tried to install latest patchcluster alongside with the other infrastructure, to be able to patch servers after they have been installed. Never worked &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt; Now I know why: some time ago Sun had changed the format in which they are providing you the patchcluster.&lt;/p&gt;

&lt;p&gt;In short, you have to do the following:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
root@server# cd 10_Recommended/patches/&lt;br /&gt;
root@server# ls&lt;br /&gt;
root@server# mv * ../&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;i.e. you have to move all patches one level up. That will do the trick &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;&lt;/p&gt;

&lt;p&gt;Cheers&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/07/07/jet-server-is-not-patching-server-with-latest-patchcluster&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>After the install of the Jet/JumpStart server, I also tried to install latest patchcluster alongside with the other infrastructure, to be able to patch servers after they have been installed. Never worked <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /> Now I know why: some time ago Sun had changed the format in which they are providing you the patchcluster.</p>

<p>In short, you have to do the following:</p>

<p><code><br />
root@server# cd 10_Recommended/patches/<br />
root@server# ls<br />
root@server# mv * ../<br />
</code></p>

<p>i.e. you have to move all patches one level up. That will do the trick <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /></p>

<p>Cheers</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/07/07/jet-server-is-not-patching-server-with-latest-patchcluster">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/07/07/jet-server-is-not-patching-server-with-latest-patchcluster#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=101</wfw:commentRss>
		</item>
				<item>
			<title>heredoc syntax and usage</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/07/07/heredoc-syntax-and-usage</link>
			<pubDate>Tue, 06 Jul 2010 21:59:30 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">100@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;I`m in unix administration for quite some time, but I wasn`t aware of that trick. In short terms - it is a special-purpose code block. This stuff uses a some form of I/O redirection to feed a command list to an interactive program or a command, such as ftp, cat, etc. A limit string delineates (frames) the command list. The special symbol &amp;lt;&amp;lt; designates the limit string. This has the effect of redirecting the output of a file into the stdin of the program or command.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
# sort &gt; file  &amp;lt;&amp;lt; EOF&lt;br /&gt;
heredoc&gt; LJHLKIH&lt;br /&gt;
heredoc&gt; aaa&lt;br /&gt;
heredoc&gt; Zasdsadf&lt;br /&gt;
heredoc&gt; zdsgfdf&lt;br /&gt;
heredoc&gt; $PATH&lt;br /&gt;
heredoc&gt; `uname -n`&lt;br /&gt;
heredoc&gt; EOF&lt;br /&gt;
# cat file&lt;br /&gt;
/usr/bin:/usr/local/bin:/opt/Adobe/Reader9/bin/:/opt/DTT/Bin/:/opt/csw/bin/:/usr/local/bin:/opt/Adobe/Reader9/bin/:/opt/DTT/Bin/:/opt/csw/bin/&lt;br /&gt;
LJHLKIH&lt;br /&gt;
Zasdsadf&lt;br /&gt;
aaa&lt;br /&gt;
sol10node01&lt;br /&gt;
zdsgfdf&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;By default bash will interpolate the content of the block like it would in a double-quoted string. If you want to avoid this (for example if your here document contains a script you want to output verbatim) you can put single quotes around your limit string. &lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
# export var=&quot;hello&quot;&lt;br /&gt;
# cat &amp;lt;&amp;lt;LimitString&lt;br /&gt;
heredoc&gt;  echo $var&lt;br /&gt;
heredoc&gt;  LimitString&lt;br /&gt;
echo hello&lt;br /&gt;
# cat &amp;lt;&amp;lt;'LimitString'&lt;br /&gt;
heredoc&gt; echo $var&lt;br /&gt;
heredoc&gt; LimitString&lt;br /&gt;
echo $var&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Sweet &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt;&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/07/07/heredoc-syntax-and-usage&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>I`m in unix administration for quite some time, but I wasn`t aware of that trick. In short terms - it is a special-purpose code block. This stuff uses a some form of I/O redirection to feed a command list to an interactive program or a command, such as ftp, cat, etc. A limit string delineates (frames) the command list. The special symbol &lt;&lt; designates the limit string. This has the effect of redirecting the output of a file into the stdin of the program or command.</p>

<p><code><br />
# sort > file  &lt;&lt; EOF<br />
heredoc> LJHLKIH<br />
heredoc> aaa<br />
heredoc> Zasdsadf<br />
heredoc> zdsgfdf<br />
heredoc> $PATH<br />
heredoc> `uname -n`<br />
heredoc> EOF<br />
# cat file<br />
/usr/bin:/usr/local/bin:/opt/Adobe/Reader9/bin/:/opt/DTT/Bin/:/opt/csw/bin/:/usr/local/bin:/opt/Adobe/Reader9/bin/:/opt/DTT/Bin/:/opt/csw/bin/<br />
LJHLKIH<br />
Zasdsadf<br />
aaa<br />
sol10node01<br />
zdsgfdf<br />
</code></p>

<p>By default bash will interpolate the content of the block like it would in a double-quoted string. If you want to avoid this (for example if your here document contains a script you want to output verbatim) you can put single quotes around your limit string. </p>

<p><code><br />
# export var="hello"<br />
# cat &lt;&lt;LimitString<br />
heredoc>  echo $var<br />
heredoc>  LimitString<br />
echo hello<br />
# cat &lt;&lt;'LimitString'<br />
heredoc> echo $var<br />
heredoc> LimitString<br />
echo $var<br />
</code></p>

<p>Sweet <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /></p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/07/07/heredoc-syntax-and-usage">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/07/07/heredoc-syntax-and-usage#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=100</wfw:commentRss>
		</item>
				<item>
			<title>Good old times of terminals</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/06/19/term-stty-solaris-terminal</link>
			<pubDate>Fri, 18 Jun 2010 22:02:05 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">99@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;Sometimes we all go back to the roots. In terms of UNIX - it means going back to the tips and tricks that was developed by guys, that did all that ls/rm/format stuff years before we ever saw UNIX/GNULinux systems...&lt;/p&gt;

&lt;p&gt;One of such is tuning your terminal, reassigning the keys for different purposes (including that sometimes annoying DELETE key behaviour). Yet I don`t want to be an replacement for man command, few useful tricks are below:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
stty {option} {default System-V keys}&lt;br /&gt;
&lt;br /&gt;
stty erase (delete previous symbol) ^\? [DELETE]&lt;br /&gt;
stty kill (delete line) ^u [CTRL-u]&lt;br /&gt;
stty werase (delete previous word) ^w [CTRL-w]&lt;br /&gt;
stty intr (kill current task) ^c [CTRL-C]&lt;br /&gt;
stty quit (kill current task, create dump file) ^\\ [CTRL-\]&lt;br /&gt;
stty susp (stop current task, afterwards you can move it to backgound with bg command) ^z [CTRL-z]&lt;br /&gt;
stty rprnt (again show current line) ^r [CTRL-r]&lt;br /&gt;
stty -a (show all current terminal settings)&lt;br /&gt;
stty columns 120 (widen your terminal; useful when you have &quot;Terminal too wide&quot; message)&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;All terminals that can be used on a current system are listed in&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
/etc/termcap&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;You can check what terminal you are running in a true old-school way:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
tput -T`echo $TERM` longname&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Re-initialising of the terminal (using current $TERM) is done by:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
tput init&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Old is gold! Stay tuned, &lt;br /&gt;
Nik&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/06/19/term-stty-solaris-terminal&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>Sometimes we all go back to the roots. In terms of UNIX - it means going back to the tips and tricks that was developed by guys, that did all that ls/rm/format stuff years before we ever saw UNIX/GNULinux systems...</p>

<p>One of such is tuning your terminal, reassigning the keys for different purposes (including that sometimes annoying DELETE key behaviour). Yet I don`t want to be an replacement for man command, few useful tricks are below:</p>

<p><code><br />
stty {option} {default System-V keys}<br />
<br />
stty erase (delete previous symbol) ^\? [DELETE]<br />
stty kill (delete line) ^u [CTRL-u]<br />
stty werase (delete previous word) ^w [CTRL-w]<br />
stty intr (kill current task) ^c [CTRL-C]<br />
stty quit (kill current task, create dump file) ^\\ [CTRL-\]<br />
stty susp (stop current task, afterwards you can move it to backgound with bg command) ^z [CTRL-z]<br />
stty rprnt (again show current line) ^r [CTRL-r]<br />
stty -a (show all current terminal settings)<br />
stty columns 120 (widen your terminal; useful when you have "Terminal too wide" message)<br />
</code></p>

<p>All terminals that can be used on a current system are listed in</p>

<p><code><br />
/etc/termcap<br />
</code></p>

<p>You can check what terminal you are running in a true old-school way:</p>

<p><code><br />
tput -T`echo $TERM` longname<br />
</code></p>

<p>Re-initialising of the terminal (using current $TERM) is done by:</p>

<p><code><br />
tput init<br />
</code></p>

<p>Old is gold! Stay tuned, <br />
Nik</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/06/19/term-stty-solaris-terminal">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/06/19/term-stty-solaris-terminal#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=99</wfw:commentRss>
		</item>
				<item>
			<title>Solaris 10 web interface</title>
			<link>http://nikmaslov.com/blog/blog1.php/2010/06/16/solaris-10-smcwebserv-web-console-zfs</link>
			<pubDate>Wed, 16 Jun 2010 20:03:06 +0000</pubDate>			<dc:creator>Nik Maslov</dc:creator>
			<category domain="main">UNIX</category>			<guid isPermaLink="false">98@http://nikmaslov.com/blog/</guid>
						<description>&lt;p&gt;As you might know, Solaris 10 comes with nice web-interface tool for ZFS administration, software management and other stuff. That`s the process, that kept me wondering of it`s origin - whenever you install Solaris 10, it appears from the beginning. Though it`s a handy tool for click`n`do style for ZFS administration, I prefer good old console. So, at the beginning, this server is listening only locally, on port 6789. To start things rolling, we need to make it listen worldwide:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
# /usr/sbin/svccfg -s svc:/system/webconsole setprop options/tcp_listen = true&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;That will make it`s SVC config to be changed; to make things applied, do the following:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
# /usr/sbin/svcadm refresh svc:/system/webconsole&lt;br /&gt;
# /usr/sbin/smcwebserver stop&lt;br /&gt;
# /usr/sbin/smcwebserver start&lt;br /&gt;
# /usr/sbin/svcadm enable svc:/system/webconsole&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Now, make sure, that it`s really listening on the port:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;br /&gt;
# netstat -an | grep 6789&lt;br /&gt;
*.6789               *.*                0      0 49152      0 LISTEN&lt;br /&gt;
&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Works! Now navigate with your login/passwd to the &lt;a href=&quot;https://`hostname`:6789&quot;&gt;https://`hostname`:6789&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;That should give you the feel of the Solaris 10 web-iface tool &lt;img src=&quot;http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif&quot; alt=&quot;&amp;#58;&amp;#41;&quot; class=&quot;middle&quot; /&gt; Enjoy!&lt;/p&gt;

&lt;p&gt;And don`t forget to read Sun/Oracle &lt;a href=&quot;http://docs.sun.com/app/docs/doc/816-5166/smcwebserver-1m?a=view&quot;&gt;documentation&lt;/a&gt; on it.&lt;/p&gt;

&lt;p&gt;Cheers!&lt;/p&gt;&lt;div class=&quot;item_footer&quot;&gt;&lt;p&gt;&lt;small&gt;&lt;a href=&quot;http://nikmaslov.com/blog/blog1.php/2010/06/16/solaris-10-smcwebserv-web-console-zfs&quot;&gt;Original post&lt;/a&gt; blogged on &lt;a href=&quot;http://b2evolution.net/&quot;&gt;b2evolution&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;&lt;/div&gt;</description>
			<content:encoded><![CDATA[<p>As you might know, Solaris 10 comes with nice web-interface tool for ZFS administration, software management and other stuff. That`s the process, that kept me wondering of it`s origin - whenever you install Solaris 10, it appears from the beginning. Though it`s a handy tool for click`n`do style for ZFS administration, I prefer good old console. So, at the beginning, this server is listening only locally, on port 6789. To start things rolling, we need to make it listen worldwide:</p>

<p><code><br />
# /usr/sbin/svccfg -s svc:/system/webconsole setprop options/tcp_listen = true<br />
</code></p>

<p>That will make it`s SVC config to be changed; to make things applied, do the following:</p>

<p><code><br />
# /usr/sbin/svcadm refresh svc:/system/webconsole<br />
# /usr/sbin/smcwebserver stop<br />
# /usr/sbin/smcwebserver start<br />
# /usr/sbin/svcadm enable svc:/system/webconsole<br />
</code></p>

<p>Now, make sure, that it`s really listening on the port:</p>

<p><code><br />
# netstat -an | grep 6789<br />
*.6789               *.*                0      0 49152      0 LISTEN<br />
</code></p>

<p>Works! Now navigate with your login/passwd to the <a href="https://`hostname`:6789">https://`hostname`:6789</a></p>

<p>That should give you the feel of the Solaris 10 web-iface tool <img src="http://nikmaslov.com/blog/rsc/smilies/icon_smile.gif" alt="&#58;&#41;" class="middle" /> Enjoy!</p>

<p>And don`t forget to read Sun/Oracle <a href="http://docs.sun.com/app/docs/doc/816-5166/smcwebserver-1m?a=view">documentation</a> on it.</p>

<p>Cheers!</p><div class="item_footer"><p><small><a href="http://nikmaslov.com/blog/blog1.php/2010/06/16/solaris-10-smcwebserv-web-console-zfs">Original post</a> blogged on <a href="http://b2evolution.net/">b2evolution</a>.</small></p></div>]]></content:encoded>
								<comments>http://nikmaslov.com/blog/blog1.php/2010/06/16/solaris-10-smcwebserv-web-console-zfs#comments</comments>
			<wfw:commentRss>http://nikmaslov.com/blog/blog1.php?tempskin=_rss2&#38;disp=comments&#38;p=98</wfw:commentRss>
		</item>
			</channel>
</rss>
