<?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: copy socket over remsh??? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920020#M109279</link>
    <description>Looks like syntax to me .. using the example you gave, try this instead ..&lt;BR /&gt;# (find . -depth -xdev |cpio -oBmudxvl) | remsh &lt;HOST&gt; "cd /tmp; cpio -iBmudxvl"&lt;BR /&gt;The "(" and ")" I think is critical, having single or double quotes would not matter I think.&lt;BR /&gt;The syntax I've always used to cpio across different systems is this .. &lt;BR /&gt;# (find &lt;SOURCE_PATH&gt; -xdev|cpio -coax) | remsh &lt;DEST_MACH&gt;;cpio -icdmuxla"&lt;BR /&gt;&lt;/DEST_MACH&gt;&lt;/SOURCE_PATH&gt;&lt;/HOST&gt;</description>
    <pubDate>Wed, 05 Mar 2003 17:47:54 GMT</pubDate>
    <dc:creator>S.K. Chan</dc:creator>
    <dc:date>2003-03-05T17:47:54Z</dc:date>
    <item>
      <title>copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920019#M109278</link>
      <description>I am trying to copy the contents of a directory to another hosts.  In the directory there are sockets that I want to copy as well.  I have tried using fbackup to copy this, however, the frecover does not recover the socket file.  Currently, I am experimenting with cpio using the -x option but still have not had any success.  Here is the command that I am using find . -depth -xdev |cpio -oBmudxvl | remsh &lt;HOST&gt; 'cd /tmp; cpio -iBmudxvl'&lt;BR /&gt;Please advise any suggestions to copy socket files to a different host.  Thanks.&lt;/HOST&gt;</description>
      <pubDate>Wed, 05 Mar 2003 17:33:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920019#M109278</guid>
      <dc:creator>Tony Kuehn</dc:creator>
      <dc:date>2003-03-05T17:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920020#M109279</link>
      <description>Looks like syntax to me .. using the example you gave, try this instead ..&lt;BR /&gt;# (find . -depth -xdev |cpio -oBmudxvl) | remsh &lt;HOST&gt; "cd /tmp; cpio -iBmudxvl"&lt;BR /&gt;The "(" and ")" I think is critical, having single or double quotes would not matter I think.&lt;BR /&gt;The syntax I've always used to cpio across different systems is this .. &lt;BR /&gt;# (find &lt;SOURCE_PATH&gt; -xdev|cpio -coax) | remsh &lt;DEST_MACH&gt;;cpio -icdmuxla"&lt;BR /&gt;&lt;/DEST_MACH&gt;&lt;/SOURCE_PATH&gt;&lt;/HOST&gt;</description>
      <pubDate>Wed, 05 Mar 2003 17:47:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920020#M109279</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2003-03-05T17:47:54Z</dc:date>
    </item>
    <item>
      <title>Re: copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920021#M109280</link>
      <description>You dont need to copy sockets. &lt;BR /&gt;Sockets files will be created by programs as they need.</description>
      <pubDate>Wed, 05 Mar 2003 17:55:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920021#M109280</guid>
      <dc:creator>Carlos Fernandez Riera</dc:creator>
      <dc:date>2003-03-05T17:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920022#M109281</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to be honest, I never dealt with sockets directly, but ....&lt;BR /&gt;&lt;BR /&gt;What about transfering files, directories and links as you described, and do the sockets in a second run like&lt;BR /&gt;&lt;BR /&gt;find . -type s -exec remsh_sript_that_creates_socket {} \;&lt;BR /&gt;&lt;BR /&gt;... in which you put in what creates your socket ?&lt;BR /&gt;&lt;BR /&gt;Volker&lt;BR /&gt;&lt;BR /&gt;P.S.&lt;BR /&gt;BTW, I would not mind, if someone gives me a hint how those are created. Google return a hell of references what to do if "mySQL" connot create it's socket, but it did not tell what to do if I ca not :-)</description>
      <pubDate>Wed, 05 Mar 2003 17:56:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920022#M109281</guid>
      <dc:creator>Volker Borowski</dc:creator>
      <dc:date>2003-03-05T17:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920023#M109282</link>
      <description>S.K. - I tried your suggestions, however, I still get the error "socket &lt;EGD-POOL&gt; not backed up".&lt;BR /&gt;&lt;BR /&gt;Carlos - Thats what I thought, however, I have not been able to get the application to start without this socket&lt;BR /&gt;&lt;BR /&gt;Volker - I am not sure how the application creates the socket else that would be a very good idea.&lt;/EGD-POOL&gt;</description>
      <pubDate>Wed, 05 Mar 2003 18:01:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920023#M109282</guid>
      <dc:creator>Tony Kuehn</dc:creator>
      <dc:date>2003-03-05T18:01:33Z</dc:date>
    </item>
    <item>
      <title>Re: copy socket over remsh???</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920024#M109283</link>
      <description>Looking at the user id that runs the application found it's shell is set to /bin/false.  I gave this a valid shell and application started and the socket was created.  Thanks for all your suggestions.</description>
      <pubDate>Wed, 05 Mar 2003 18:06:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/copy-socket-over-remsh/m-p/2920024#M109283</guid>
      <dc:creator>Tony Kuehn</dc:creator>
      <dc:date>2003-03-05T18:06:20Z</dc:date>
    </item>
  </channel>
</rss>

