<?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: SWINSTALL error in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130770#M449693</link>
    <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; When I run the command 'lsof', I get the error message : &lt;BR /&gt;sh: lsof: not found.&lt;BR /&gt;&lt;BR /&gt;This is expected.  Either:&lt;BR /&gt;&lt;BR /&gt;(1) DO: cd /usr/local/bin &amp;amp;&amp;amp; ./lsof&lt;BR /&gt;&lt;BR /&gt;(2) Use the absolute path: /usr/local/bin/lsof&lt;BR /&gt;&lt;BR /&gt;Normally '/usr/local/bin' isn't part of your path.  To add this to the PATH (as defined in the root 'profile' is a dangerous security hole.&lt;BR /&gt;&lt;BR /&gt;In fact, examine '/usr/newconfig/.profile' to see how a safe PATH for root is setup by default.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
    <pubDate>Fri, 19 Sep 2008 15:56:04 GMT</pubDate>
    <dc:creator>James R. Ferguson</dc:creator>
    <dc:date>2008-09-19T15:56:04Z</dc:date>
    <item>
      <title>SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130765#M449688</link>
      <description>Hi,&lt;BR /&gt;I need to install the command 'lsof' on a non-production server in the directory /usr/sbin.&lt;BR /&gt;I had copied the file 'lsof-4.80-hppa-11.11.depot.gz'in the /tmp dirctory, then I unzipped it with the command:&lt;BR /&gt;gzip lsof-4.80-hppa-11.11.depot.gz&lt;BR /&gt;after that I ran the command below and got the following output:&lt;BR /&gt;**********************************************&lt;BR /&gt;# swinstall -s /tmp/lsof-4.80-hppa-11.11.depot "*" @ /usr/sbin&lt;BR /&gt; &lt;BR /&gt;=======  09/19/08 21:12:46 EST  BEGIN swinstall SESSION&lt;BR /&gt;         (non-interactive) (jobid=mlbs0036-0163)&lt;BR /&gt; &lt;BR /&gt;       * Session started for user "root@mlbs0036".&lt;BR /&gt;         &lt;BR /&gt;       * Beginning Selection&lt;BR /&gt;       * Target connection succeeded for "mlbs0036:/usr/sbin".&lt;BR /&gt;       * Source:                 /tmp/lsof-4.80-hppa-11.11.depot&lt;BR /&gt;       * Targets:                mlbs0036:/usr/sbin&lt;BR /&gt;       * Software selections:&lt;BR /&gt;             lsof.lsof-RUN,r=4.80,a=HP-UX_B./800&lt;BR /&gt;       * Selection succeeded.&lt;BR /&gt;         &lt;BR /&gt;         &lt;BR /&gt;       * Beginning Analysis and Execution&lt;BR /&gt;       * Session selections have been saved in the file&lt;BR /&gt;         "/.sw/sessions/swinstall.last".&lt;BR /&gt;       * The analysis phase succeeded for "mlbs0036:/usr/sbin".&lt;BR /&gt;WARNING: "mlbs0036:/usr/sbin":  1 postinstall or postremove scripts had&lt;BR /&gt;         warnings.&lt;BR /&gt;       * Analysis and Execution succeeded.&lt;BR /&gt;         &lt;BR /&gt;         &lt;BR /&gt;NOTE:    More information may be found in the agent logfile using the&lt;BR /&gt;         command "swjob -a log mlbs0036-0163 @ mlbs0036:/usr/sbin".&lt;BR /&gt; &lt;BR /&gt;=======  09/19/08 21:12:55 EST  END swinstall SESSION (non-interactive)&lt;BR /&gt;         (jobid=mlbs0036-0163)&lt;BR /&gt;***********************************************&lt;BR /&gt;The command doesn't run nor can it be found by running 'which lsof'.But, I can see it after running the 'swlist' command.&lt;BR /&gt;Can anybody please help me, that in what status is the installation and what needs to be done to install the command correctly and how to make it operative from the path /usr/sbin.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.....</description>
      <pubDate>Fri, 19 Sep 2008 13:42:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130765#M449688</guid>
      <dc:creator>Jasdeep Singh</dc:creator>
      <dc:date>2008-09-19T13:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130766#M449689</link>
      <description>lsof is normally installed in /usr/local/bin.&lt;BR /&gt;&lt;BR /&gt;The easiest way to make it accessable from /usr/sbin/ is to let it install normally and then create a link from /usr/sbin/lsof to /usr/local/bin/lsof.&lt;BR /&gt;&lt;BR /&gt;What you may find is that the command was installed in /usr/sbin/usr/local/bin/lsof.  It may have just created its whole install patch under /usr/sbin/.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Sep 2008 13:51:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130766#M449689</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2008-09-19T13:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130767#M449690</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;SOftware from the HP-UX Porting Center is setup to install in '/usr/local/bin' by default.  You should have:&lt;BR /&gt;&lt;BR /&gt;# whereis lsof&lt;BR /&gt;lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8&lt;BR /&gt;&lt;BR /&gt;Hence, either add '/usr/local/bin' to your ${PATH} or uee the absolute path to run:&lt;BR /&gt;&lt;BR /&gt;# /usr/local/bin/lsof&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 19 Sep 2008 13:55:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130767#M449690</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-19T13:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130768#M449691</link>
      <description>Patrick,&lt;BR /&gt;&lt;BR /&gt;When I run the command 'lsof', I get the error message :&lt;BR /&gt;*********************&lt;BR /&gt;sh: lsof:  not found.&lt;BR /&gt;*********************&lt;BR /&gt;but, when enter '/usr/local/bin/lsof' the command runs.&lt;BR /&gt;James,&lt;BR /&gt;&lt;BR /&gt;The location of the file is:&lt;BR /&gt;********************************************&lt;BR /&gt;# whereis lsof&lt;BR /&gt;lsof: /usr/local/bin/lsof /usr/local/man/man8/lsof.8&lt;BR /&gt;********************************************&lt;BR /&gt;Could you kindly explain why isn't the command running successfully by just 'lsof'.&lt;BR /&gt;&lt;BR /&gt;Thanks again....&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Sep 2008 14:36:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130768#M449691</guid>
      <dc:creator>Jasdeep Singh</dc:creator>
      <dc:date>2008-09-19T14:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130769#M449692</link>
      <description>simple :&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;add  /usr/local/bin/ this path to /etc/PATH file&lt;BR /&gt;&lt;BR /&gt;and run this command from ur shell&lt;BR /&gt;export PATH=$PATH:/usr/local/bin/&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;why u want to create link? Any requiremnet</description>
      <pubDate>Fri, 19 Sep 2008 15:12:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130769#M449692</guid>
      <dc:creator>Sandeep_Chaudhary</dc:creator>
      <dc:date>2008-09-19T15:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130770#M449693</link>
      <description>Hi (again):&lt;BR /&gt;&lt;BR /&gt;&amp;gt; When I run the command 'lsof', I get the error message : &lt;BR /&gt;sh: lsof: not found.&lt;BR /&gt;&lt;BR /&gt;This is expected.  Either:&lt;BR /&gt;&lt;BR /&gt;(1) DO: cd /usr/local/bin &amp;amp;&amp;amp; ./lsof&lt;BR /&gt;&lt;BR /&gt;(2) Use the absolute path: /usr/local/bin/lsof&lt;BR /&gt;&lt;BR /&gt;Normally '/usr/local/bin' isn't part of your path.  To add this to the PATH (as defined in the root 'profile' is a dangerous security hole.&lt;BR /&gt;&lt;BR /&gt;In fact, examine '/usr/newconfig/.profile' to see how a safe PATH for root is setup by default.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Sep 2008 15:56:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130770#M449693</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-09-19T15:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130771#M449694</link>
      <description>Just wanted to second JRF's WARNING.&lt;BR /&gt;&lt;BR /&gt;I you include /usr/local/bin in root's path please please please restrict and protect  everything in /usr/local/*  By default /usr/local/* has wide open permissions ( BAD ).&lt;BR /&gt;&lt;BR /&gt;This is almost as bad as including "." in root's PATH.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 19 Sep 2008 16:03:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130771#M449694</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-09-19T16:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: SWINSTALL error</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130772#M449695</link>
      <description>James, when I created a link of /usr/local/bin/lsof* in the recommended /usr/sbin, the command lsof was running fine and without bugs. &lt;BR /&gt;&lt;BR /&gt;Thank You all for your support</description>
      <pubDate>Tue, 23 Sep 2008 06:01:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/swinstall-error/m-p/5130772#M449695</guid>
      <dc:creator>Jasdeep Singh</dc:creator>
      <dc:date>2008-09-23T06:01:35Z</dc:date>
    </item>
  </channel>
</rss>

