<?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: Error in lseek and ioctl in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802085#M481808</link>
    <description>&lt;P&gt;you should use -p -f options of tusc&lt;/P&gt;</description>
    <pubDate>Thu, 13 Sep 2012 06:16:13 GMT</pubDate>
    <dc:creator>Laurent Menase</dc:creator>
    <dc:date>2012-09-13T06:16:13Z</dc:date>
    <item>
      <title>Error  in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5801907#M481802</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;In our scenario we have 200+ linux servers. We are collecting the logs from all these&amp;nbsp; 200+ linux servers to one hpunix machine. We are doing this activity using crontab and enabled passwordless ssh from&amp;nbsp; hpunix machine to all these linux servers so that we can do scp.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But for some of those machines we are not able&amp;nbsp; collect logs . I installed tusc and tracked the process, I got below errors from the tusc&amp;nbsp; output for some linux machines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;lseek(3, 0, SEEK_CUR) .................................................................................................................. ERR#29 ESPIPE&lt;BR /&gt;ioctl(3, TCGETATTR, 0x40003960) ........................................................................................................ ERR#25 ENOTTY&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am able to do passwordless ssh to these linux servers and able to copy those logs manually using scp also. Could you please help me&amp;nbsp; out on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2012 02:14:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5801907#M481802</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-13T02:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5801953#M481804</link>
      <description>&lt;P&gt;These are not the droids you seek.&amp;nbsp; I assume these errors are ignored and it continues.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What file is opened for FD 3?&amp;nbsp; Also what syscalls happens after them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you using tusc on scp on HP-UX?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:48:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5801953#M481804</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802065#M481805</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the full system calls genrated for one server .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have one script fo collecting logs from all other server (Linux+ Hpunix) We put this script in crontab . What i did&amp;nbsp; traced the process id of that script using tusc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2012 05:28:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802065#M481805</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-13T05:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802085#M481808</link>
      <description>&lt;P&gt;you should use -p -f options of tusc&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2012 06:16:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802085#M481808</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2012-09-13T06:16:13Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802089#M481809</link>
      <description>&lt;P&gt;&amp;gt;I am attaching the full system calls generated for one server.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This isn't full.&amp;nbsp; And as I said, these syscall errors at the start can be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt;you should use -p -f options of tusc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also -ea to trace execv call parms.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:48:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802089#M481809</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802105#M481811</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can i use the below syntax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tusc -p -f -ea &amp;lt;pid&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2012 06:32:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802105#M481811</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-13T06:32:16Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802149#M481815</link>
      <description>&lt;P&gt;tusc -pfea -o /tmp/resultfile&amp;nbsp; command&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;tusc -pfea -o /tmp/resultfile&amp;nbsp; pid&lt;BR /&gt;or&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tusc -pfea -o /tmp/resultfile&amp;nbsp; $$&amp;nbsp;&amp;nbsp; &amp;amp;&lt;/P&gt;&lt;P&gt;scp command &amp;amp;&lt;/P&gt;&lt;P&gt;kill tusc when error is seen&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-p -f -e -a is the same as -pfea&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Sep 2012 07:00:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802149#M481815</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2012-09-13T07:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802891#M481823</link>
      <description>&lt;P&gt;&amp;gt;can I use the below syntax&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes.&amp;nbsp; I clump -ea together in case I want less output and want to remove both.&lt;/P&gt;&lt;P&gt;But for -fp, I always combine and use.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:49:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5802891#M481823</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803161#M481828</link>
      <description>&lt;P&gt;I got the below output from the tusc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;( Attached to process 650 ("sh -c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /eytools/eybin/get_linuxinfo.sh 1&amp;gt;/dev/null 2&amp;gt;&amp;amp;1") [32-bit] )&lt;BR /&gt;[650] waitpid(-1, 0x7fffe810, WUNTRACED) ............................................................................................... [sleeping]&lt;BR /&gt;[650] waitpid(-1, WIFEXITED(0), WUNTRACED) ............................................................................................. = 654&lt;BR /&gt;[650] sigvector(SIGCLD, 0x7fffe7e0, 0x7fffe7f0) ........................................................................................ = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe830, 0x7fffe850) ................................................................................. = 0&lt;BR /&gt;[650] sigprocmask(SIG_SETMASK, 0x7fffe850, 0x7fffe830) ................................................................................. = 0&lt;BR /&gt;[650] exit(0) .......................................................................................................................... WIFEXITED(0)&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2012 02:00:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803161#M481828</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-14T02:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803321#M481829</link>
      <description>&lt;P&gt;&amp;gt;I got the below output from the tusc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nothing useful there.&amp;nbsp; How did you collect tusc info the first vs this time?&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803321#M481829</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803383#M481830</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the below command&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;tusc -pfea -o /tmp/resultfile&amp;nbsp; pid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you didnt get any good infromation from this , i will do it once more and post .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2012 07:07:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803383#M481830</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-14T07:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803437#M481832</link>
      <description>&lt;P&gt;&amp;gt;tusc -pfea -o /tmp/resultfile pid&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears you did this after that PID forked the process that does the real work?&lt;/P&gt;&lt;P&gt;Can you get a ps(1) output of that PID and its child, so you can make sure you are tracing the right process.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or if this is done on a continual basis, trace the parent of PID and that will eventually have some useful data.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:50:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803437#M481832</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803615#M481833</link>
      <description>&lt;P&gt;can you add set -x at the begining of your script&lt;/P&gt;&lt;P&gt;&amp;nbsp; /eytools/eybin/get_linuxinfo.sh&lt;/P&gt;</description>
      <pubDate>Fri, 14 Sep 2012 11:27:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5803615#M481833</guid>
      <dc:creator>Laurent Menase</dc:creator>
      <dc:date>2012-09-14T11:27:44Z</dc:date>
    </item>
    <item>
      <title>Re: Error in lseek and ioctl</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804127#M481844</link>
      <description>&lt;P&gt;Hi Dennis,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Parent PID of this process is crond , can i track with the PID of cron.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:10:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804127#M481844</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-15T01:10:31Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804143#M481846</link>
      <description>&lt;P&gt;&amp;gt;can I track with the PID of cron?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes but it may give too much if there are other activities.&lt;/P&gt;&lt;P&gt;You could replace your crontab entry with a script that invokes tusc on your real script.&lt;/P&gt;</description>
      <pubDate>Sat, 15 Sep 2012 01:50:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804143#M481846</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2012-09-15T01:50:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804339#M481847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am attaching the output of tusc . Could you please check the output for the server ussecavldnaut1. This is one of the server which i am facing issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 16 Sep 2012 02:26:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5804339#M481847</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-09-16T02:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with crontab and scp</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5827201#M482067</link>
      <description>&lt;P&gt;Hi&amp;nbsp; Team,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks a lot for the help.&amp;nbsp; The issue is resolved . The problem was with the time zone . The main servers was on GMT and the clients having EDT.&amp;nbsp; So i just changed&amp;nbsp; execution time of script in crontab. Now its working fine . Thanks a lot for your help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Oct 2012 02:29:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/error-in-lseek-and-ioctl/m-p/5827201#M482067</guid>
      <dc:creator>laiju.c.babu</dc:creator>
      <dc:date>2012-10-09T02:29:47Z</dc:date>
    </item>
  </channel>
</rss>

