<?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: Problem with shell in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694336#M56253</link>
    <description>Satish,&lt;BR /&gt;&lt;BR /&gt;Has anything changed on your system? Have you lately had an increase in the number of users and processes (check maxusers, nproc, open file parameters)? Like Erin has pointed out, and something I do, is to make sure you have the latest patches installed.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
    <pubDate>Mon, 01 Apr 2002 12:35:33 GMT</pubDate>
    <dc:creator>harry d brown jr</dc:creator>
    <dc:date>2002-04-01T12:35:33Z</dc:date>
    <item>
      <title>Problem with shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694334#M56251</link>
      <description>Hi Experts,&lt;BR /&gt;&lt;BR /&gt;   From last few days we are facing strange problems in our systems(HP-UX 10.20, model 9000/899/k570). When we try to login to the systems unable to login, error,&lt;BR /&gt;&lt;BR /&gt;Cannot exec shell /usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;and also some times unable to execute some cmds (e.g. Service Guard cmds) and found error in syslog,&lt;BR /&gt;&lt;BR /&gt;execv /usr/lbin/cmclconfd: Bad address&lt;BR /&gt;&lt;BR /&gt;They r working fine when copy and restore the same files. Tried reboot also after copy/restore the same, but problem appears again after few days.&lt;BR /&gt;&lt;BR /&gt;Whether anyone has faced similar probs?.. Any possible fix will be greatly appreciated.&lt;BR /&gt;&lt;BR /&gt;Cheers...&lt;BR /&gt;Satish.</description>
      <pubDate>Mon, 01 Apr 2002 10:25:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694334#M56251</guid>
      <dc:creator>Satish Y</dc:creator>
      <dc:date>2002-04-01T10:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694335#M56252</link>
      <description>Hi satish&lt;BR /&gt;&lt;BR /&gt;from what i can see in our docs this problem accour only on 10.20 system it is the way the system call behave .&lt;BR /&gt;&lt;BR /&gt;here is the explen on this issue : &lt;BR /&gt;&lt;BR /&gt;Under what circstamces does an execve() call return an EFAULT on 10.20?&lt;BR /&gt;RESOLUTION&lt;BR /&gt;   1. If the arguments, environment or filename are inaccessible to the&lt;BR /&gt;      process calling execve() EFAULT is returned. That is, the kernel uses&lt;BR /&gt;      the PA-RISC PROBER and PROBERI instructions in conjunction with the&lt;BR /&gt;      page fault software (in the event of a swapped out page) to determine&lt;BR /&gt;      whether a page is readable in user mode (the CPU privilege level at&lt;BR /&gt;      which the process runs) or whether it needs to load it. Once this has&lt;BR /&gt;      been done, it then loads the data value, if this still causes a trap&lt;BR /&gt;      due to a memory violation even after any necessary disk access, it is&lt;BR /&gt;      caught and an EFAULT is returned. It does this for every word in the&lt;BR /&gt;      arg and env arrays and each byte occupied by their strings.&lt;BR /&gt;&lt;BR /&gt;      An EFAULT is also returned if character pointer arrays are not word&lt;BR /&gt;      aligned. That is, the 2nd and 3rd arguments to the execve() call must&lt;BR /&gt;      be exactly divisible by 4, or 8 for 64-bit. Byte alignment is fine&lt;BR /&gt;      for the strings.&lt;BR /&gt;&lt;BR /&gt;   2. An EFAULT will be produced under certain conditions if the executable&lt;BR /&gt;      being loaded has a faulty memory profile that would not make sense&lt;BR /&gt;      when loaded or if it is incompatible with the memory hardware. One such&lt;BR /&gt;      example can be shown with:&lt;BR /&gt;&lt;BR /&gt;          $ cat t1.c&lt;BR /&gt;          #include &lt;BR /&gt;&lt;BR /&gt;          int main(void) {&lt;BR /&gt;              execve("./t2", NULL, NULL);&lt;BR /&gt;              perror("execve");&lt;BR /&gt;              exit(1);&lt;BR /&gt;          }&lt;BR /&gt;          $ cat t2.c&lt;BR /&gt;          int main(void) { return 0; }&lt;BR /&gt;          $ cc -Ae -o t1 t1.c&lt;BR /&gt;          $ cc -Ae -Wl,-D0x10000000 -o t2 t2.c&lt;BR /&gt;          $ ./t1&lt;BR /&gt;          exec(2): text and data both in same quadrant&lt;BR /&gt;          execve: Bad address&lt;BR /&gt;          $&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;so to fix the problem you need to check first if you have install patch : &lt;BR /&gt;s800 10.20 Advanced VxFS B.10.20 cumulative patch &lt;BR /&gt;&lt;BR /&gt;if not please install the patch list to solve the problem : &lt;BR /&gt;  PHCO_23437    B.10.00.00.AA  LVM commands cumulative patch&lt;BR /&gt;  PHCO_23844    B.10.00.00.AA  fsck_vxfs(1M) cumulative patch&lt;BR /&gt;  PHKL_16751    B.10.00.00.AA  SIG_IGN/SIGCLD,LVM,JFS,PCI/SCSI cumulative patch&lt;BR /&gt;&lt;BR /&gt;  PHKL_16957    B.10.00.00.AA  Physical dump devices configuration patch&lt;BR /&gt;  PHKL_17858    B.10.00.00.AA  Fix for mount/access of disc sections.&lt;BR /&gt;  PHKL_20611    B.10.00.00.AA  Correct process hangs on ufs inodes&lt;BR /&gt;  PHKL_21595    B.10.00.00.AA  PHKL_19540 PHKL_18198&lt;BR /&gt;  PHKL_21661    B.10.00.00.AA  lo_realvfs panic fix, Cumulative LOFS patch&lt;BR /&gt;  PHKL_23419    B.10.00.00.AA  VxFS mount(2) cumulative patch&lt;BR /&gt;  PHKL_23612    B.10.00.00.AA  LVM cumulative patch, array controller hot-swap&lt;BR /&gt;  PHKL_24066    B.10.00.00.AA  Advanced VxFS B.10.20 cumulative patch&lt;BR /&gt;  PHNE_22507    B.10.00.00.AA  cumulative ARPA Transport patch&lt;BR /&gt;&lt;BR /&gt;please give me a feedback to know if it solve your problem</description>
      <pubDate>Mon, 01 Apr 2002 10:48:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694335#M56252</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2002-04-01T10:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694336#M56253</link>
      <description>Satish,&lt;BR /&gt;&lt;BR /&gt;Has anything changed on your system? Have you lately had an increase in the number of users and processes (check maxusers, nproc, open file parameters)? Like Erin has pointed out, and something I do, is to make sure you have the latest patches installed.&lt;BR /&gt;&lt;BR /&gt;live free or die&lt;BR /&gt;harry</description>
      <pubDate>Mon, 01 Apr 2002 12:35:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694336#M56253</guid>
      <dc:creator>harry d brown jr</dc:creator>
      <dc:date>2002-04-01T12:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with shell</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694337#M56254</link>
      <description>Hi Eran,&lt;BR /&gt;&lt;BR /&gt;   Thanks for the information. Thats good and useful. I appreciate for collecting this much info for me. Thaks again.&lt;BR /&gt;&lt;BR /&gt;Cheers...&lt;BR /&gt;Satish.</description>
      <pubDate>Thu, 04 Apr 2002 14:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-with-shell/m-p/2694337#M56254</guid>
      <dc:creator>Satish Y</dc:creator>
      <dc:date>2002-04-04T14:47:27Z</dc:date>
    </item>
  </channel>
</rss>

