<?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>MemoSoup &#187; error</title>
	<atom:link href="http://www.memosoup.com/tag/error/feed" rel="self" type="application/rss+xml" />
	<link>http://www.memosoup.com</link>
	<description>Mix of the things I always forget</description>
	<lastBuildDate>Tue, 07 Feb 2012 00:03:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Perl: Soap deserialization error</title>
		<link>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html</link>
		<comments>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html#comments</comments>
		<pubDate>Fri, 29 Jul 2011 13:08:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Perl]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[soap]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=423</guid>
		<description><![CDATA[<p>Sometimes the following error is displayed, if application uses the old version of CPAN SOAP module: &#8220;Client Application failed during request deserialization: no element found at line 1, column 0, byte -1 at XML/Parser.pm&#8221;</p> <p>The possilbe solution is to change SOAP::Transport::HTTP module (SOAP/Transport/HTTP.pm), function &#8220;handle&#8221;:</p> sysread&#40; STDIN, $buffer, $length &#41; <p>should be replaced by</p> read&#40; [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes the following error is displayed, if application uses the old version of CPAN SOAP module:<br />
<em>&#8220;Client Application failed during request deserialization: no element found at line 1, column 0, byte -1 at XML/Parser.pm&#8221;</em></p>
<p>The possilbe solution is to change SOAP::Transport::HTTP module (SOAP/Transport/HTTP.pm), function &#8220;handle&#8221;:</p>
<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://perldoc.perl.org/functions/sysread.html"><span style="color: #000066;">sysread</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000000; font-weight: bold;">STDIN</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$buffer</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$length</span> <span style="color: #009900;">&#41;</span></div></div>
<p>should be replaced by</p>
<div class="codecolorer-container perl default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="perl codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><a href="http://perldoc.perl.org/functions/read.html"><span style="color: #000066;">read</span></a><span style="color: #009900;">&#40;</span> <span style="color: #000000; font-weight: bold;">STDIN</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$buffer</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">$length</span> <span style="color: #009900;">&#41;</span></div></div>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20110729%2Fperl-soap-deserialization-error.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20110729/perl-soap-deserialization-error.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Perl: Soap deserialization error" data-url="http://www.memosoup.com/20110729/perl-soap-deserialization-error.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20110729/perl-soap-deserialization-error.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Search for Oracle errors in the alert log</title>
		<link>http://www.memosoup.com/20090912/search-for-oracle-errors-in-the-alert-log.html</link>
		<comments>http://www.memosoup.com/20090912/search-for-oracle-errors-in-the-alert-log.html#comments</comments>
		<pubDate>Sat, 12 Sep 2009 15:43:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[log]]></category>

		<guid isPermaLink="false">http://www.memosoup.com/?p=55</guid>
		<description><![CDATA[<p>Search for Oracle errors in the last $NUM lines.</p> NUM=1000 SIGNAL_LIST='^(...-&#124;Error&#124;Starting.*instance)&#124;terminating instance' tail -$NUM alert_${ORACLE_SID}.log &#124; awk ' BEGIN {prev=&#34;&#34; ; ret=1 } /'&#34;$SIGNAL_LIST&#34;'/ { if ( prev !~ /'&#34;$SIGNAL_LIST&#34;'/ ) { print &#34;&#34; ; print prev;} print $0;ret=0} {prev=$0} END { exit ret } ' <p>On Unix Oracle alert log is normally located in [...]]]></description>
			<content:encoded><![CDATA[<p>Search for Oracle errors in the last $NUM lines.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:100%;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #007800;">NUM</span>=<span style="color: #000000;">1000</span><br />
<span style="color: #007800;">SIGNAL_LIST</span>=<span style="color: #ff0000;">'^(...-|Error|Starting.*instance)|terminating instance'</span><br />
<br />
<span style="color: #c20cb9; font-weight: bold;">tail</span> -<span style="color: #007800;">$NUM</span> alert_<span style="color: #800000;">${ORACLE_SID}</span>.log <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'<br />
BEGIN {prev=&quot;&quot; ; ret=1 } <br />
/'</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$SIGNAL_LIST</span>&quot;</span><span style="color: #ff0000;">'/ { if ( prev !~ /'</span><span style="color: #ff0000;">&quot;<span style="color: #007800;">$SIGNAL_LIST</span>&quot;</span><span style="color: #ff0000;">'/ ) { print &quot;&quot; ; print prev;} print $0;ret=0} <br />
{prev=$0} <br />
END { exit ret } '</span></div></div>
<p>On Unix Oracle alert log is normally located in bdump/alert_{ORACLE_SID}.log</p>
<div style="height:33px; padding-top:2px; padding-bottom:2px; clear:both;" class="zare366"><div style="float:left; width:100px; " class="zare366_facebook_like"> 
				<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.memosoup.com%2F20090912%2Fsearch-for-oracle-errors-in-the-alert-log.html&amp;layout=button_count&amp;show_faces=false&amp;width=100&amp;action=like&amp;colorscheme=light&amp;height=27" 
					scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:100px; height:27px;" allowTransparency="true"></iframe>
			</div><div style="float:left; width:90px; padding-left:10px;" class="zare366_google1"> 
				<g:plusone size="medium" href="http://www.memosoup.com/20090912/search-for-oracle-errors-in-the-alert-log.html" ></g:plusone>
			</div><div style="float:left; width:110px; padding-left:10px;" class="zare366_twitter"> 
				<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" 
					data-text="Search for Oracle errors in the alert log" data-url="http://www.memosoup.com/20090912/search-for-oracle-errors-in-the-alert-log.html">Tweet</a> 
			</div></div>
		<div style="display:none;"><a href="http://www.news365live.com">news and informations</a>&nbsp;<a href="http://news365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a><a href="http://worldnews365online.com">automotive,business,crime,health,life,politics,science,technology,travel</a></div><div style="clear:both;"></div>]]></content:encoded>
			<wfw:commentRss>http://www.memosoup.com/20090912/search-for-oracle-errors-in-the-alert-log.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

