<?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>Musings of a *IX guy</title>
	<atom:link href="http://www.tuqix.org/wordpress/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.tuqix.org/wordpress</link>
	<description>All things Unixy and not Unixy</description>
	<lastBuildDate>Wed, 04 Jan 2012 13:44:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>UTF-8 AIX and the ï»¿</title>
		<link>http://www.tuqix.org/wordpress/?p=310</link>
		<comments>http://www.tuqix.org/wordpress/?p=310#comments</comments>
		<pubDate>Wed, 04 Jan 2012 13:44:50 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[AIX]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=310</guid>
		<description><![CDATA[ï»¿  at the bginning of a file , what is it ? <a href="http://www.tuqix.org/wordpress/?p=310">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I setup a GPG encryption transfer with a 3rd party to transfer XML files.</p>
<p>On decrypting the GPG XML file I noticed when I vi&#8217;d the file I had ï»¿ at the beginning of the file &#8211; everything else in the file was displayed OK.</p>
<p>In the end it turned out it was all to do with character sets &#8211; the default AIX charcter set is ISO8859-1 and the file was sent from a server that was using UTF-8</p>
<p>The ï»¿ I was seeing is the BOM Byte Order Mark &#8211; <a title="BOM description" href="http://en.wikipedia.org/wiki/Byte_order_mark">Wikipedia has a useful page  </a>that shows what characters are displayed on a ISO8859-1 system for the various UTF encodings.</p>
<p>To convert to ISO8859-1 you can use iconv</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=310</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install websm client on Linux to access HMC</title>
		<link>http://www.tuqix.org/wordpress/?p=304</link>
		<comments>http://www.tuqix.org/wordpress/?p=304#comments</comments>
		<pubDate>Thu, 01 Dec 2011 16:09:17 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[AIX]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=304</guid>
		<description><![CDATA[If you still have Power4 HMCs or HMC version 7 which need websm to access then you can install websm on Linux  <a href="http://www.tuqix.org/wordpress/?p=304">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Install websm client on Linux</strong></p>
<p>From your Linux box copy over /usr/websm/pc_client/wsmlinuxclient.exe  from your AIX LPAR.</p>
<p>For Centos x86_64 I needed additional RPMs :-</p>
<p>yum groupinstall &#8220;GNOME Desktop Environment&#8221;     ( only needed if you don&#8217;t have X11 installed )<br />
yum install libXmu.i386<br />
yum install libXp.i386</p>
<p>Note the libs have to be the i386 version even though the Linux is x86_64</p>
<p>Install websm</p>
<p>./wsmlinuxclient.exe -console</p>
<p>If you accept the defaults then after teh install satrt it up :-</p>
<p>/opt/websm/bin/wsm</p>
<p>If it bombs out with errors like :-</p>
<p>java.lang.UnsatisfiedLinkError: /opt/websm/_jvm/bin/libawt.so: libXp.so.6: canno<br />
t open shared object file: No such file or directory<br />
Then install the missing library RPM ( it needs to be the i386 version )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=304</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating Wview from a Nslu2 to a Sheevaplug</title>
		<link>http://www.tuqix.org/wordpress/?p=301</link>
		<comments>http://www.tuqix.org/wordpress/?p=301#comments</comments>
		<pubDate>Thu, 24 Nov 2011 19:20:48 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Applications to install on a personal web site]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=301</guid>
		<description><![CDATA[How to migrate Wview from a Nslu2 to a Sheevaplug. Convert .wlk files to Sqlite database. <a href="http://www.tuqix.org/wordpress/?p=301">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>My Nslu2 which I had been running Wview on finally died and rather than replace it with another one I decided to buy a Sheevaplug instead.</p>
<p><strong><span style="text-decoration: underline;">Migrating archive data from wlk files to Sqlite</span></strong></p>
<p><strong></strong>The version of Wview on the Nslu2 was quite old and used  .wlk files to store archived readings. The newer versions of Wview store the data in a Sqlite database. The Wview software comes with utilities to migrate the data in the wlk files into the Sqlite database.</p>
<p>Copy the old .wlk files from the Wview archive directory on the old server to /var/lib/wview/archive on the Sheevaplug. The utility to copy the data from the wlk files into the Sqlite database is wlk2sqlite</p>
<p>The first time I ran it I got an error :-</p>
<p>root@sheeva:/var/lib/wview/archive# wlk2sqlite /var/lib/wview/archive<br />
Using default $prefix/var/wview/archive destination&#8230;<br />
Converting&#8230;(this takes a while, longer on small devices)&#8230;<br />
Conversion Stats:<br />
Time      : 0:0<br />
Floating point exception</p>
<p>It turns out the Nslu2 was a Big Endian machine and the Sheevaplug is Little Endian . Luckily the Wview software comes with a converter program. Make a new directory for the converted files then convert them and overwrite the original ones.</p>
<p>mkdir old</p>
<p>arc_be2le /var/lib/wview/archive /var/lib/wview/archive/old<br />
mv old/*wlk  .</p>
<p>Run the conversion program and it should start converting the files and load them into the database. It took 20 mins to convert 2.5 years worth of archive data.</p>
<p>root@sheeva:/var/lib/wview/archive# wlk2sqlite /var/lib/wview/archive<br />
Using default $prefix/var/wview/archive destination&#8230;<br />
Converting&#8230;(this takes a while, longer on small devices)&#8230;<br />
Conversion Stats:<br />
Time      : 1:0 minutes<br />
Recs/sec  : 200<br />
Inserts   : 12050<br />
Duplicates: 4<br />
Errors    : 0</p>
<p>Now stop and start Wview</p>
<p>/etc/init.d/wview restart</p>
<p>Do a tail -f /var/log/wview.log and you should see Wview generating history htmls :-</p>
<p>Nov 24 17:03:16 sheeva htmlgend[16835]: &lt;1322154196730&gt; : htmlHistoryInit: storing day history for Sun Jan  2 00:05:00 2011<br />
Nov 24 17:03:17 sheeva htmlgend[16835]: &lt;1322154197158&gt; : htmlHistoryInit: storing day history for Mon Jan  3 00:05:00 2011<br />
Nov 24 17:03:17 sheeva htmlgend[16835]: &lt;1322154197609&gt; : htmlHistoryInit: storing day history for Tue Jan  4 00:05:00 2011</p>
<p>Now all your old data is in the database of the Wview on the Sheevaplug.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=301</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating Centos 5 to php 5.3</title>
		<link>http://www.tuqix.org/wordpress/?p=291</link>
		<comments>http://www.tuqix.org/wordpress/?p=291#comments</comments>
		<pubDate>Mon, 25 Jul 2011 15:44:23 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Centos]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VPS server]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=291</guid>
		<description><![CDATA[Upgrade php on Centos 5 to php 5.3 using IUS repository <a href="http://www.tuqix.org/wordpress/?p=291">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Updating centos 5 to php 5.3</strong></p>
<p>The version of php shipped with Centos 5 is 5.1.6 , lots of programs now need php 5.2 or 5.3 to install. The latest version of WordPress for example will not install or update on servers running 5.1.6.</p>
<p>When Centos 5.6 came out it had the opportunity to install PHP 5.3 from Centos &#8211; the problem is not all the PHP rpms available at 5.1.6 are there in the Centos repository at 5.3 e.g. php-pear php-mcrypt</p>
<p>One way around this is use a different repository , a good one for PHP is IUS . IUS has some nice features such as an add on to yum to make replacing the Centos PHP very easy &#8211; also it names it&#8217;s RPMs differently to Centos so you don&#8217;t have to worry about it overwriting Centos RPMs when you do a yum update. You may need to upgrade tour PHP applications to work with PHP 5.3 so check them out before you upgrade.</p>
<p>The following upgrade procedure is taken mostly from <a title="IUS Repostory guide" href="http://wiki.iuscommunity.org/Doc/ClientUsageGuide">here</a></p>
<p>wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-8.ius.el5.noarch.rpm</p>
<p>wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm</p>
<p>rpm -Uvh ius-release*.rpm epel-release*.rpm</p>
<p>Check you can now see the  PHP 5.3 rpms from IUS</p>
<p>yum list | grep -w \.ius\.</p>
<p>Install the IUS add-on to yum :-</p>
<p>yum install yum-plugin-replace</p>
<p>Stop Apache</p>
<p>service httpd stop</p>
<p>List what php rpms you have installed</p>
<p>-bash-3.2# rpm -qa | grep php<br />
php-pdo-5.1.6-27.el5_5.3<br />
php-pgsql-5.1.6-27.el5_5.3<br />
php-odbc-5.1.6-27.el5_5.3<br />
php-bcmath-5.1.6-27.el5_5.3<br />
php-pear-1.4.9-6.el5<br />
php-5.1.6-27.el5_5.3<br />
php-devel-5.1.6-27.el5_5.3<br />
php-gd-5.1.6-27.el5_5.3<br />
php-cli-5.1.6-27.el5_5.3<br />
php-mbstring-5.1.6-27.el5_5.3<br />
php-common-5.1.6-27.el5_5.3<br />
php-ldap-5.1.6-27.el5_5.3<br />
php-mysql-5.1.6-27.el5_5.3<br />
-bash-3.2<br />
Now replace those rpms with the ones from IUS using the IUS yum add-on</p>
<p>-bash-3.2# yum replace php &#8211;replace-with php53<br />
Loaded plugins: fastestmirror, priorities, replace<br />
Loading mirror speeds from cached hostfile<br />
* addons: mirror.netrino.co.uk<br />
* base: mirror.netrino.co.uk<br />
* epel: mirror01.th.ifl.net<br />
* extras: mirror.netrino.co.uk<br />
* ius: mirror.rackspace.co.uk<br />
* rpmforge: fr2.rpmfind.net<br />
* updates: mirror.netrino.co.uk<br />
1872 packages excluded due to repository priority protections<br />
Replacing packages takes time, please be patient&#8230;</p>
<p>WARNING: Unable to resolve all providers: ['config(php)', 'php', 'config(php-ldap)', 'php-ldap', 'config(php-mbstring)', 'php-mbstring', 'config(php-mysql)', 'php-mysql', 'config(php-pgsql)', 'php-pgsql', 'config(php-common)', 'dbase.so()(64bit)', 'php-dbase', 'php-mime_magic', 'php-pspell', 'php-common', 'config(php-pdo)', 'php-pdo', 'config(php-odbc)', 'php-odbc', 'config(php-gd)', 'php-gd', 'config(php-bcmath)', 'php-bcmath']</p>
<p>This may be normal depending on the package.  Continue? [y/N]<br />
Resolving Dependencies<br />
Resolving Dependencies<br />
&#8211;&gt; Running transaction check<br />
&#8212;&gt; Package php.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8211;&gt; Processing Dependency: php &gt;= 4.0.4 for package: squirrelmail<br />
&#8212;&gt; Package php-bcmath.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-cli.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-common.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-devel.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-gd.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-ldap.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-mbstring.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-mysql.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-odbc.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-pdo.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php-pgsql.x86_64 0:5.1.6-27.el5_5.3 set to be erased<br />
&#8212;&gt; Package php53.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-bcmath.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-cli.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-common.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-devel.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-gd.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-ldap.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-gd.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-ldap.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-mbstring.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-mysql.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-odbc.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-pdo.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-pgsql.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-process.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8212;&gt; Package php53-xml.x86_64 0:5.3.3-1.el5_6.1 set to be updated<br />
&#8211;&gt; Running transaction check<br />
&#8212;&gt; Package squirrelmail.noarch 0:1.4.8-5.el5.centos.10 set to be erased<br />
&#8211;&gt; Finished Dependency Resolution<br />
&#8211;&gt; Running transaction check<br />
&#8212;&gt; Package squirrelmail.noarch 0:1.4.8-5.el5.centos.10 set to be erased<br />
&#8211;&gt; Processing Dependency: php &gt;= 4.0.4 for package: squirrelmail<br />
&#8211;&gt; Processing Dependency: php-mbstring for package: squirrelmail<br />
&#8211;&gt; Running transaction check<br />
&#8212;&gt; Package squirrelmail.noarch 0:1.4.8-5.el5.centos.10 set to be erased<br />
&#8211;&gt; Finished Dependency Resolution</p>
<p>Dependencies Resolved<br />
=================================================================================<br />
Package             Arch        Version                    Repository      Size<br />
=================================================================================<br />
Installing:<br />
php53               x86_64      5.3.3-1.el5_6.1            updates        1.3 M<br />
php53-bcmath        x86_64      5.3.3-1.el5_6.1            updates         42 k<br />
php53-cli           x86_64      5.3.3-1.el5_6.1            updates        2.4 M<br />
php53-common        x86_64      5.3.3-1.el5_6.1            updates        605 k<br />
php53-devel         x86_64      5.3.3-1.el5_6.1            updates        590 k<br />
php53-gd            x86_64      5.3.3-1.el5_6.1            updates        109 k<br />
php53-ldap          x86_64      5.3.3-1.el5_6.1            updates         37 k<br />
php53-mbstring      x86_64      5.3.3-1.el5_6.1            updates        1.2 M<br />
php53-mysql         x86_64      5.3.3-1.el5_6.1            updates         92 k<br />
php53-odbc          x86_64      5.3.3-1.el5_6.1            updates         52 k<br />
php53-pdo           x86_64      5.3.3-1.el5_6.1            updates         67 k<br />
php53-pgsql         x86_64      5.3.3-1.el5_6.1            updates         74 k<br />
php53-process       x86_64      5.3.3-1.el5_6.1            updates         38 k<br />
php53-xml           x86_64      5.3.3-1.el5_6.1            updates        119 k<br />
Removing:<br />
php                 x86_64      5.1.6-27.el5_5.3           installed      6.2 M<br />
php-bcmath          x86_64      5.1.6-27.el5_5.3           installed       33 k<br />
php-cli             x86_64      5.1.6-27.el5_5.3           installed      5.3 M<br />
php-common          x86_64      5.1.6-27.el5_5.3           installed      397 k<br />
php-devel           x86_64      5.1.6-27.el5_5.3           installed      2.5 M<br />
php-gd              x86_64      5.1.6-27.el5_5.3           installed      333 k<br />
php-ldap            x86_64      5.1.6-27.el5_5.3           installed       49 k<br />
php-mbstring        x86_64      5.1.6-27.el5_5.3           installed      1.8 M<br />
php-mysql           x86_64      5.1.6-27.el5_5.3           installed      196 k<br />
php-odbc            x86_64      5.1.6-27.el5_5.3           installed       88 k<br />
php-pdo             x86_64      5.1.6-27.el5_5.3           installed      114 k<br />
php-pgsql           x86_64      5.1.6-27.el5_5.3           installed      128 k<br />
Removing for dependencies:<br />
squirrelmail        noarch      1.4.8-5.el5.centos.10      installed       14 M</p>
<p>Transaction Summary<br />
=================================================================================<br />
Install      14 Package(s)<br />
Upgrade       0 Package(s)<br />
Remove       13 Package(s)<br />
Reinstall     0 Package(s)<br />
Downgrade     0 Package(s)</p>
<p>Total download size: 6.7 M<br />
Is this ok [y/N]:<br />
Downloading Packages:<br />
(1/14): php53-ldap-5.3.3-1.el5_6.1.x86_64.rpm             |  37 kB     00:00<br />
(2/14): php53-process-5.3.3-1.el5_6.1.x86_64.rpm          |  38 kB     00:00<br />
(3/14): php53-bcmath-5.3.3-1.el5_6.1.x86_64.rpm           |  42 kB     00:00<br />
(4/14): php53-odbc-5.3.3-1.el5_6.1.x86_64.rpm             |  52 kB     00:00<br />
(5/14): php53-pdo-5.3.3-1.el5_6.1.x86_64.rpm              |  67 kB     00:00<br />
(6/14): php53-pgsql-5.3.3-1.el5_6.1.x86_64.rpm            |  74 kB     00:00<br />
(7/14): php53-mysql-5.3.3-1.el5_6.1.x86_64.rpm            |  92 kB     00:00<br />
(8/14): php53-gd-5.3.3-1.el5_6.1.x86_64.rpm               | 109 kB     00:00<br />
(9/14): php53-xml-5.3.3-1.el5_6.1.x86_64.rpm              | 119 kB     00:00<br />
(10/14): php53-devel-5.3.3-1.el5_6.1.x86_64.rpm           | 590 kB     00:00<br />
(11/14): php53-common-5.3.3-1.el5_6.1.x86_64.rpm          | 605 kB     00:00<br />
(12/14): php53-mbstring-5.3.3-1.el5_6.1.x86_64.rpm        | 1.2 MB     00:00<br />
(13/14): php53-5.3.3-1.el5_6.1.x86_64.rpm                 | 1.3 MB     00:00<br />
(14/14): php53-cli-5.3.3-1.el5_6.1.x86_64.rpm             | 2.4 MB     00:00<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Total                                            3.2 MB/s | 6.7 MB     00:02<br />
Running rpm_check_debug<br />
Running Transaction Test<br />
Finished Transaction Test<br />
Transaction Test Succeeded<br />
Running Transaction<br />
Installing     : php53-common                                             1/27<br />
warning: /etc/php.d/json.ini created as /etc/php.d/json.ini.rpmnew<br />
Installing     : php53-pdo                                                2/27<br />
Installing     : php53-cli                                                3/27<br />
Installing     : php53                                                    4/27<br />
Installing     : php53-mbstring                                           5/27</p>
<p>Installing     : php53-bcmath                                             6/27<br />
Installing     : php53-pgsql                                              7/27<br />
Installing     : php53-mysql                                              8/27<br />
Installing     : php53-ldap                                               9/27<br />
Installing     : php53-xml                                               10/27<br />
Installing     : php53-process                                           11/27<br />
Installing     : php53-gd                                                12/27<br />
Installing     : php53-devel                                             13/27<br />
Installing     : php53-odbc                                              14/27<br />
Erasing        : php-ldap                                                15/27<br />
Erasing        : php-pdo                                                 17/27<br />
Erasing        : php-mysql                                               18/27<br />
Erasing        : php-devel                                               19/27<br />
Erasing        : php-odbc                                                20/27<br />
Erasing        : php-gd                                                  21/27<br />
Erasing        : php                                                     22/27<br />
Erasing        : php-common                                              23/27<br />
Erasing        : php-bcmath                                              24/27<br />
Erasing        : php-cli                                                 25/27</p>
<p>Erasing        : squirrelmail                                            26/27<br />
Erasing        : php-pgsql                                               27/27</p>
<p>Removed:<br />
php.x86_64 0:5.1.6-27.el5_5.3         php-bcmath.x86_64 0:5.1.6-27.el5_5.3<br />
php-cli.x86_64 0:5.1.6-27.el5_5.3     php-common.x86_64 0:5.1.6-27.el5_5.3<br />
php-devel.x86_64 0:5.1.6-27.el5_5.3   php-gd.x86_64 0:5.1.6-27.el5_5.3<br />
php-ldap.x86_64 0:5.1.6-27.el5_5.3    php-mbstring.x86_64 0:5.1.6-27.el5_5.3<br />
php-mysql.x86_64 0:5.1.6-27.el5_5.3   php-odbc.x86_64 0:5.1.6-27.el5_5.3<br />
php-pdo.x86_64 0:5.1.6-27.el5_5.3     php-pgsql.x86_64 0:5.1.6-27.el5_5.3</p>
<p>Dependency Removed:<br />
squirrelmail.noarch 0:1.4.8-5.el5.centos.10</p>
<p>Installed:<br />
php53.x86_64 0:5.3.3-1.el5_6.1         php53-bcmath.x86_64 0:5.3.3-1.el5_6.1<br />
php53-cli.x86_64 0:5.3.3-1.el5_6.1     php53-common.x86_64 0:5.3.3-1.el5_6.1<br />
php53-devel.x86_64 0:5.3.3-1.el5_6.1   php53-gd.x86_64 0:5.3.3-1.el5_6.1<br />
php53-ldap.x86_64 0:5.3.3-1.el5_6.1    php53-mbstring.x86_64 0:5.3.3-1.el5_6.1<br />
php53-mysql.x86_64 0:5.3.3-1.el5_6.1   php53-odbc.x86_64 0:5.3.3-1.el5_6.1<br />
php53-pdo.x86_64 0:5.3.3-1.el5_6.1     php53-pgsql.x86_64 0:5.3.3-1.el5_6.1<br />
php53-process.x86_64 0:5.3.3-1.el5_6.1 php53-xml.x86_64 0:5.3.3-1.el5_6.1</p>
<p>Complete!</p>
<p>Check all the php rpms you had installed at 5.1.6 are now there at 5.3</p>
<p>-bash-3.2# rpm -qa | grep php<br />
php53-cli-5.3.3-1.el5_6.1<br />
php53-process-5.3.3-1.el5_6.1<br />
php53-mysql-5.3.3-1.el5_6.1<br />
php-pear-1.4.9-6.el5<br />
php53-mbstring-5.3.3-1.el5_6.1<br />
php53-devel-5.3.3-1.el5_6.1<br />
php53-pdo-5.3.3-1.el5_6.1<br />
php53-bcmath-5.3.3-1.el5_6.1<br />
php53-xml-5.3.3-1.el5_6.1<br />
php53-odbc-5.3.3-1.el5_6.1<br />
php53-pgsql-5.3.3-1.el5_6.1<br />
php53-5.3.3-1.el5_6.1<br />
php53-gd-5.3.3-1.el5_6.1<br />
php53-common-5.3.3-1.el5_6.1<br />
php53-ldap-5.3.3-1.el5_6.1<br />
-bash-3.2#<br />
-bash-3.2# php -v<br />
PHP 5.3.3 (cli) (built: Mar 30 2011 13:51:54)<br />
Copyright (c) 1997-2010 The PHP Group<br />
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies<br />
-bash-3.2#</p>
<p>Set your timezone for PHP ( if you do not do this you may see errors like PHP Warning:  strtotime(): It is not safe to rely on the system&#8217;s timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. )</p>
<p>vi /etc/php.ini</p>
<p>date.timezone = &#8216;Europe/London&#8217;</p>
<p>Restart Apache</p>
<p>service httpd start</p>
<p>Check your applications now work</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=291</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AIX bug on 5.3 TL11 SP6 directory corruption</title>
		<link>http://www.tuqix.org/wordpress/?p=286</link>
		<comments>http://www.tuqix.org/wordpress/?p=286#comments</comments>
		<pubDate>Fri, 22 Jul 2011 15:38:52 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[AIX]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=286</guid>
		<description><![CDATA[After patching to AIX 5.3 TL11 SP6 with fileset bos.mp , bos.mp64 5.3.11.6 you get a corrupt directory if a mv command fails. You have to unmount and mount the filesystem to fix. APAR IZ96928 is the permanent fix. <a href="http://www.tuqix.org/wordpress/?p=286">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After patching to AIX 5.3 TL11 SP6 with fileset bos.mp , bos.mp64 5.3.11.6 a directory became unusable and corrupt , the only solution was to unmount the filesystem and mount it again. fsck did not report any errors. I managed to re-create the error :-</p>
<p>$ cd /test<br />
$ ls -l<br />
total 0<br />
-rw&#8212;&#8212;-    1 root     system            0 Jul 22 10:59 one<br />
drwxr-xr-x    2 root     system          256 Jul 22 10:59 onedir<br />
-rw-r&#8211;r&#8211;    1 root     system            0 Jul 22 10:59 three<br />
drwxr-xr-x    2 root     system          256 Jul 22 10:59 threedir<br />
-rw-r&#8211;r&#8211;    1 root     system            0 Jul 22 10:59 two<br />
drwxr-xr-x    2 root     system          256 Jul 22 11:00 twodir<br />
$ mv -f one twodir<br />
mv: 0653-401 Cannot rename one to twodir/one:<br />
The file access permissions do not allow the specified action.<br />
$ ls -l<br />
ls: 0653-341 The file ./one does not exist.<br />
ls: 0653-341 The file ./twodir does not exist.<br />
total 0<br />
drwxr-xr-x    2 root     system          256 Jul 22 10:59 onedir<br />
-rw-r&#8211;r&#8211;    1 root     system            0 Jul 22 10:59 three<br />
drwxr-xr-x    2 root     system          256 Jul 22 10:59 threedir<br />
-rw-r&#8211;r&#8211;    1 root     system            0 Jul 22 10:59 two<br />
$</p>
<p>$ cd twodir<br />
ksh: twodir: 0403-036 The specified directory is not valid.<br />
$ find twodir<br />
find: 0652-019 The status on sixdir is not valid.<br />
$<br />
You end up with a directory you can do anything with -  and any sub directories are also unavailable. No data is actually lost &#8211; if you unmount and remount the filesystem all the data is available again.</p>
<p>The fix is to install APAR IZ96928  which requires a reboot.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=286</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup SAMBA on Ubuntu for XBMC shares</title>
		<link>http://www.tuqix.org/wordpress/?p=279</link>
		<comments>http://www.tuqix.org/wordpress/?p=279#comments</comments>
		<pubDate>Sun, 29 May 2011 18:16:06 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Living the Linux dream]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=279</guid>
		<description><![CDATA[How to setup SAMBA in Ubuntu for XBMC shares <a href="http://www.tuqix.org/wordpress/?p=279">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Like a lot of people I have a central computer which stores my pictures , videos etc, and have a home theater server with XBMC in the living room. To enable XBMC to display pictures and stream videos from your central computer you can use SAMBA. These instructions are for Ubuntu but apart from the actual SAMBA package install they should work for any Linux flavor.</p>
<p><strong>Install SAMBA</strong></p>
<p>On your server you want to share out the media from install SAMBA</p>
<p>sudo apt-get install samba</p>
<p><strong>Create a nice easy directory structure</strong></p>
<p>To make things easy for XBMC create a directory structure with symlinks to your media directories that can be shared out. e.g. within XMBC I want to have my media split into movies , videos, music_videos , music and pictures. The real directories for these on my central server are /videos/movies , /misc/vids, /misc/music_vids , /music , /camera . So I created a top level /xbmc directory with /xbmc/movies /xbmc/videos /xbmc/music_videos /xbmc/pictures</p>
<p>sudo mkdir /xbmc</p>
<pre>sudo ln -s /videos/movies /xbmc/movies
sudo ln -s /misc/vids  /xbmc/videos
sudo ln -s /misc/music_vids /xbmc/music_videos
sudo ln -s /music  /xbmc/music
sudo ln -s /camera  /xbmc/pictures
</pre>
<p>Now when I share out /xbmc everything is nicely organized.</p>
<p><strong>Configure SAMBA</strong></p>
<p>sudo vi /etc/samba/smb.conf</p>
<p>Ensure your network interfaces are in the interfaces =   line and remove the ; at the beginning of the line.</p>
<p>Add these lines after the interfaces line , where the IP address after 127.0.0.1 is the IP address of your XBMC box assuming it has a static IP, if you are using DHCP for the XBMC server then put in the DCHP subnet e.g. 192.168.1.0/24</p>
<p>hosts allow = 127.0.0.1,192.168.1.45<br />
hosts deny = 0.0.0.0/0</p>
<p>Remove the ; from the line bind interfaces only = yes</p>
<p>If using symlinks then add this line :-</p>
<p>unix extensions = no</p>
<p>Remove the hash at the beginning of the line security = user</p>
<p>Search for socket and add the line</p>
<pre>socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192</pre>
<p>At the end of the file add :-</p>
<p>[xbmc]<br />
comment = XBMC share<br />
path = /xbmc<br />
read only = yes<br />
guest ok = no<br />
user = xbmc<br />
follow symlinks = yes<br />
wide links = yes</p>
<p>Save the file</p>
<p>Create a linux user with enough permissions to be able to read your media files and a shell of  /bin/false &#8211; do not create a linux password for the user &#8211; we only want the user to login via SAMBA</p>
<p>sudo groupadd xbmc</p>
<p>sudo useradd -d /xbmc -c &#8220;XBMC SAMBA user&#8221; -g xbmc -s /bin/false xbmc</p>
<p>sudo smbpasswd -a xbmc</p>
<p>Restart SAMBA</p>
<p>sudo /etc/init.d/smbd restart</p>
<p><strong>Add the share in XBMC</strong></p>
<p>Video &#8211; Add Source</p>
<p>Path is  smb://192.168.1.45/xbmc        ( use the IP address of your SAMBA server )</p>
<p>OK &#8211; it will then ask for a username and password and if you select</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=279</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Living the Linux dream &#8211; installing XMBC on an Acer Revo 3700</title>
		<link>http://www.tuqix.org/wordpress/?p=252</link>
		<comments>http://www.tuqix.org/wordpress/?p=252#comments</comments>
		<pubDate>Sun, 29 May 2011 12:46:02 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Living the Linux dream]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=252</guid>
		<description><![CDATA[install XBMC on Acer Revo 3700 with sound over HDMI and hardware video acceleration.  <a href="http://www.tuqix.org/wordpress/?p=252">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Installing XBMC on the Acer Revo 3700</strong></p>
<p>After years of waiting for the price of quiet small form factor PCs to come down to a reasonable price point the Acer Revo 3700 has appeared. I purchased one to install XBMC on. I also purchased an add on external USB DVD drive as I also wanted to replace my DVD player.</p>
<p>Because I wanted to use the Revo to do other things besides XBMC I decided to do a normal Ubuntu install rather than a minimum install with XBMC. I selected Ubuntu 10.04 LTS 32 bit to install.</p>
<p>I decided to make things easy and do the install with a wired Ethernet connection and enable wireless afterwards.</p>
<p>As I had an USB DVD drive I thought I would use this to do the install &#8211; big mistake it failed after the splash screen with :-</p>
<p><strong> </strong></p>
<p><strong>(initramfs) mount mounting /dev/loop0 on filesystem.squashfs failed:  Input/Output error Cannot mount /dev/loop0  (/cdrom/casper/filesystem.squashfs on // filesystem.squashfs</strong></p>
<p>Looking at the forums it appeared that boot from a USB memory stick would be a better solution. To make a bootable USB stick go <a title="Create Ubuntu bootable USB stick" href="https://help.ubuntu.com/community/Installation/FromUSBStick">here</a></p>
<p>Power on the Revo and hit DEL to enter the BIOS. Select Advance BIOS Features  &#8211; cursor down to 1st Boot Device and use the &#8211; key to select Removable Device.</p>
<p>F10 to save your settings and the Revo will reboot.</p>
<p>In spite of selecting Removable Device as the 1st boot it still booted from the hard disk &#8211; so I booted again and hit F12 to go into the boot menu then I could select the USB Flash to boot from.</p>
<p>Select erase and use the entire disk</p>
<p>Login name xbmc</p>
<p>Set a password and select Log in automatically</p>
<p>Once the installation is complete it will prompt you to reboot  &#8211; click Restart Now. Hit DEL to go into the BIOS again and select the hard disk as the 1st Boot Device . Remove the USB memory stick you booted from. Hit F10 to save and exit. It should now boot from the hard disk into Ubuntu.</p>
<p>Open up a terminal and do netstat -rn to check the network looks right.</p>
<p>Stop the screen saver from locking the screen with a password &#8211; System &#8211; Preference &#8211; Screensaver &#8211; untick lock screen when screensaver is active.</p>
<p>Install the Nvidia binary drivers -see <a title="Install Nvidia binary drivers" href="https://help.ubuntu.com/community/BinaryDriverHowto/Nvidia">here</a></p>
<p>Turn off compiz  &#8211; Preferences &#8211; Appearance &#8211; Visual Effects &#8211; None</p>
<p>Update manager should appear on the bottom toolbar advising that updates are available. Install the updates and once installed reboot the Revo.</p>
<p><strong>Wireless network</strong></p>
<p>I had a lot of problems getting the wireless network to work. First set it up in Network Manager , go to  System &#8211; Preferences &#8211; Network Connections</p>
<p>Select Wireless &#8211; Add  and add your wireless details.  Choose Infrastructure rather than addhoc and select the tick box to allow all users access. Reboot the Revo and if like me the wireless does not work check in /var/log/messages for failure to open a file :-</p>
<p>May 24 09:34:03 xbmc-desktop kernel: [   15.933794] Read file &#8220;/etc/Wireless/RT2860STA/RT2860STA.dat&#8221; failed(errCode=0)!</p>
<p>To fix :-</p>
<p>sudo mkdir -p  /etc/Wireless/RT2860STA</p>
<p>sudo touch /etc/Wireless/RT2860STA/RT2860STA/RT2860STA.dat</p>
<p>Reboot the Revo &#8211; you will be prompted for your password to start the network and now you should get a message about the wireless network has established a connection.</p>
<p>Now go to System &#8211; Preference &#8211; Network Connections</p>
<p>You will see a new connection with Last Used of now</p>
<p>Edit this and ensure the mode is Infrastructure , Connect automatically is ticked and available to all users is ticked. Apply the changes &#8211; it will disconnect the wireless connection. Reboot the Revo and this time you should not be prompted for a password and the wireless network should connect successfully.</p>
<p>I would advise you to setup a static IP address for the Revo as this will make things easy for using NFS mounts and using an Android phone app as a remote.</p>
<p>To setup a static IP address go to the Network Manager, select the Wireless connection 1 and add a static IP ( your router should have details of the DHCP range of IPs it gives out so select an IP address outside of this range ). Fill in the gateway ( e.g. the address of your router , the DNS servers ( either use your ISP&#8217;s one or use a public DNS service like Google&#8217;s one ). Reboot the Revo and check with netstat -rn and ifconfig -a that all is well.</p>
<p><strong>Install flash and other media codecs</strong></p>
<p>As this server is going to be able to play multiple video and sounds formats install the restricted extras for Ubuntu &#8211; see <a title="Ubuntu restricted extras" href="https://help.ubuntu.com/community/RestrictedFormats">here</a></p>
<p><strong>Sound over HDMI in the Revo 3700</strong></p>
<p>I had lots of problems with this and there are lots of remedies  posted on forums, the fix does seem to depend on what version of Ubuntu  you install. To have sound over HDMI working you need X up and be connected to a HDMI display so plug your TV into the HMDI port.</p>
<p>Update the Alsa packages &#8211; instructions are  <a title="Ubuntu upf=date Alsa package" href="https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules">here</a> &#8211; you need to reboot after updating.</p>
<p>After installing a newer version of ALSA you now see the Nvidia devices :-</p>
<p>xbmc@xbmc-desktop:~$ aplay -l<br />
**** List of PLAYBACK Hardware Devices ****<br />
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]<br />
Subdevices: 0/1<br />
Subdevice #0: subdevice #0<br />
card 1: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
card 1: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0<br />
card 1: NVidia [HDA NVidia], device 9: HDMI 0 [HDMI 0]<br />
Subdevices: 1/1<br />
Subdevice #0: subdevice #0</p>
<p>Startup alsamixer and use F6 key to select the Nvidia card &#8211; it should look like :-</p>
<p><a href="http://www.tuqix.org/wordpress/wp-content/uploads/2011/05/alsamixer1.png"><img class="alignnone size-full wp-image-269" title="alsamixer with muted channels" src="http://www.tuqix.org/wordpress/wp-content/uploads/2011/05/alsamixer1.png" alt="alsamixer with muted channels" width="644" height="406" /></a></p>
<p>You now need to unmute the channels shown as MM &#8211; use the cursor keys to navigate to the MM boxes and use the m keys to toggle them to 00 . The display should now look like :-</p>
<div id="attachment_271" class="wp-caption alignnone" style="width: 648px"><a href="http://www.tuqix.org/wordpress/wp-content/uploads/2011/05/alsamixer21.png"><img class="size-full wp-image-271" title="alsamixer with channels unmuted" src="http://www.tuqix.org/wordpress/wp-content/uploads/2011/05/alsamixer21.png" alt="alsamixer with channels unmuted" width="638" height="410" /></a><p class="wp-caption-text">alsamixer with channels unmuted</p></div>
<p>Hit ESC to exit alsamixer</p>
<p>To test :-</p>
<p>xbmc@xbmc-desktop:~$ aplay -D plughw:1,7 /usr/share/sounds/alsa/Front_Center.wav</p>
<p>Sound should come out of the TV.</p>
<p>Now you need to setup Pulse audio</p>
<p>sudo vi /etc/pulse/default.pa</p>
<p>Search for the hashed out line #load-module module-pipe-sink</p>
<p>Add a line :-</p>
<p>load-module module-alsa-sink device=plughw:1,7</p>
<p>Remove any local user pulse config files :-</p>
<pre dir="ltr">rm -rf ~/.pulse ~/.asound* ~/.pulse-cookie
</pre>
<p>Create a new /etc/asound.conf</p>
<p>sudo vi /etc/asound.conf<br />
pcm.pulse {<br />
type pulse<br />
}<br />
ctl.pulse {<br />
type pulse<br />
}<br />
pcm.!default {<br />
type pulse<br />
}<br />
ctl.!default {<br />
type pulse<br />
}</p>
<p>Reboot the Revo and now you should be greeted by Tom-Toms when Ubuntu starts and playing a video from a website in Firefox the sound will now come out of the TV. Don&#8217;t worry about the slow performance playing a Video in Firefox &#8211; the fixes are later in this guide.</p>
<p><strong>Install XBMC</strong></p>
<p>instructions are <a title="XBMC Ubuntu install" href="http://wiki.xbmc.org/index.php?title=HOW-TO_install_XBMC_for_Linux_on_Ubuntu,_a_Step-by-Step_Guide">here </a></p>
<p>Ensure you install NVidia hardware acceleration (VDPAU)  in the above instructions.</p>
<p>Open a terminal and type xbmc to start it up. Go to System &#8211; Settings and configure :-</p>
<p>Audio Output</p>
<pre>Audio output              HDMI
Speaker configuration      2.0
Boost volume level on downmix
Audio output device         Defaults
Passthrough output device      hdmi
</pre>
<p>Video Playback</p>
<pre>Render method           Auto detect
Allow hardware acceleration (VDPAU)
Adjust display refresh rate to match video
Sync playback to display
A/V sync method                 video clock (drop/dupe audio)
VDPAU studio level color conversion
</pre>
<p>Power saving</p>
<pre>Shutdown function       shutdown
</pre>
<p>Weather &#8211; General  change area code 1 &#8211; set it to your local city</p>
<p><strong>Speedup video playback</strong></p>
<p>Ensure you installed NVidia hardware acceleration (VDPAU) when you did the XBMC install above. To allow flash videos ( like Youtube ) to run in full screen you need a version of flash that supports hardware acceleration &#8211; this currently means getting a beta version. The easiest way is to install <a title="Firefox Flash Aid plugin" href="https://addons.mozilla.org/en-US/firefox/addon/flash-aid/">Flash Aid Firefox plugin</a> , once installed click on the Flash Aid symbol in the top right hand corner of Firefox and just let the wizard install the best version of flash for the hardware.  I did notice that Youtube videos played faster in the XBMC plugin than in Firefox which is fine as the XBMC plugin is nice to use.</p>
<p>If you are in the UK then install the BBC Iplayer XBMC plugin &#8211; follow the instructions <a title="XBMC Iplayer plugin" href="http://code.google.com/p/xbmc-iplayerv2/">here</a> . The XBMC BBC  Iplayer plugin plays  programs much better full screen than in Firefox.</p>
<p><strong>Remote Control</strong></p>
<p>As I have an Android phone I looked for a remote app for XBMC and downloaded the <a title="XBMC Android remote" href="http://www.appbrain.com/app/official-xbmc-remote/org.xbmc.android.remote">official XBMC app </a></p>
<p>On the Revo start up XBMC and go to System &#8211; Network . enable Allow control of XBMC via HTTP , Allow programs on other systems to control XBMC, set a user name and password. Then go to System &#8211; Settings &#8211; Input Devices and enable Remote control sends keyboard presses.</p>
<p>Assuming you already have your Android phone setup so it is connected to your WIFI :-</p>
<p>Download the XBMC Android app, Once downloaded press menu and fill in the IP address of the Revo , username and password you setup in XBMC above ( not the Linux username / password ) , tick WIFI only. press the back button and OK the settings. Now you should be able to control XBMC from your phone.</p>
<p><strong>setup XBMC to autostart</strong></p>
<p>To setup XBMC to autostart but still have the Gnome desktop available if you click exit rather than shutdown in XBMC  :-</p>
<p>System &#8211; Preferences &#8211; Startup Applications. Click add and fill in name: xbmc , Command: xbmc  , Comment xbmc</p>
<p>Now when the Revo boots it will run xbmc but you still have the option to exit to the desktop by selecting exit in XBMC or to shutdown the Revo by selecting shutdown in XBMC</p>
<p><strong>Sound no longer works after updates that include a new kernel</strong></p>
<p>If you install updates ( security fixes etc. ) and it includes a new kernel the HDMI sound won&#8217;t work and XBMC will say cannot open audio device.</p>
<p>Update the alsa packages as above, make a copy of your /etc/asound.conf , create a new /etc/asound.conf  :-</p>
<p>pcm.!default {<br />
type plug<br />
slave.pcm &#8220;dmix:0,3&#8243;<br />
}</p>
<p>If you don&#8217;t do this then you will get an error when starting alsamixer after the reboot ALSA lib pulse.c:229:(pulse_connect) PulseAudio: Unable to connect: Connection refused cannot open mixer: Connection refused</p>
<p>rm -rf ~/.pulse ~/.asound* ~/.pulse-cookie</p>
<p>Now reboot and check aplay -l sees the Nvidia sound card as in the install instructions above.</p>
<p>Startup alsamixer and unmute the channels as in the install instructions</p>
<p>Copy back your original /etc/asound.conf , reboot and your sound should be back.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=252</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install missing codecs for Mplayer in Ubuntu</title>
		<link>http://www.tuqix.org/wordpress/?p=250</link>
		<comments>http://www.tuqix.org/wordpress/?p=250#comments</comments>
		<pubDate>Sun, 03 Apr 2011 18:33:39 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=250</guid>
		<description><![CDATA[Install missing codecs for Mplayer in Ubuntu. Video in mplayer plays with no sound <a href="http://www.tuqix.org/wordpress/?p=250">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Got a video that won&#8217;t play in Mplayer or plays with no sound , then install a whole load of codecs with a script that is already there in Ubuntu.</p>
<p>sudo /usr/share/mplayer/binary_codecs.sh install</p>
<p>That&#8217;s it , all done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=250</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove delete a legacy_run from SMF on Solaris 10</title>
		<link>http://www.tuqix.org/wordpress/?p=247</link>
		<comments>http://www.tuqix.org/wordpress/?p=247#comments</comments>
		<pubDate>Fri, 25 Mar 2011 17:02:21 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=247</guid>
		<description><![CDATA[Remove delete legacy_run from SMF in Solaris <a href="http://www.tuqix.org/wordpress/?p=247">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Remove the scripts from /etc/init.d and rc3.d etc.</p>
<p>root@mydb # svcs -a | grep -i oracle<br />
legacy_run Feb_28 lrc:/etc/rc3_d/S99Oracle_Listener<br />
root@mydb  #</p>
<p>Now we want to remove it from SMF &#8211; Note once you have removed the RC scripts rebooting the server will also mean SMF won&#8217;t pick it up again, but if you don&#8217;t want to reboot you can do the following :-</p>
<p>root@mydb # svccfg -s smf/legacy_run<br />
svc:/smf/legacy_run&gt; listpg *<br />
rc2_d_S20sysetup framework NONPERSISTENT<br />
rc2_d_S70uucp framework NONPERSISTENT<br />
rc2_d_S72autoinstall framework NONPERSISTENT<br />
rc2_d_S73cachefs_daemon framework NONPERSISTENT<br />
rc2_d_S89PRESERVE framework NONPERSISTENT<br />
rc2_d_S95lwact framework NONPERSISTENT<br />
rc2_d_S98deallocate framework NONPERSISTENT<br />
rc3_d_S16boot_server framework NONPERSISTENT<br />
rc3_d_S52imq framework NONPERSISTENT<br />
rc3_d_S84appserv framework NONPERSISTENT<br />
rc3_d_S85dsmcsched framework NONPERSISTENT<br />
rc3_d_S99Oracle_Listener framework NONPERSISTENT<br />
svc:/smf/legacy_run&gt; delpg rc3_d_S99Oracle_Listener<br />
svc:/smf/legacy_run&gt; exit<br />
root@mydb #</p>
<p>root@mydb # svcs -a | grep -i oracle<br />
root@mydb #</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=247</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solaris FTP chroot on Netapp mounted filesystem</title>
		<link>http://www.tuqix.org/wordpress/?p=242</link>
		<comments>http://www.tuqix.org/wordpress/?p=242#comments</comments>
		<pubDate>Fri, 25 Feb 2011 15:59:58 +0000</pubDate>
		<dc:creator>Dave</dc:creator>
				<category><![CDATA[Solaris]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.tuqix.org/wordpress/?p=242</guid>
		<description><![CDATA[Solaris, setting up chroot FTP ftpconfig: Error: Creation of devices  on a Netapp filesystem <a href="http://www.tuqix.org/wordpress/?p=242">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>When setting up Solaris chroot FTP where the user&#8217;s home directory is on a NFS mounted Netapp filesystem you may encounter an error when doing ftpconfig :-</p>
<p>myhost# ftpconfig  -d  /input/jblogs</p>
<p>Updating directory /input/jblogs<br />
ftpconfig: Error: Creation of devices in /input/jblogs/dev failed</p>
<p>To be able to run mknod to create devices ( which the ftpconfig does ) requires the Netapp volume to be exported with setuid  enabled.</p>
<p>Even though the mount command on Solaris seemed to show that setuid was set on the mount &#8211; the volume on the Netapp server had not been exported with setuid.</p>
<p>You don&#8217;t have to mount and remount the filesytem.</p>
<p>For security you should turn off setuid once you have finished doing your ftpconfig</p>
]]></content:encoded>
			<wfw:commentRss>http://www.tuqix.org/wordpress/?feed=rss2&#038;p=242</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

