<?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: gtar script problem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012008#M128741</link>
    <description>one more thing.&lt;BR /&gt;&lt;BR /&gt;in shel scripts. functions goes at the top.&lt;BR /&gt;&lt;BR /&gt;before it is called.&lt;BR /&gt;&lt;BR /&gt;sshme () {&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sshme</description>
    <pubDate>Tue, 01 Jul 2003 12:27:22 GMT</pubDate>
    <dc:creator>Donny Jekels</dc:creator>
    <dc:date>2003-07-01T12:27:22Z</dc:date>
    <item>
      <title>gtar script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012006#M128739</link>
      <description>Hi,&lt;BR /&gt;I have a script(attached) which extracts SSH packages from the path /stor/common/src/makehost/DIST/hp9000/hpux/11.00/ssh/B.11.00. into the respective areas of the local machine i.e. /usr/bin, /etc.&lt;BR /&gt;&lt;BR /&gt;The path above is in the NFS area. However, when I executed the attached script, it produced the error shown below.&lt;BR /&gt;&lt;BR /&gt;Moreover, the function checkSSHd in the script is not even executed.  &lt;BR /&gt;&lt;BR /&gt;Could someone point to me where and how I could solve these problems? I had tried executing the gzip command with exact options specified in the script on the command line and found no error to it.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;BR /&gt;&lt;BR /&gt;# ./DO.bak.1&lt;BR /&gt;/stor/common/src/makehost/DIST/hp9000/hpux/11.00/ssh&lt;BR /&gt;B.11.00&lt;BR /&gt;Extracting binary files ...&lt;BR /&gt;/stor/common/src/makehost/DIST/hp9000/hpux/11.00/ssh/B.11.00&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;/usr/intel/bin/gtar: Child returned status 2&lt;BR /&gt;/usr/intel/bin/gtar: Error exit delayed from previous errors&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;./&lt;BR /&gt;scp&lt;BR /&gt;sftp&lt;BR /&gt;sftp-server&lt;BR /&gt;sftp2&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;./&lt;BR /&gt;/usr/intel/bin/gtar: Child returned status 2&lt;BR /&gt;/usr/intel/bin/gtar: Error exit delayed from previous errors&lt;BR /&gt;sshd&lt;BR /&gt;sshd2&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;tar (child): Cannot exec gzip: No such file or directory&lt;BR /&gt;tar (child): Error is not recoverable: exiting now&lt;BR /&gt;./&lt;BR /&gt;/usr/intel/bin/gtar: Child returned status 2&lt;BR /&gt;/usr/intel/bin/gtar: Error exit delayed from previous errors&lt;BR /&gt;man1/&lt;BR /&gt;man1/scp.1&lt;BR /&gt;man1/sftp-server.1&lt;BR /&gt;man1/sftp.1&lt;BR /&gt;man1/ssh-add.1&lt;BR /&gt;man1/ssh-agent.1&lt;BR /&gt;man1/ssh-askpass.1&lt;BR /&gt;man1/ssh-keygen.1&lt;BR /&gt;man1/ssh-probe.1&lt;BR /&gt;man1/ssh-signer.1&lt;BR /&gt;man1/ssh.1&lt;BR /&gt;man1/ssh-add2.1&lt;BR /&gt;x /etc/ssh2/sshd2_config, 4327 bytes, 9 tape blocks&lt;BR /&gt;x /etc/ssh2/ssh_dummy_shell.out, 122 bytes, 1 tape blocks&lt;BR /&gt;x /etc/ssh2/ssh2_config, 1950 bytes, 4 tape blocks&lt;BR /&gt;kill: 23220: The specified process does not exist.&lt;BR /&gt;kill: 23223: The specified process does not exist.&lt;BR /&gt;Postinstallation ...&lt;BR /&gt;Creating symbolic links ...&lt;BR /&gt;Done.&lt;BR /&gt;Checking s750sshd link  ...&lt;BR /&gt;# &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 Jul 2003 11:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012006#M128739</guid>
      <dc:creator>Peter Remirez</dc:creator>
      <dc:date>2003-07-01T11:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: gtar script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012007#M128740</link>
      <description>Peter,&lt;BR /&gt;&lt;BR /&gt;If you are using gnu tar then you don't have to or rather can't use gtar -tzvf.&lt;BR /&gt;&lt;BR /&gt;instead the z option in tar tells tar to use its built in gzip function to either extract the file or compress it.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would change the gtar  to just &lt;BR /&gt;&lt;BR /&gt;tar -xzvf&lt;BR /&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;BR /&gt;tar -czvf&lt;BR /&gt;&lt;BR /&gt;peace&lt;BR /&gt;Donny</description>
      <pubDate>Tue, 01 Jul 2003 11:55:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012007#M128740</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-07-01T11:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: gtar script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012008#M128741</link>
      <description>one more thing.&lt;BR /&gt;&lt;BR /&gt;in shel scripts. functions goes at the top.&lt;BR /&gt;&lt;BR /&gt;before it is called.&lt;BR /&gt;&lt;BR /&gt;sshme () {&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sshme</description>
      <pubDate>Tue, 01 Jul 2003 12:27:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012008#M128741</guid>
      <dc:creator>Donny Jekels</dc:creator>
      <dc:date>2003-07-01T12:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: gtar script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012009#M128742</link>
      <description>Hi,&lt;BR /&gt;it is possible that gtar calls gzip utility,&lt;BR /&gt;you must put in your path the gzip command, it could be installed in /usr/contrib/bin and not in path.&lt;BR /&gt;&lt;BR /&gt;The easiest way to put in in the path is to make a symbolic link between the existing gzip and another one in /bin or /usr/bin.&lt;BR /&gt;&lt;BR /&gt;if you have not installed gzip, go to:&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Gnu/gzip-1.3.3/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Gnu/gzip-1.3.3/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;HTH.&lt;BR /&gt;Frank.</description>
      <pubDate>Tue, 01 Jul 2003 14:00:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012009#M128742</guid>
      <dc:creator>Francisco J. Soler</dc:creator>
      <dc:date>2003-07-01T14:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: gtar script problem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012010#M128743</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;gtar has NO gzip builtin! And no compress builtin&lt;BR /&gt;and no other compression builtin.&lt;BR /&gt;It always relys on the installed compressor.&lt;BR /&gt;It's just the integration which is builtin :-)&lt;BR /&gt;Do a tar -ztvf and check the processes with ps -ef!&lt;BR /&gt;You will find a gtar and a gzip started as a child by gtar.&lt;BR /&gt;&lt;BR /&gt;The error message looks quite clear. gzip is not found in the path.&lt;BR /&gt;Add the gzip path in the PATH variable IN the script,&lt;BR /&gt;don't assume it's set by the current environment!&lt;BR /&gt;&lt;BR /&gt;Armin&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jul 2003 06:39:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gtar-script-problem/m-p/3012010#M128743</guid>
      <dc:creator>Armin Kunaschik</dc:creator>
      <dc:date>2003-07-02T06:39:21Z</dc:date>
    </item>
  </channel>
</rss>

