<?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/"
	>

<channel>
	<title>generic blog of schmidi2</title>
	<atom:link href="http://schmidi2.blog.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://schmidi2.blog.com</link>
	<description></description>
	<pubDate>Wed, 06 May 2009 18:49:15 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>samba problem after migration from debian etch to lenny: NT_STATUS_OBJECT_NAME_NOT_FOUND</title>
		<link>http://schmidi2.blog.com/2009/05/06/samba-problem-after-migration-from-debian-etch-to-lenny-nt_status_object_name_not_found/</link>
		<comments>http://schmidi2.blog.com/2009/05/06/samba-problem-after-migration-from-debian-etch-to-lenny-nt_status_object_name_not_found/#comments</comments>
		<pubDate>Wed, 06 May 2009 18:49:15 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[etch]]></category>

		<category><![CDATA[lenny]]></category>

		<category><![CDATA[nt_status_object_name_not_found]]></category>

		<category><![CDATA[samba]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Samba moslty makes problems to me after updates which are hard to solve.<br />
<br />
Last night I upgraded our company filesserver from debian entch to lenny. After a short test with my linux client and on my windows terminalserver, it seemed to work correctly. Well, this was quiet different the next morning.<br />
<br />
<br />
<strong>Problem</strong><br />
The next day after the upgrade from debian etch to lenny, some guys were able to use all shares of the fileservers, others were not (those were a little angry).<br />
<br />
<br />
<strong>Find cause</strong><br />
To debug the problem, add following two lines to your /etc/samba/smb.conf<br />
<br />
log level = 3<br />
log file = /tmp/samba.log<br />
<br />
Now watch the logfile while you access the the share. This is my log:<br />
<br />
...<br />
[2009/05/06 18:34:50, 3] smbd/process.c:process_smb(1549)<br />
&#160;Transaction 328 of length 128 (0 toread)<br />
[2009/05/06 18:34:50, 3] smbd/process.c:switch_message(1361)<br />
&#160;switch message SMBtrans2 (pid 13791) conn 0x96ff070<br />
[2009/05/06 18:34:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(3939)<br />
&#160;call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004<br />
[2009/05/06 18:34:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(3993)<br />
&#160;call_trans2qfilepathinfo: SMB_VFS_STAT of shell32.dll failed (No such file or directory)<br />
[2009/05/06 18:34:50, 3] smbd/error.c:reply_unix_error(154)<br />
&#160;unix_error_packet: error string = No such file or directory<br />
[2009/05/06 18:34:50, 3] smbd/error.c:error_packet_set(61)<br />
&#160;error packet at smbd/trans2.c(3994) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND<br />
...<br />
<br />
<br />
== To solve ==<br />
<br />
Now, Mr. Google said following after I searched for NT_STATUS_OBJECT_NAME_NOT_FOUND:<br />
http://lists-archives.org/samba/30781-error-when-upgrading-to-samba-3-0-25b-nt_status_object_path_not_found.html<br />
<br />
Well, in the last message of the thread, following can be read:<br />
&#38;gt; A reboot in the Windows PCs was the solution.<br />
<br />
<br />
Quit strange cause just one of the angry users didn't shut down the pc over night. So I rebooted first my linux machine. Then all windows users had to reboot and some of them also had to manually delete all saved networkdrives (like k:) and restart the logon-script. The problem was vanished.<br />
<br />
<br />
<strong>Not to forget</strong><br />
<br />
If the samba server was upgraded, always REBOOT the windows machines and manually DELETE and RECREATE the specific networkdrives.
]]></description>
			<content:encoded><![CDATA[<div>Samba moslty makes problems to me after updates which are hard to solve.</p>
<p>Last night I upgraded our company filesserver from debian entch to lenny. After a short test with my linux client and on my windows terminalserver, it seemed to work correctly. Well, this was quiet different the next morning.</p>
<p>
<strong>Problem</strong><br />
The next day after the upgrade from debian etch to lenny, some guys were able to use all shares of the fileservers, others were not (those were a little angry).</p>
<p>
<strong>Find cause</strong><br />
To debug the problem, add following two lines to your /etc/samba/smb.conf</p>
<p>log level = 3<br />
log file = /tmp/samba.log</p>
<p>Now watch the logfile while you access the the share. This is my log:</p>
<p>&#8230;<br />
[2009/05/06 18:34:50, 3] smbd/process.c:process_smb(1549)<br />
&#160;Transaction 328 of length 128 (0 toread)<br />
[2009/05/06 18:34:50, 3] smbd/process.c:switch_message(1361)<br />
&#160;switch message SMBtrans2 (pid 13791) conn 0&#215;96ff070<br />
[2009/05/06 18:34:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(3939)<br />
&#160;call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004<br />
[2009/05/06 18:34:50, 3] smbd/trans2.c:call_trans2qfilepathinfo(3993)<br />
&#160;call_trans2qfilepathinfo: SMB_VFS_STAT of shell32.dll failed (No such file or directory)<br />
[2009/05/06 18:34:50, 3] smbd/error.c:reply_unix_error(154)<br />
&#160;unix_error_packet: error string = No such file or directory<br />
[2009/05/06 18:34:50, 3] smbd/error.c:error_packet_set(61)<br />
&#160;error packet at smbd/trans2.c(3994) cmd=50 (SMBtrans2) NT_STATUS_OBJECT_NAME_NOT_FOUND<br />
&#8230;</p>
<p>
== To solve ==</p>
<p>Now, Mr. Google said following after I searched for NT_STATUS_OBJECT_NAME_NOT_FOUND:<br />
http://lists-archives.org/samba/30781-error-when-upgrading-to-samba-3-0-25b-nt_status_object_path_not_found.html</p>
<p>Well, in the last message of the thread, following can be read:<br />
&amp;gt; A reboot in the Windows PCs was the solution.</p>
<p>
Quit strange cause just one of the angry users didn&#8217;t shut down the pc over night. So I rebooted first my linux machine. Then all windows users had to reboot and some of them also had to manually delete all saved networkdrives (like k:) and restart the logon-script. The problem was vanished.</p>
<p>
<strong>Not to forget</strong></p>
<p>If the samba server was upgraded, always REBOOT the windows machines and manually DELETE and RECREATE the specific networkdrives.
</p></div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2009/05/06/samba-problem-after-migration-from-debian-etch-to-lenny-nt_status_object_name_not_found/feed/</wfw:commentRss>
		</item>
		<item>
		<title>LimeSurvey - Language cannot be changed (unchangeable)</title>
		<link>http://schmidi2.blog.com/2008/11/01/limesurvey-language-cannot-be-changed-unchangeable/</link>
		<comments>http://schmidi2.blog.com/2008/11/01/limesurvey-language-cannot-be-changed-unchangeable/#comments</comments>
		<pubDate>Sat, 01 Nov 2008 22:13:09 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[language unchangeable]]></category>

		<category><![CDATA[limesurvey]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>If you want to change the language in LimeSurvey but nothing happens, you have to set the following configuration parameter (in config.php):</p>
<p><strong>$translationmode = 1;</strong></p>
<p>This strange "workaround" is required when your php installation has some bug (don't ask me).</p>
<p>Much time has cost me to find this solution.</p>
<p>Source:<br />
<a href="http://www.limesurvey.org/index.php/de/Deutsches-Forum/20128-ReGerman-eingestellt-aber-alles-noch-in-Englisch.html" target="_blank">http://www.limesurvey.org/index.php/de/Deutsches-Forum/20128-ReGerman-eingestellt-aber-alles-noch-in-Englisch.html</a><br />
<a href="http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung" target="_blank">http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung</a><br /></p>

]]></description>
			<content:encoded><![CDATA[<div>
<p>If you want to change the language in LimeSurvey but nothing happens, you have to set the following configuration parameter (in config.php):</p>
<p><strong>$translationmode = 1;</strong></p>
<p>This strange &#8220;workaround&#8221; is required when your php installation has some bug (don&#8217;t ask me).</p>
<p>Much time has cost me to find this solution.</p>
<p>Source:<br />
<a href="http://www.limesurvey.org/index.php/de/Deutsches-Forum/20128-ReGerman-eingestellt-aber-alles-noch-in-Englisch.html" target="_blank">http://www.limesurvey.org/index.php/de/Deutsches-Forum/20128-ReGerman-eingestellt-aber-alles-noch-in-Englisch.html</a><br />
<a href="http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung" target="_blank">http://docs.limesurvey.org/tiki-index.php?page=Installationsanleitung</a></p>
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/11/01/limesurvey-language-cannot-be-changed-unchangeable/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Simple autologin per SSH</title>
		<link>http://schmidi2.blog.com/2008/09/18/simple-autologin-per-ssh/</link>
		<comments>http://schmidi2.blog.com/2008/09/18/simple-autologin-per-ssh/#comments</comments>
		<pubDate>Thu, 18 Sep 2008 14:49:36 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[ssh autologin]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[To allow login per SSH without entering the password, execute with the asked user following commands (one line) on the client-machine:<br />
(replace &#60;REMOTESERVER&#62; with the ip/hostname of your remote server)<br />
<br />
<em>cat ~/.ssh/id_rsa.pub &#124; ssh root@&#60;REMOTESERVER&#62; 'mkdir ~/.ssh/ 2&#62;/dev/null ; cat &#62;&#62; ~/.ssh/authorized_keys ; cat ~/.ssh/authorized_keys &#124; uniq &#62; ~/.ssh/authorized_keys.tmp ; mv ~/.ssh/authorized_keys.tmp ~/.ssh/authorized_keys'</em><br />
<br />
If you get the error <strong>File "~/.ssh/id_rsa.pub" not found</strong> cancel with CTRL+C, execute command ssh-keygen and just hit enter to response questions. After that, call the first command again.
]]></description>
			<content:encoded><![CDATA[<div>To allow login per SSH without entering the password, execute with the asked user following commands (one line) on the client-machine:<br />
(replace &lt;REMOTESERVER&gt; with the ip/hostname of your remote server)</p>
<p><em>cat ~/.ssh/id_rsa.pub | ssh root@&lt;REMOTESERVER&gt; &#8216;mkdir ~/.ssh/ 2&gt;/dev/null ; cat &gt;&gt; ~/.ssh/authorized_keys ; cat ~/.ssh/authorized_keys | uniq &gt; ~/.ssh/authorized_keys.tmp ; mv ~/.ssh/authorized_keys.tmp ~/.ssh/authorized_keys&#8217;</em></p>
<p>If you get the error <strong>File &#8220;~/.ssh/id_rsa.pub&#8221; not found</strong> cancel with CTRL+C, execute command ssh-keygen and just hit enter to response questions. After that, call the first command again.
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/09/18/simple-autologin-per-ssh/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The VMware VmPerl Scripting API was not installed</title>
		<link>http://schmidi2.blog.com/2008/07/29/the-vmware-vmperl-scripting-api-was-not-installed/</link>
		<comments>http://schmidi2.blog.com/2008/07/29/the-vmware-vmperl-scripting-api-was-not-installed/#comments</comments>
		<pubDate>Tue, 29 Jul 2008 15:24:36 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[VmPerl Scripting API]]></category>

		<category><![CDATA[VMware]]></category>

		<category><![CDATA[vmware-config]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<b>Error</b><br />
<br />
# vmware-config.pl<br />
<i>The VMware VmPerl Scripting API was not installed.&#160; Errors encountered during<br />
compilation and installation of the module can be found here:<br />
/tmp/vmware-config0<br />
<br />
You will not be able to use the "vmware-cmd" program.<br />
<br />
Errors can be found in the log file:<br />
'/tmp/vmware-config0/control-only/make.log'</i><br />
<br />
<br />
<b>Solution</b><br />
# apt-get update<br />
# apt-get install libssl-dev<br />
<br />
Following packages are now new installed on the system:<br />
libc6-dev libssl-dev linux-kernel-headers zlib1g-dev<br />
<br />
# vmware-config.pl<br />
<br />
After vmware is now properly configured, you can savely remove those packages again (but - <a target="_blank" href="http://www.youtube.com/watch?v=4oZYqAeIdYk">let it be</a>).<br />
<br />
<b>Source</b><br />
http://www.linuxquestions.org/questions/linux-software-2/vmware-server-install-error-the-vmware-vmperl-scripting-api-was-not-installed.-476129/
]]></description>
			<content:encoded><![CDATA[<div><b>Error</b></p>
<p># vmware-config.pl<br />
<i>The VMware VmPerl Scripting API was not installed.&#160; Errors encountered during<br />
compilation and installation of the module can be found here:<br />
/tmp/vmware-config0</p>
<p>You will not be able to use the &#8220;vmware-cmd&#8221; program.</p>
<p>Errors can be found in the log file:<br />
&#8216;/tmp/vmware-config0/control-only/make.log&#8217;</i></p>
<p>
<b>Solution</b><br />
# apt-get update<br />
# apt-get install libssl-dev</p>
<p>Following packages are now new installed on the system:<br />
libc6-dev libssl-dev linux-kernel-headers zlib1g-dev</p>
<p># vmware-config.pl</p>
<p>After vmware is now properly configured, you can savely remove those packages again (but - <a target="_blank" href="http://www.youtube.com/watch?v=4oZYqAeIdYk">let it be</a>).</p>
<p><b>Source</b><br />
http://www.linuxquestions.org/questions/linux-software-2/vmware-server-install-error-the-vmware-vmperl-scripting-api-was-not-installed.-476129/
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/29/the-vmware-vmperl-scripting-api-was-not-installed/feed/</wfw:commentRss>
		</item>
		<item>
		<title>phpmyadmin: timeout occours when creating a backup of a mysql database</title>
		<link>http://schmidi2.blog.com/2008/07/28/phpmyadmin-timeout-occours-when-creating-a-backup-of-a-mysql-database/</link>
		<comments>http://schmidi2.blog.com/2008/07/28/phpmyadmin-timeout-occours-when-creating-a-backup-of-a-mysql-database/#comments</comments>
		<pubDate>Mon, 28 Jul 2008 13:52:59 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[Dump]]></category>

		<category><![CDATA[mysql]]></category>

		<category><![CDATA[mysqldumper]]></category>

		<category><![CDATA[Phpmyadmin]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[If PhpMyAdmin throws a timeout exception when you would want to make a mysql-dump (in GIBB, dump is called "dömp"), it's somewhat depressing. But there is a solution called MySqlDumper:<br />
<br />
<a class="moz-txt-link-abbreviated" href="http://www.mysqldumper.de/en/">www.mysqldumper.de/en/</a><br />
<br />
Unfortunately a typo3 extension doesn't exists yet.<br />
]]></description>
			<content:encoded><![CDATA[<div>If PhpMyAdmin throws a timeout exception when you would want to make a mysql-dump (in GIBB, dump is called &#8220;dömp&#8221;), it&#8217;s somewhat depressing. But there is a solution called MySqlDumper:</p>
<p><a class="moz-txt-link-abbreviated" href="http://www.mysqldumper.de/en/">www.mysqldumper.de/en/</a></p>
<p>Unfortunately a typo3 extension doesn&#8217;t exists yet.
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/28/phpmyadmin-timeout-occours-when-creating-a-backup-of-a-mysql-database/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Bash for-loop should ignore space-characters</title>
		<link>http://schmidi2.blog.com/2008/07/23/bash-for-loop-should-ignore-space-characters/</link>
		<comments>http://schmidi2.blog.com/2008/07/23/bash-for-loop-should-ignore-space-characters/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 17:31:59 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[bash]]></category>

		<category><![CDATA[for-loop]]></category>

		<category><![CDATA[space character]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>If you wanna to someting like this:</p>
<p>&#160;</p>
<p><em>for I in $(zgrep -H "from=&#60;test@google.com&#62;" /var/logs/*.gz 2&#62;/dev/null)<br />
do<br />
&#160; LOG_FILE="`echo $I &#124; cut -d ':' -f 1`"<br />
&#160; DATETIME="`echo $I &#124; cut -d ':' -f 2-4 &#124; cut -d ' ' -f 1-3`"<br />
&#160; MAILID="`echo $I &#124; cut -d ':' -f 5 &#124; cut -d ' ' -f 2`"<br />
&#160; RECIPIENT_ADDR="`zgrep $MAILID $LOG_FILE &#124; grep 'to=' &#124; cut -d '&#60;' -f 2 &#124; cut -d '&#62;' -f 1`"<br />
&#160; echo "$DATETIME $RECIPIENT_ADDR"<br />
done</em><br /></p>
<p>You will notice sooner or later that this doesn't work this way: The for-loop doesn't only treat line-breaks as a new element but also space-characters. Well, how can that be solved, fast and easy. This way:</p>
<p>&#160;</p>
<p><em>zgrep -H "from=&#60;test@google.com&#62;" /var/logs/*.gz 2&#62;/dev/null &#124; while read I<br />
do<br />
&#160; LOG_FILE="`echo $I &#124; cut -d ':' -f 1`"<br />
&#160; DATETIME="`echo $I &#124; cut -d ':' -f 2-4 &#124; cut -d ' ' -f 1-3`"<br />
&#160; MAILID="`echo $I &#124; cut -d ':' -f 5 &#124; cut -d ' ' -f 2`"<br />
&#160; RECIPIENT_ADDR="`zgrep $MAILID $LOG_FILE &#124; grep 'to=' &#124; cut -d '&#60;' -f 2 &#124; cut -d '&#62;' -f 1`"<br />
&#160; echo "$DATETIME $RECIPIENT_ADDR"<br />
done</em><br /></p>

]]></description>
			<content:encoded><![CDATA[<div>
<p>If you wanna to someting like this:</p>
<p>&#160;</p>
<p><em>for I in $(zgrep -H &#8220;from=&lt;test@google.com&gt;&#8221; /var/logs/*.gz 2&gt;/dev/null)<br />
do<br />
&#160; LOG_FILE=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 1`&#8221;<br />
&#160; DATETIME=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 2-4 | cut -d &#8216; &#8216; -f 1-3`&#8221;<br />
&#160; MAILID=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 5 | cut -d &#8216; &#8216; -f 2`&#8221;<br />
&#160; RECIPIENT_ADDR=&#8221;`zgrep $MAILID $LOG_FILE | grep &#8216;to=&#8217; | cut -d &#8216;&lt;&#8217; -f 2 | cut -d &#8216;&gt;&#8217; -f 1`&#8221;<br />
&#160; echo &#8220;$DATETIME $RECIPIENT_ADDR&#8221;<br />
done</em></p>
<p>You will notice sooner or later that this doesn&#8217;t work this way: The for-loop doesn&#8217;t only treat line-breaks as a new element but also space-characters. Well, how can that be solved, fast and easy. This way:</p>
<p>&#160;</p>
<p><em>zgrep -H &#8220;from=&lt;test@google.com&gt;&#8221; /var/logs/*.gz 2&gt;/dev/null | while read I<br />
do<br />
&#160; LOG_FILE=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 1`&#8221;<br />
&#160; DATETIME=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 2-4 | cut -d &#8216; &#8216; -f 1-3`&#8221;<br />
&#160; MAILID=&#8221;`echo $I | cut -d &#8216;:&#8217; -f 5 | cut -d &#8216; &#8216; -f 2`&#8221;<br />
&#160; RECIPIENT_ADDR=&#8221;`zgrep $MAILID $LOG_FILE | grep &#8216;to=&#8217; | cut -d &#8216;&lt;&#8217; -f 2 | cut -d &#8216;&gt;&#8217; -f 1`&#8221;<br />
&#160; echo &#8220;$DATETIME $RECIPIENT_ADDR&#8221;<br />
done</em></p>
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/23/bash-for-loop-should-ignore-space-characters/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Webminstats error: disk.pl 140 : bad output for blocs : procbususb</title>
		<link>http://schmidi2.blog.com/2008/07/15/webminstats-error-diskpl-140-bad-output-for-blocs-procbususb/</link>
		<comments>http://schmidi2.blog.com/2008/07/15/webminstats-error-diskpl-140-bad-output-for-blocs-procbususb/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 15:13:59 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[procbususb]]></category>

		<category><![CDATA[webmin]]></category>

		<category><![CDATA[webminstats]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p><strong>Error</strong></p>
<p><em>From: root@javatux.tup.local. (Cron Daemon)<br />
To: root@javatux.tup.local.<br />
Subject: Cron &#60;root@javatux&#62; /etc/webmin/sysstats/sysstats.pl<br />
Content-Type: text/plain; charset=UTF-8<br />
X-Cron-Env: &#60;SHELL=/bin/sh&#62;<br />
X-Cron-Env: &#60;HOME=/root&#62;<br />
X-Cron-Env: &#60;PATH=/usr/bin:/bin&#62;<br />
X-Cron-Env: &#60;LOGNAME=root&#62;<br />
Date: Tue, 15 Jul 2008 15:07:02 +0200<br />
Message-Id: &#60;1216127222.585803.27235.nullmailer@javatux.tup.local.&#62;<br />
<br />
WARNING (eval)(disk.pl 140) : bad output for blocs : procbususb 0 0 0 - /proc/bus/usb<br />
WARNING (eval)(disk.pl 195) : bad output for inodes : procbususb 0 0 0 - /proc/bus/usb<br />
<br /></em></p>
<p><strong>Solution</strong></p>
<p>Open webmin, goto webminstats and open the module "Disk". Then click on the link "configure module". Scroll down until you see the list with all watched filesystems. Deactivate the list-entry "/proc/bus/usb" or simply delete it.</p>

]]></description>
			<content:encoded><![CDATA[<div>
<p><strong>Error</strong></p>
<p><em>From: root@javatux.tup.local. (Cron Daemon)<br />
To: root@javatux.tup.local.<br />
Subject: Cron &lt;root@javatux&gt; /etc/webmin/sysstats/sysstats.pl<br />
Content-Type: text/plain; charset=UTF-8<br />
X-Cron-Env: &lt;SHELL=/bin/sh&gt;<br />
X-Cron-Env: &lt;HOME=/root&gt;<br />
X-Cron-Env: &lt;PATH=/usr/bin:/bin&gt;<br />
X-Cron-Env: &lt;LOGNAME=root&gt;<br />
Date: Tue, 15 Jul 2008 15:07:02 +0200<br />
Message-Id: &lt;1216127222.585803.27235.nullmailer@javatux.tup.local.&gt;</p>
<p>WARNING (eval)(disk.pl 140) : bad output for blocs : procbususb 0 0 0 - /proc/bus/usb<br />
WARNING (eval)(disk.pl 195) : bad output for inodes : procbususb 0 0 0 - /proc/bus/usb</p>
<p></em></p>
<p><strong>Solution</strong></p>
<p>Open webmin, goto webminstats and open the module &#8220;Disk&#8221;. Then click on the link &#8220;configure module&#8221;. Scroll down until you see the list with all watched filesystems. Deactivate the list-entry &#8220;/proc/bus/usb&#8221; or simply delete it.</p>
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/15/webminstats-error-diskpl-140-bad-output-for-blocs-procbususb/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VMware: does not contain the file &#8220;linux/version.h&#8221; as expected</title>
		<link>http://schmidi2.blog.com/2008/07/14/vmware-does-not-contain-the-file-linuxversionh-as-expected/</link>
		<comments>http://schmidi2.blog.com/2008/07/14/vmware-does-not-contain-the-file-linuxversionh-as-expected/#comments</comments>
		<pubDate>Mon, 14 Jul 2008 17:26:05 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[vmware version.h]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p><strong>Error:</strong></p>
<p>...<br />
The path "/usr/src/linux/include" is a kernel header file directory, but it&#160;</p>
does not contain the file "linux/version.h" as expected. This can happen if&#160;<br />
the kernel has never been built, or if you have invoked the "make mrproper"&#160;<br />
command in your kernel directory. In any case, you may want to rebuild your&#160;<br />
kernel.<br />
<br />
What is the location of the directory of C header files that match your running<br />
kernel? [/usr/src/linux/include]&#160;<br />
<br />
<br />
<strong>Solution</strong><br />
<p>Check if you have installed these packages (your kernel version may be different).</p>
<p>linux-headers-2.6-686<br />
linux-headers-2.6.18-6<br />
linux-headers-2.6.18-6-686<br />
linux-image-2.6-686<br />
linux-image-2.6.18-6-686<br />
linux-kbuild-2.6.18<br />
linux-kernel-headers</p>
<p>Following link must also exist:</p>
<p>ll /usr/src/<br />
...<br />
lrwxrwxrwx 1 root src 27 2008-07-14 13:16 linux -&#62; linux-headers-2.6.18-6-686/<br />
drwxr-xr-x 17 root root 4096 2008-07-14 13:12 linux-headers-2.6.18-6<br />
drwxr-xr-x 4 root root 4096 2008-07-14 13:15 linux-headers-2.6.18-6-686<br />
drwxr-xr-x 3 root root 4096 2007-06-04 21:03 linux-kbuild-2.6.18<br />
drwxrwsrwx 5 root src 4096 2007-06-04 21:09 vmware-server<br />
<br /></p>

]]></description>
			<content:encoded><![CDATA[<div>
<p><strong>Error:</strong></p>
<p>&#8230;<br />
The path &#8220;/usr/src/linux/include&#8221; is a kernel header file directory, but it&#160;</p>
<p>does not contain the file &#8220;linux/version.h&#8221; as expected. This can happen if&#160;<br />
the kernel has never been built, or if you have invoked the &#8220;make mrproper&#8221;&#160;<br />
command in your kernel directory. In any case, you may want to rebuild your&#160;<br />
kernel.</p>
<p>What is the location of the directory of C header files that match your running<br />
kernel? [/usr/src/linux/include]&#160;</p>
<p>
<strong>Solution</strong></p>
<p>Check if you have installed these packages (your kernel version may be different).</p>
<p>linux-headers-2.6-686<br />
linux-headers-2.6.18-6<br />
linux-headers-2.6.18-6-686<br />
linux-image-2.6-686<br />
linux-image-2.6.18-6-686<br />
linux-kbuild-2.6.18<br />
linux-kernel-headers</p>
<p>Following link must also exist:</p>
<p>ll /usr/src/<br />
&#8230;<br />
lrwxrwxrwx 1 root src 27 2008-07-14 13:16 linux -&gt; linux-headers-2.6.18-6-686/<br />
drwxr-xr-x 17 root root 4096 2008-07-14 13:12 linux-headers-2.6.18-6<br />
drwxr-xr-x 4 root root 4096 2008-07-14 13:15 linux-headers-2.6.18-6-686<br />
drwxr-xr-x 3 root root 4096 2007-06-04 21:03 linux-kbuild-2.6.18<br />
drwxrwsrwx 5 root src 4096 2007-06-04 21:09 vmware-server</p>
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/14/vmware-does-not-contain-the-file-linuxversionh-as-expected/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Webminstats error: sh: -S: invalid option in /etc/webmin/sysstats/sysstats.pl</title>
		<link>http://schmidi2.blog.com/2008/07/10/webminstats-error-sh-s-invalid-option-in-etcwebminsysstatssysstatspl/</link>
		<comments>http://schmidi2.blog.com/2008/07/10/webminstats-error-sh-s-invalid-option-in-etcwebminsysstatssysstatspl/#comments</comments>
		<pubDate>Thu, 10 Jul 2008 13:42:39 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[webmin]]></category>

		<category><![CDATA[webminstats]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[<p>After upgrading the webmin module "Webminstats" the cron-job started to send every three minutes an eMail like this one:</p>
<em>From: root@ (Cron Daemon)<br />
To: root@<br />
Subject: Cron /etc/webmin/sysstats/sysstats.pl<br />
Content-Type: text/plain; charset=ANSI_X3.4-1968<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
Date: Thu, 10 Jul 2008 13:24:02 +0200<br />
Message-Id: &#60;1215689042.170398.14108.nullmailer@&#62;<br />
X-MailCleaner-Information: Please contact server@t-p.com for more information<br />
X-MailCleaner: Found to be clean<br />
X-MailCleaner-SpamCheck: not spam, SpamAssassin (cached, score=-4.399,<br />
required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60)<br />
X-CTCH-RefID: str=0001.0A0B0201.4875F164.0098,ss=1,fgs=0<br />
X-cff-SpamScore: 0(/)<br />
X-cff-SpamReport: ----- ----- Message is unknown to the spam scanner.<br />
X-cff-LastScanner: av<br />
<br />
sh: -S: invalid option<br />
Usage: sh [GNU long option] [option] ...<br />
sh [GNU long option] [option] script-file ...<br />
GNU long options:<br />
--debug<br />
--debugger<br />
--dump-po-strings<br />
--dump-strings<br />
--help<br />
--init-file<br />
--login<br />
--noediting<br />
--noprofile<br />
--norc<br />
--posix<br />
--protected<br />
--rcfile<br />
--restricted<br />
--verbose<br />
--version<br />
--wordexp<br />
Shell options:<br />
-irsD or -c command or -O shopt_option (invocation only)<br />
-abefhkmnptuvxBCHP or -o option<br /></em><br />
<p>&#160;</p>
<p><strong>Solution</strong></p>
<p><em>The problem was only solved after I disabled the cronjob, then deleted the module (first make backup of /etc/webmin/sysstats/modules/ !!). After I reinstalled the same version of Webminstats and copy back the backup, the error didn't appear again (of corse you have to open the webminstats-page at least once for scanning an to reactivate the cronjob).<br /></em></p>
<p>It seams that is problem started after I made an update of webmin and webminstats. But on other machines I did the same update without receiving errors.</p>
<p>&#160;</p>

]]></description>
			<content:encoded><![CDATA[<div>
<p>After upgrading the webmin module &#8220;Webminstats&#8221; the cron-job started to send every three minutes an eMail like this one:</p>
<p><em>From: root@ (Cron Daemon)<br />
To: root@<br />
Subject: Cron /etc/webmin/sysstats/sysstats.pl<br />
Content-Type: text/plain; charset=ANSI_X3.4-1968<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
X-Cron-Env:<br />
Date: Thu, 10 Jul 2008 13:24:02 +0200<br />
Message-Id: &lt;1215689042.170398.14108.nullmailer@&gt;<br />
X-MailCleaner-Information: Please contact server@t-p.com for more information<br />
X-MailCleaner: Found to be clean<br />
X-MailCleaner-SpamCheck: not spam, SpamAssassin (cached, score=-4.399,<br />
required 5, ALL_TRUSTED -1.80, BAYES_00 -2.60)<br />
X-CTCH-RefID: str=0001.0A0B0201.4875F164.0098,ss=1,fgs=0<br />
X-cff-SpamScore: 0(/)<br />
X-cff-SpamReport: &#8212;&#8211; &#8212;&#8211; Message is unknown to the spam scanner.<br />
X-cff-LastScanner: av</p>
<p>sh: -S: invalid option<br />
Usage: sh [GNU long option] [option] &#8230;<br />
sh [GNU long option] [option] script-file &#8230;<br />
GNU long options:<br />
&#8211;debug<br />
&#8211;debugger<br />
&#8211;dump-po-strings<br />
&#8211;dump-strings<br />
&#8211;help<br />
&#8211;init-file<br />
&#8211;login<br />
&#8211;noediting<br />
&#8211;noprofile<br />
&#8211;norc<br />
&#8211;posix<br />
&#8211;protected<br />
&#8211;rcfile<br />
&#8211;restricted<br />
&#8211;verbose<br />
&#8211;version<br />
&#8211;wordexp<br />
Shell options:<br />
-irsD or -c command or -O shopt_option (invocation only)<br />
-abefhkmnptuvxBCHP or -o option<br /></em></p>
<p>&#160;</p>
<p><strong>Solution</strong></p>
<p><em>The problem was only solved after I disabled the cronjob, then deleted the module (first make backup of /etc/webmin/sysstats/modules/ !!). After I reinstalled the same version of Webminstats and copy back the backup, the error didn&#8217;t appear again (of corse you have to open the webminstats-page at least once for scanning an to reactivate the cronjob).<br /></em></p>
<p>It seams that is problem started after I made an update of webmin and webminstats. But on other machines I did the same update without receiving errors.</p>
<p>&#160;</p>
</div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/07/10/webminstats-error-sh-s-invalid-option-in-etcwebminsysstatssysstatspl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Opera: libjvm.so, libawt.so cannot be preloaded: ignored, libjava.so: No such file or directory</title>
		<link>http://schmidi2.blog.com/2008/05/17/opera-libjvmso-libawtso-cannot-be-preloaded-ignored-libjavaso-no-such-file-or-directory/</link>
		<comments>http://schmidi2.blog.com/2008/05/17/opera-libjvmso-libawtso-cannot-be-preloaded-ignored-libjavaso-no-such-file-or-directory/#comments</comments>
		<pubDate>Sat, 17 May 2008 19:11:32 +0000</pubDate>
		<dc:creator>schmidi2</dc:creator>
		
		<category><![CDATA[Java]]></category>

		<category><![CDATA[opera]]></category>

		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[When you start Opera over a&#160;console and&#160;get following errors, it means that&#160;you&#160;haven't configured the Java plugin into&#160;opera:<br />
<br />
<i>ERROR: ld.so: object 'libjvm.so' from LD_PRELOAD cannot be preloaded: ignored.<br />
ERROR: ld.so: object 'libawt.so' from LD_PRELOAD cannot be preloaded: ignored.<br />
opera: libjava.so: cannot open shared object file: No such file or directory</i><br />
<br />
If you wish to use Java in Opera, you have to install first the JRE, the Java Runtime Environment. In a Debian/Ubuntu system, just install the package "sun-java6-jre" (maybe you have to enable the "non-free" and "contrib" apt-get sources first).<br />
<br />
Next configure Opera:<br />
&#160;Select the menu "Tools" -&#62; "Preferences..."<br />
&#160;Goto Tab "Advanced" and select "Content"<br />
&#160;Activate checkbox "Enable Java"<br />
&#160;Klick on button "Java options...". You can now select the path to Java JRE<br />
<br />
In my case the Java Path was "/usr/lib/jvm/java-6-sun/jre/lib/i386"<br />
<br />
Restart ist required and now Java should work in Opera.
]]></description>
			<content:encoded><![CDATA[<div>When you start Opera over a&#160;console and&#160;get following errors, it means that&#160;you&#160;haven&#8217;t configured the Java plugin into&#160;opera:</p>
<p><i>ERROR: ld.so: object &#8216;libjvm.so&#8217; from LD_PRELOAD cannot be preloaded: ignored.<br />
ERROR: ld.so: object &#8216;libawt.so&#8217; from LD_PRELOAD cannot be preloaded: ignored.<br />
opera: libjava.so: cannot open shared object file: No such file or directory</i></p>
<p>If you wish to use Java in Opera, you have to install first the JRE, the Java Runtime Environment. In a Debian/Ubuntu system, just install the package &#8220;sun-java6-jre&#8221; (maybe you have to enable the &#8220;non-free&#8221; and &#8220;contrib&#8221; apt-get sources first).</p>
<p>Next configure Opera:<br />
&#160;Select the menu &#8220;Tools&#8221; -&gt; &#8220;Preferences&#8230;&#8221;<br />
&#160;Goto Tab &#8220;Advanced&#8221; and select &#8220;Content&#8221;<br />
&#160;Activate checkbox &#8220;Enable Java&#8221;<br />
&#160;Klick on button &#8220;Java options&#8230;&#8221;. You can now select the path to Java JRE</p>
<p>In my case the Java Path was &#8220;/usr/lib/jvm/java-6-sun/jre/lib/i386&#8243;</p>
<p>Restart ist required and now Java should work in Opera.
</p></div>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://schmidi2.blog.com/2008/05/17/opera-libjvmso-libawtso-cannot-be-preloaded-ignored-libjavaso-no-such-file-or-directory/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
