<?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: tusc output in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428232#M355424</link>
    <description>a little more data:&lt;BR /&gt;[10504] execve(0x9fffffffffffdf20, 0x9fffffffffffea80, 0x9fffffffffffea90) [entry]&lt;BR /&gt;                              argv[0] @ 0x9fffffffffffed12: "genclntsh"&lt;BR /&gt;[10504] execve("/u01/app/oracle/product/10.2.0.4/bin/genclntsh", 0x9fffffffffffea80, 0x9fffffffffffea90) = 0 [32-bit]&lt;BR /&gt;[10504] mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777fc000&lt;BR /&gt;[10504] open("/usr/lib/hpux32/dld.so", O_RDONLY, 0) ...... = 4&lt;BR /&gt;[10504] read(4, "7fE L F 0102010101\0\0\0\0\0\0\0".., 1024) = 1024&lt;BR /&gt;[10504] mmap(NULL, 665520, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FILE|MAP_SHLIB, 4, 0) = 0xc0014000&lt;BR /&gt;[10504] sysconf(_SC_PAGE_SIZE) ........................... = 4096&lt;BR /&gt;[10504] mmap(NULL, 6712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, 0) = 0x777fa000&lt;BR /&gt;[10504] mmap(0x777f7000, 11416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FILE|MAP_SHLIB, 4, 720896) = 0x777f7000&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777f5000&lt;BR /&gt;[10504] sysconf(_SC_PAGE_SIZE) ........................... = 4096&lt;BR /&gt;[10504] stat("/usr/lib/hpux32/dpd", 0x7fffe730) .......... = 0&lt;BR /&gt;[10504] open("/usr/lib/hpux32/dpd", O_RDONLY, 0) ......... = 4&lt;BR /&gt;[10504] fcntl(4, F_SETFD, 0) ............................. = 0&lt;BR /&gt;[10504] mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777f0000&lt;BR /&gt;[10504] getdents(4, 0x777f0028, 8192) .................... = 80&lt;BR /&gt;[10504] getdents(4, 0x777f0028, 8192) .................... = 0&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] getuid() ......................................... = 304 (304)&lt;BR /&gt;[10504] getgid() ......................................... = 304 (304)&lt;BR /&gt;[10504] open("/bin/sh", O_RDONLY, 0) ..................... = 4&lt;BR /&gt;[10504] pread(4, "\0\0\002\0\0\0, \0\0\0\aH P \0\0".., 60, 404) = 60&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] utssys(0x7fffe3b0, 0, 0) ......................... = 0&lt;BR /&gt;[10504] gettune("privileges_enabled", 0x7fffe370) ........ ERR#2 ENOENT&lt;BR /&gt;[10504] open("/usr/lib/hpux32/libc.so.1", O_RDONLY, 0) ... = 4&lt;BR /&gt;[10504] fstat(4, 0x7fffe680) ............................. = 0&lt;BR /&gt;&lt;BR /&gt;and the tusc version i'm using is for hp-ux &lt;BR /&gt;obtained from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is the err#2 noent an error ??&lt;BR /&gt;if so what does it mean...&lt;BR /&gt;&lt;BR /&gt;the entire tusc output was too large for me to paste the whole thing here..&lt;BR /&gt;&lt;BR /&gt;the tusc output is currently under review by oracle.. is there anything i could look for in the tusc output that would identify why the genclntsh process is not working ??</description>
    <pubDate>Thu, 28 May 2009 08:27:10 GMT</pubDate>
    <dc:creator>Donald Thaler</dc:creator>
    <dc:date>2009-05-28T08:27:10Z</dc:date>
    <item>
      <title>tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428229#M355421</link>
      <description>oracle had me run the tusc to trace a process called genclntsh... this was the first error i saw in the output file:&lt;BR /&gt;&lt;BR /&gt;[10527] mmap(NULL, 0, PROT_NONE, MAP_VARIABLE|0x200000, -1, 0) ERR#25 ENOTTY&lt;BR /&gt;&lt;BR /&gt;any idea what this means  ??</description>
      <pubDate>Thu, 28 May 2009 00:49:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428229#M355421</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-05-28T00:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428230#M355422</link>
      <description>&amp;gt;this was the first error I saw in the output file:&lt;BR /&gt;&lt;BR /&gt;You may want to list a window of system calls around your error.&lt;BR /&gt;Do you have the correct tusc for your OS version?&lt;BR /&gt;That length of 0, doesn't look right.&lt;BR /&gt;&lt;BR /&gt;You may want to look for more errors.</description>
      <pubDate>Thu, 28 May 2009 05:03:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428230#M355422</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-28T05:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428231#M355423</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;It would be helpful to see a little more data.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 28 May 2009 07:52:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428231#M355423</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-05-28T07:52:05Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428232#M355424</link>
      <description>a little more data:&lt;BR /&gt;[10504] execve(0x9fffffffffffdf20, 0x9fffffffffffea80, 0x9fffffffffffea90) [entry]&lt;BR /&gt;                              argv[0] @ 0x9fffffffffffed12: "genclntsh"&lt;BR /&gt;[10504] execve("/u01/app/oracle/product/10.2.0.4/bin/genclntsh", 0x9fffffffffffea80, 0x9fffffffffffea90) = 0 [32-bit]&lt;BR /&gt;[10504] mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777fc000&lt;BR /&gt;[10504] open("/usr/lib/hpux32/dld.so", O_RDONLY, 0) ...... = 4&lt;BR /&gt;[10504] read(4, "7fE L F 0102010101\0\0\0\0\0\0\0".., 1024) = 1024&lt;BR /&gt;[10504] mmap(NULL, 665520, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_FILE|MAP_SHLIB, 4, 0) = 0xc0014000&lt;BR /&gt;[10504] sysconf(_SC_PAGE_SIZE) ........................... = 4096&lt;BR /&gt;[10504] mmap(NULL, 6712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, 0) = 0x777fa000&lt;BR /&gt;[10504] mmap(0x777f7000, 11416, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FILE|MAP_SHLIB, 4, 720896) = 0x777f7000&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777f5000&lt;BR /&gt;[10504] sysconf(_SC_PAGE_SIZE) ........................... = 4096&lt;BR /&gt;[10504] stat("/usr/lib/hpux32/dpd", 0x7fffe730) .......... = 0&lt;BR /&gt;[10504] open("/usr/lib/hpux32/dpd", O_RDONLY, 0) ......... = 4&lt;BR /&gt;[10504] fcntl(4, F_SETFD, 0) ............................. = 0&lt;BR /&gt;[10504] mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x777f0000&lt;BR /&gt;[10504] getdents(4, 0x777f0028, 8192) .................... = 80&lt;BR /&gt;[10504] getdents(4, 0x777f0028, 8192) .................... = 0&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] getuid() ......................................... = 304 (304)&lt;BR /&gt;[10504] getgid() ......................................... = 304 (304)&lt;BR /&gt;[10504] open("/bin/sh", O_RDONLY, 0) ..................... = 4&lt;BR /&gt;[10504] pread(4, "\0\0\002\0\0\0, \0\0\0\aH P \0\0".., 60, 404) = 60&lt;BR /&gt;[10504] close(4) ......................................... = 0&lt;BR /&gt;[10504] utssys(0x7fffe3b0, 0, 0) ......................... = 0&lt;BR /&gt;[10504] gettune("privileges_enabled", 0x7fffe370) ........ ERR#2 ENOENT&lt;BR /&gt;[10504] open("/usr/lib/hpux32/libc.so.1", O_RDONLY, 0) ... = 4&lt;BR /&gt;[10504] fstat(4, 0x7fffe680) ............................. = 0&lt;BR /&gt;&lt;BR /&gt;and the tusc version i'm using is for hp-ux &lt;BR /&gt;obtained from &lt;A href="http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/" target="_blank"&gt;http://hpux.connect.org.uk/hppd/hpux/Sysadmin/tusc-7.9/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;is the err#2 noent an error ??&lt;BR /&gt;if so what does it mean...&lt;BR /&gt;&lt;BR /&gt;the entire tusc output was too large for me to paste the whole thing here..&lt;BR /&gt;&lt;BR /&gt;the tusc output is currently under review by oracle.. is there anything i could look for in the tusc output that would identify why the genclntsh process is not working ??</description>
      <pubDate>Thu, 28 May 2009 08:27:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428232#M355424</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-05-28T08:27:10Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428233#M355425</link>
      <description>found an error but don't know how to interpret it:&lt;BR /&gt;&lt;BR /&gt;[10527] write(2, "l d :   C a n ' t   f i n d   l ".., 37) = 37&lt;BR /&gt;[10527] write(2, "\n", 1) ................................ = 1&lt;BR /&gt;[10527] write(2, "F a t a l   e r r o r . ", 12) ......... = 12&lt;BR /&gt;[10527] write(2, "\n", 1) ................................ = 1&lt;BR /&gt;[10527] exit(1) .......................................... WIFEXITED(1)</description>
      <pubDate>Thu, 28 May 2009 08:30:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428233#M355425</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-05-28T08:30:15Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428234#M355426</link>
      <description>the errno is somewhat weird for mmap()&lt;BR /&gt;all those params looks weird.&lt;BR /&gt;Are you using  the right version of tusc?&lt;BR /&gt;Are you using some 3rd party kernel intrusive code which could change syscalls?&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 08:44:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428234#M355426</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-05-28T08:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428235#M355427</link>
      <description>Typically it is the lines above your &lt;BR /&gt;found an error but don't know how to interpret it:&lt;BR /&gt;&lt;BR /&gt;[10527] write(2, "l d : C a n ' t f i n d l ".., 37) = 37&lt;BR /&gt;[10527] write(2, "\n", 1) ................................ = 1&lt;BR /&gt;[10527] write(2, "F a t a l e r r o r . ", 12) ......... = 12&lt;BR /&gt;[10527] write(2, "\n", 1) ................................ = 1&lt;BR /&gt;[10527] exit(1) .......................................... WIFEXITED(1)&lt;BR /&gt;which are interesting.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 08:54:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428235#M355427</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2009-05-28T08:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428236#M355428</link>
      <description>what i've been able to discern is tha the file librt.so can't be found, i can see it searching thru the path directories. the file actually exists in /usr/lib/hpux64 but that director isn't being searched, which is probably the problem.  i ran the tusc routine on my other server where the genclntsh routine works, and when i look at the tusc.out file i can see it looking for it in /usr/lib/hpux64 ?&lt;BR /&gt;&lt;BR /&gt;updated the path statement so that the /usr/lib/hpux64 is first but that didn't help...&lt;BR /&gt;&lt;BR /&gt;thanks for your efforts, does anyone have an idea how i can force it to look at /usr/lib/hpux64 &lt;BR /&gt;&lt;BR /&gt;again the tusc routine was downloaded from the hp site and i definitely selected the version for hp-ux 11.23...&lt;BR /&gt;</description>
      <pubDate>Thu, 28 May 2009 11:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428236#M355428</guid>
      <dc:creator>Donald Thaler</dc:creator>
      <dc:date>2009-05-28T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428237#M355429</link>
      <description>Look at the output of chatr and ldd against the binary. chatr (change attributes) will show if SHLIB_PATH is enabled. If SHLIB_PATH is enable, set it or change it.&lt;BR /&gt;&lt;BR /&gt;If you run ldd against the binary and it complains about a lib, it may not be in your SHLIB_PATH.&lt;BR /&gt;&lt;BR /&gt;hope this helps,&lt;BR /&gt;-denver</description>
      <pubDate>Thu, 28 May 2009 16:26:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428237#M355429</guid>
      <dc:creator>Denver Osborn</dc:creator>
      <dc:date>2009-05-28T16:26:17Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428238#M355430</link>
      <description>Something in /usr/lib/hpux64 would only be applicable to a 64-bit application.  If the application were 32-bit then even if /usr/lib/hpux64 were in the search path it would not matter.</description>
      <pubDate>Thu, 28 May 2009 23:49:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428238#M355430</guid>
      <dc:creator>rick jones</dc:creator>
      <dc:date>2009-05-28T23:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: tusc output</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428239#M355431</link>
      <description>&amp;gt;a little more data:&lt;BR /&gt;&lt;BR /&gt;I see no ENOTTY.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is the err#2 noent an error? if so what does it mean.&lt;BR /&gt;&lt;BR /&gt;It depends, it seems dld.so has an error recovery.  See gettune(2): &lt;BR /&gt;The specified tunable parameter does not exist.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the entire tusc output was too large for me to paste the whole thing here.&lt;BR /&gt;&lt;BR /&gt;That's why I said "window".&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is there anything I could look for in the tusc output that would identify why the genclntsh process is not working?&lt;BR /&gt;&lt;BR /&gt;Sure, errors like you found later.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;found an error but don't know how to interpret it:&lt;BR /&gt;&lt;BR /&gt;You need to have tusc have larger write buffers.&lt;BR /&gt;tusc ... -w2 -b 200 ...&lt;BR /&gt;&lt;BR /&gt;&amp;gt;the file actually exists in /usr/lib/hpux64 but that director isn't being searched&lt;BR /&gt;&lt;BR /&gt;It should also exist in hpux32/.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;i can see it looking for it in /usr/lib/hpux64?&lt;BR /&gt;&lt;BR /&gt;Does it find it?&lt;BR /&gt;&lt;BR /&gt;&amp;gt;does anyone have an idea how I can force it to look at /usr/lib/hpux64&lt;BR /&gt;&lt;BR /&gt;It should just do it.  Make sure LD_LIBRARY_PATH has it.&lt;BR /&gt;&lt;BR /&gt;Your genclntsh is 32 bit.</description>
      <pubDate>Fri, 29 May 2009 10:25:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tusc-output/m-p/4428239#M355431</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-05-29T10:25:27Z</dc:date>
    </item>
  </channel>
</rss>

