<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Kommentarer til: Could not dupe: Bad file descriptor</title>
	<atom:link href="http://hovenko.no/blog/2009/09/08/could-not-dupe-bad-file-descriptor/feed/" rel="self" type="application/rss+xml" />
	<link>https://hovenko.no/blog/2009/09/08/could-not-dupe-bad-file-descriptor/</link>
	<description>En blogg av Knut-Olav</description>
	<lastBuildDate>Thu, 02 Sep 2021 20:06:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Knut-Olav</title>
		<link>https://hovenko.no/blog/2009/09/08/could-not-dupe-bad-file-descriptor/comment-page-1/#comment-11149</link>
		<dc:creator>Knut-Olav</dc:creator>
		<pubDate>Fri, 02 Jul 2010 19:24:59 +0000</pubDate>
		<guid isPermaLink="false">http://hovenko.no/blog/?p=348#comment-11149</guid>
		<description>Thanks for the tip, I will give it a try!</description>
		<content:encoded><![CDATA[<p>Thanks for the tip, I will give it a try!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mmm</title>
		<link>https://hovenko.no/blog/2009/09/08/could-not-dupe-bad-file-descriptor/comment-page-1/#comment-11013</link>
		<dc:creator>mmm</dc:creator>
		<pubDate>Tue, 08 Jun 2010 10:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://hovenko.no/blog/?p=348#comment-11013</guid>
		<description>I solved such issue the following way:
Open file /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/SSH2.pm

in subroutine &quot;_dup&quot; comment out line with &quot;die&quot;:
-- begin --
    #open ($dup, $str) or die &quot;Could not dupe: $!\n&quot;; ## no critic
    open $dup, $str;
-- end --

Actually, my app worked fine on some old linux, there was Net::SSH::Perl version 1.38 installed. On new server Net::SSH::Perl is 1.47 version and there was no such check (i mean &quot;or die&quot;) in the old version.</description>
		<content:encoded><![CDATA[<p>I solved such issue the following way:<br />
Open file /usr/lib/perl5/site_perl/5.8.8/Net/SSH/Perl/SSH2.pm</p>
<p>in subroutine &#8220;_dup&#8221; comment out line with &#8220;die&#8221;:<br />
&#8211; begin &#8211;<br />
    #open ($dup, $str) or die &#8220;Could not dupe: $!\n&#8221;; ## no critic<br />
    open $dup, $str;<br />
&#8211; end &#8211;</p>
<p>Actually, my app worked fine on some old linux, there was Net::SSH::Perl version 1.38 installed. On new server Net::SSH::Perl is 1.47 version and there was no such check (i mean &#8220;or die&#8221;) in the old version.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
