<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Kill a socket that does not have a bg device in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889557#M46374</link>
    <description>&lt;P&gt;Turns out the remote client was refusing to close any connections due to a prompt being left open asking the user if they wanted to close the connection and upon being forceably powered off the lingering socket has closed properly.&lt;/P&gt;&lt;P&gt;I will inform our customer of the available patch &amp;amp; work to get all of their systems patched.&lt;/P&gt;&lt;P&gt;We are unable to add the resuse as we are using the process to have virtual terminals for our application and blocking on duplicate name error is an additional safe guard.&lt;/P&gt;</description>
    <pubDate>Fri, 19 Aug 2016 10:37:06 GMT</pubDate>
    <dc:creator>stephenbrayshaw</dc:creator>
    <dc:date>2016-08-19T10:37:06Z</dc:date>
    <item>
      <title>Kill a socket that does not have a bg device</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889255#M46371</link>
      <description>&lt;P&gt;I have an issue where I have a socket stuck in FIN_WAIT_1 that does not have a BG device.&lt;/P&gt;&lt;P&gt;I found it through tcpip netstat -a&lt;/P&gt;&lt;P&gt;how can I kill it?&lt;/P&gt;&lt;P&gt;the line is&lt;/P&gt;&lt;P&gt;tcp &amp;nbsp; &amp;nbsp;0 &amp;nbsp; &amp;nbsp; 62010 &amp;nbsp; &amp;nbsp; JANE.4101 &amp;nbsp; &amp;nbsp; 10.4.20.106.51425 &amp;nbsp; &amp;nbsp; FIN_WAIT_1&lt;/P&gt;&lt;P&gt;I am running Itanium OpenVMS 8.4&amp;nbsp;TCPIP V5.7-13ECO2&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 15:44:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889255#M46371</guid>
      <dc:creator>stephenbrayshaw</dc:creator>
      <dc:date>2016-08-16T15:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a socket that does not have a bg device</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889382#M46372</link>
      <description>&lt;P&gt;I hope in advance that you may find this helpful:&lt;/P&gt;&lt;P&gt;My suggestion would be within TCPIP, to show services (*) and see if you do find a service associated with port 4101.&amp;nbsp; Then if willing, disable or set no service on the service found to be associated with port 4101, Stop, Test - Systems, etc... and then add the service back in as before.&amp;nbsp;&amp;nbsp; It'd be important to save the results of sho service X to reinstate (Set Service Enable) again.&lt;/P&gt;&lt;P&gt;This suggestion is based on being able to see a single correlation with the port and service, where the found service is X above.&lt;/P&gt;&lt;P&gt;I'd proceed with caution, but the above may help or lead you to another solution path to see further into why FIN_WAIT_1 status is there.&lt;/P&gt;&lt;P&gt;Kip&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 19:21:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889382#M46372</guid>
      <dc:creator>KIP</dc:creator>
      <dc:date>2016-08-16T19:21:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a socket that does not have a bg device</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889387#M46373</link>
      <description>&lt;P&gt;TCP/IP Services ECO5 is available. &amp;nbsp;The application code involved looks broken, or some firewall stomped on something. &amp;nbsp; FIN-WAIT-1 means the local app has started the socket close handshake, but the remote end hasn't answered. &amp;nbsp;&lt;/P&gt;&lt;P&gt;That's if&amp;nbsp;tcp_msl hasn't cleared this by now — that usually clears in a minute or three, too. &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Might also try SO_REUSEADDR and SO_REUSEPORT&amp;nbsp;on a somewhat recoded application socket request, as I'm guessing that you're getting stuck with a conflict here.&lt;/P&gt;&lt;P&gt;AFAIK, there's no way to clear that if the timers haven't done so already, short of a reboot.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe use your reboot of at least TCP/IP Services to load the current patch?&lt;/P&gt;&lt;P&gt;Related reading:&lt;/P&gt;&lt;P&gt;&lt;A href="http://h71000.www7.hp.com/openvms/journal/v3/tcpip.pdf" target="_blank"&gt;http://h71000.www7.hp.com/openvms/journal/v3/tcpip.pdf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Aug 2016 19:32:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889387#M46373</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2016-08-16T19:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: Kill a socket that does not have a bg device</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889557#M46374</link>
      <description>&lt;P&gt;Turns out the remote client was refusing to close any connections due to a prompt being left open asking the user if they wanted to close the connection and upon being forceably powered off the lingering socket has closed properly.&lt;/P&gt;&lt;P&gt;I will inform our customer of the available patch &amp;amp; work to get all of their systems patched.&lt;/P&gt;&lt;P&gt;We are unable to add the resuse as we are using the process to have virtual terminals for our application and blocking on duplicate name error is an additional safe guard.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Aug 2016 10:37:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/kill-a-socket-that-does-not-have-a-bg-device/m-p/6889557#M46374</guid>
      <dc:creator>stephenbrayshaw</dc:creator>
      <dc:date>2016-08-19T10:37:06Z</dc:date>
    </item>
  </channel>
</rss>

