<?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: lsof installation woes in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435688#M860461</link>
    <description>Thank for the link to the FAQ.  That definitely seems to be the problem.  However, I'm not sure how to fix it.  If I edit the depot file and under the /usr/lcoal/bin/lsof section change gid 3 to gid 0 I get an IO error when I try to install it.  I assume I'm screwing up the chksum.  If I change the gid on the file itself after installation I still get the memory fault.</description>
    <pubDate>Fri, 03 Dec 2004 17:20:19 GMT</pubDate>
    <dc:creator>Mark Tunnell</dc:creator>
    <dc:date>2004-12-03T17:20:19Z</dc:date>
    <item>
      <title>lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435678#M860451</link>
      <description>When I try to install lsof-4.73-sd-11.11.depot I get the following error:&lt;BR /&gt;Installing fileset "lsof.lsof-RUN,r=4.73" (1 of 1).&lt;BR /&gt;ERROR:   Unknown owner and/or group for file "/usr/local/bin/lsof".  SUID and/or SGID bit was not set.  &lt;BR /&gt;ERROR:   Failed installing fileset lsof.lsof-RUN,r=4.73".  Check the above output for details.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Thu, 02 Dec 2004 19:28:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435678#M860451</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-02T19:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435679#M860452</link>
      <description>lsof is a setuid/setgid program. You probably tried to install or make it as a non-root user.&lt;BR /&gt;&lt;BR /&gt;cd /opt/lsof/bin (or wherever your lsof executable is).&lt;BR /&gt;chown root:sys lsof&lt;BR /&gt;chmod 6755 lsof&lt;BR /&gt;&lt;BR /&gt;That should fix you although because lsof is kernel intrusive a 32-bit version of lsof will not run on 64-bit 11.11.</description>
      <pubDate>Thu, 02 Dec 2004 19:37:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435679#M860452</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-12-02T19:37:32Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435680#M860453</link>
      <description>I am logged in as root when I attempt the install.    I'm downloading the program from hpux.connect.org.uk and it says it is for 11.11 64 bit.</description>
      <pubDate>Thu, 02 Dec 2004 20:09:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435680#M860453</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-02T20:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435681#M860454</link>
      <description>Try the program. It actually works just fine after the install. You may actually need to set the SUID on the program, but it actually does install.&lt;BR /&gt;&lt;BR /&gt;Annoying, but non-leathel.&lt;BR /&gt;&lt;BR /&gt;I spent a solid two hours one afternoon trying to get it to install without error. Then I decided to try it out anyway.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 02 Dec 2004 20:19:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435681#M860454</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-12-02T20:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435682#M860455</link>
      <description>Just check whether there is a INFO file in the depot. &lt;BR /&gt;&lt;BR /&gt;If one exists change &lt;BR /&gt;&lt;BR /&gt;"owner 0" change to "owner root" &lt;BR /&gt;"group 0" change to "group root" &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Revert</description>
      <pubDate>Fri, 03 Dec 2004 02:35:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435682#M860455</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-12-03T02:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435683#M860456</link>
      <description>Thanks for the input.  However, I get a core dump when I try to run it, now matter what permissions or suid I set.  The depot does contain an INFO file but it doesn't have an owner= or group= line in it.&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 03 Dec 2004 12:24:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435683#M860456</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-03T12:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435684#M860457</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Try to download the binary once again and retry the installation. If problem persist, go back one version. There is an older version also available over here. You can try that.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Dec 2004 13:29:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435684#M860457</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-12-03T13:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435685#M860458</link>
      <description>Silly question for you:  did you su or su - to become root? &lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Fri, 03 Dec 2004 15:01:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435685#M860458</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-12-03T15:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435686#M860459</link>
      <description>I've tried both the current 4.73 and one back 4.72 with the same result.  I logged directly in as root.  I've had no problem install lsof on any of my 11.0 boxes, just on the 11.11 ones.  I'm thinking now it might be something with their patch level?&lt;BR /&gt;&lt;BR /&gt;Mark</description>
      <pubDate>Fri, 03 Dec 2004 15:07:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435686#M860459</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-03T15:07:24Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435687#M860460</link>
      <description>Hi Mark,&lt;BR /&gt;&lt;BR /&gt;Check out question 9.3.7 from this lsof faq,&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ" target="_blank"&gt;ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Fri, 03 Dec 2004 15:19:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435687#M860460</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-12-03T15:19:46Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435688#M860461</link>
      <description>Thank for the link to the FAQ.  That definitely seems to be the problem.  However, I'm not sure how to fix it.  If I edit the depot file and under the /usr/lcoal/bin/lsof section change gid 3 to gid 0 I get an IO error when I try to install it.  I assume I'm screwing up the chksum.  If I change the gid on the file itself after installation I still get the memory fault.</description>
      <pubDate>Fri, 03 Dec 2004 17:20:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435688#M860461</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-03T17:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435689#M860462</link>
      <description>The binary you have was built with gcc. The following entry from lsof FAQ has a warning about lsof builds with gcc on 64 bit HP-UX 11.&lt;BR /&gt;&lt;BR /&gt;---&lt;BR /&gt;3.43.7  Why hasn't the test suite been qualified for 64 bit HP-UX 11 when lsof is compiled with gcc?&lt;BR /&gt;&lt;BR /&gt;When I attempted to qualify lsof for HP-UX 11, compiled with gcc 3.0, the LTsock test failed.  I traced the failure to a gcc compilation error.  Because LTsock is an important test, I didn't feel that the test suite was qualified if it failed.&lt;BR /&gt;&lt;BR /&gt;LTsock compiles and runs correctly on 64 bit HP-UX 11 when compiled with HP's ANSI-C.&lt;BR /&gt;---&lt;BR /&gt;&lt;BR /&gt;lsof author doesn't recommend using lsof binaries. You can easily build lsof from source. After unpacking the source run the following.&lt;BR /&gt;&lt;BR /&gt;$ ./Configure -n hpux&lt;BR /&gt;$ make&lt;BR /&gt;&lt;BR /&gt;This should work even with bundled C compiler.&lt;BR /&gt;&lt;BR /&gt;Otherwise you can try prebuilt binary from lsof ftp site.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/binaries/hpux/B.11.11/lsof_4.73.gz" target="_blank"&gt;ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/binaries/hpux/B.11.11/lsof_4.73.gz&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 05 Dec 2004 19:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435689#M860462</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2004-12-05T19:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: lsof installation woes</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435690#M860463</link>
      <description>Thanks!  Compiling from the source worked just fine.</description>
      <pubDate>Mon, 06 Dec 2004 13:09:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lsof-installation-woes/m-p/3435690#M860463</guid>
      <dc:creator>Mark Tunnell</dc:creator>
      <dc:date>2004-12-06T13:09:40Z</dc:date>
    </item>
  </channel>
</rss>

