<?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: Kernel Rebuild fails wit exitcode -71 in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156002#M455496</link>
    <description>:^A/usr/sbin/config: Syntax error at line 1 : `(' is not expected.^&lt;BR /&gt;&lt;BR /&gt;Typically this means someone tried to use the shell on a binary file:&lt;BR /&gt;sh /usr/bin/pwd&lt;BR /&gt;&lt;BR /&gt;Is /usr/sbin/config suppose to be a binary?</description>
    <pubDate>Tue, 10 Feb 2009 12:19:40 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-02-10T12:19:40Z</dc:date>
    <item>
      <title>Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156000#M455494</link>
      <description>Hi there. I am trying to make some changes on my kernel parameters and I end up with the following error:&lt;BR /&gt;&lt;BR /&gt;Cannot build a kernel using /usr/sbin/config.  The standard output of the command is shown below: /usr/sbin/config: Syntax error at line 1 : `(' is not expected. The command exitted with exitcode -71.&lt;BR /&gt;&lt;BR /&gt;I attach the sam.log file when I tried to do this and as I show in the bdf output I have enough space on my lvols.&lt;BR /&gt;Also I already executed the swinv and I am planning to install the patches the inventory said this evening, but I donÂ´t know if they will work.&lt;BR /&gt;I already installed the patch PHCO_36562 and did not say anything bad about the installation or postinstallation (I guess because it didn't need to rebuild the kernel).&lt;BR /&gt;I have been looking at the posts that have kernel rebuild errors but didn't find any clue on why is this happening (maybe I'm getting blind by now).&lt;BR /&gt;Any help would be great and thanksfull.&lt;BR /&gt;&lt;BR /&gt;# uname -a&lt;BR /&gt;HP-UX baleares B.11.11 U 9000/800 1107474671 unlimited-user license&lt;BR /&gt;# bdf&lt;BR /&gt;Filesystem          kbytes    used   avail %used Mounted on&lt;BR /&gt;/dev/vg00/lvol3     204800  167680   37120   82% /&lt;BR /&gt;/dev/vg00/lvol1     298928   40456  228576   15% /stand&lt;BR /&gt;/dev/vg00/lvol8    4710400 3276096 1423312   70% /var&lt;BR /&gt;/dev/vg00/lvol9     204800    2684  189597    1% /var/spool&lt;BR /&gt;/dev/vg00/mail     2048000  268636 1668187   14% /var/mail&lt;BR /&gt;/dev/vg00/lvol7    1867776 1353216  510576   73% /usr&lt;BR /&gt;/dev/vg00/lvol4     204800   11832  191488    6% /tmp&lt;BR /&gt;/dev/vg00/ora817   2605056 2123226  452970   82% /ora8&lt;BR /&gt;/dev/vg00/lvol6    2342912 1965720  374272   84% /opt&lt;BR /&gt;/dev/vg00/lvol5      24576    2424   21984   10% /home&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2009 11:29:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156000#M455494</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T11:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156001#M455495</link>
      <description>I attach as well the kmtune output</description>
      <pubDate>Tue, 10 Feb 2009 11:30:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156001#M455495</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T11:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156002#M455496</link>
      <description>:^A/usr/sbin/config: Syntax error at line 1 : `(' is not expected.^&lt;BR /&gt;&lt;BR /&gt;Typically this means someone tried to use the shell on a binary file:&lt;BR /&gt;sh /usr/bin/pwd&lt;BR /&gt;&lt;BR /&gt;Is /usr/sbin/config suppose to be a binary?</description>
      <pubDate>Tue, 10 Feb 2009 12:19:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156002#M455496</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-10T12:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156003#M455497</link>
      <description>Hi Dennis. I get this:&lt;BR /&gt;&lt;BR /&gt;# sh /usr/bin/pwd&lt;BR /&gt;sh: /usr/bin/pwd: Execute permission denied.&lt;BR /&gt;# ll /usr/bin/pwd&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          12288 Nov 14  2000 /usr/bin/pwd&lt;BR /&gt;# ls /usr/sbin/config&lt;BR /&gt;/usr/sbin/config&lt;BR /&gt;# ll /usr/sbin/config&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           7610 Jan 13  2006 /usr/sbin/config&lt;BR /&gt;&lt;BR /&gt;What do you mean with "Typically this means someone tried to use the shell on a binary file"?</description>
      <pubDate>Tue, 10 Feb 2009 13:24:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156003#M455497</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T13:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156004#M455498</link>
      <description>I get with the check_patches application the report I attach. I tried to configure woth swconfig these patches but they are all skipped.&lt;BR /&gt;I am not sure if this has to be with all this thing is happening here.&lt;BR /&gt;&lt;BR /&gt;#  /usr/contrib/bin/check_patches                  &lt;BR /&gt;Obtaining information on installed patches&lt;BR /&gt;Checking installed version of /usr/sbin/swconfig&lt;BR /&gt;Checking for invalid patches&lt;BR /&gt;Checking object module checksums for active patch fileset   813 of   813&lt;BR /&gt;Checking patch filesets for active patch   415 of   415&lt;BR /&gt;Checking state for patch fileset  1443 of  1443&lt;BR /&gt;Checking patch_state for patch fileset  1443 of  1443&lt;BR /&gt;Running swverify on all patch filesets, this may take several minutes&lt;BR /&gt;RESULT: Problems found, review /tmp/check_patches.report for details.</description>
      <pubDate>Tue, 10 Feb 2009 13:39:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156004#M455498</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T13:39:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156005#M455499</link>
      <description>&amp;gt;# sh /usr/bin/pwd&lt;BR /&gt;sh: /usr/bin/pwd: Execute permission denied.&lt;BR /&gt;&lt;BR /&gt;Hmm, maybe it only happens with ksh or it depends on the file.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;-r-xr-xr-x 7610 Jan 13 2006 /usr/sbin/config&lt;BR /&gt;&lt;BR /&gt;Hmm, this is too small to be a binary.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;What do you mean with "Typically this means someone tried to use the shell on a binary file"?&lt;BR /&gt;&lt;BR /&gt;Try: ksh /usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;&amp;gt;I tried to configure with swconfig these patches but they are all skipped.&lt;BR /&gt;&lt;BR /&gt;It probably isn't important.&lt;BR /&gt;Did you only do the ones at the end?&lt;BR /&gt;swconfig PHKL_28512 PHKL_31905 PHKL_32126 PHKL_32927 \&lt;BR /&gt;PHKL_33844 PHKL_34153 PHKL_35037 PHKL_35421 PHNE_30103&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2009 13:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156005#M455499</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-10T13:54:50Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156006#M455500</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Check if config is a binary with &lt;BR /&gt;file /usr/sbin/config.</description>
      <pubDate>Tue, 10 Feb 2009 14:01:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156006#M455500</guid>
      <dc:creator>smatador</dc:creator>
      <dc:date>2009-02-10T14:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156007#M455501</link>
      <description>Hi Dennis. With respect to the patches, I already tried with all of them, not only the last ones.&lt;BR /&gt;&lt;BR /&gt;About the /usr/sbin/config file, in another 11.11 system, I have a bigget file than this one.&lt;BR /&gt;&lt;BR /&gt;On this system (it fails to rebuild the kernel)&lt;BR /&gt;#  ll /usr/sbin/config&lt;BR /&gt;-r-xr-xr-x   1 bin        bin           7610 Jan 13  2006 /usr/sbin/config&lt;BR /&gt;&lt;BR /&gt;On my other one (works perfectly)&lt;BR /&gt;desar:/root#  ll /usr/sbin/config&lt;BR /&gt;-r-xr-xr-x   1 bin        bin          98304 Nov 14  2000 /usr/sbin/config&lt;BR /&gt;&lt;BR /&gt;With the ksh matter, I get the systax error that sam tells me:&lt;BR /&gt;&lt;BR /&gt;# ksh /usr/bin/ksh &lt;BR /&gt;/usr/bin/ksh[156]: ^Y@#:  not found&lt;BR /&gt;/usr/bin/ksh[156]: syntax error at line 1 : `(' unexpected</description>
      <pubDate>Tue, 10 Feb 2009 14:02:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156007#M455501</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T14:02:08Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156008#M455502</link>
      <description>Hi smatador. Another difference with my working system:&lt;BR /&gt;&lt;BR /&gt;On my working system I have this:&lt;BR /&gt;desar:/root# file /usr/sbin/config&lt;BR /&gt;/usr/sbin/config:       PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;And on my system is not working this:&lt;BR /&gt;# file /usr/sbin/config&lt;BR /&gt;/usr/sbin/config:       commands text&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Feb 2009 14:06:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156008#M455502</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T14:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156009#M455503</link>
      <description>Hi &lt;BR /&gt;greet difference, corruption of the config file&lt;BR /&gt;On my working system I have this:&lt;BR /&gt;desar:/root# file /usr/sbin/config&lt;BR /&gt;/usr/sbin/config: PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;And on my system is not working this:&lt;BR /&gt;# file /usr/sbin/config&lt;BR /&gt;/usr/sbin/config: commands text&lt;BR /&gt;&lt;BR /&gt;in fact you config file is modify &lt;BR /&gt;cp /usr/sbin/config /usr/sbin/config.old&lt;BR /&gt;to check after that what is it with &lt;BR /&gt;vi /usr/sbin/config.old&lt;BR /&gt;and for the moment &lt;BR /&gt;copy the desar /usr/sbin/config file on your system.&lt;BR /&gt;&lt;BR /&gt;try after the check_patch</description>
      <pubDate>Tue, 10 Feb 2009 14:16:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156009#M455503</guid>
      <dc:creator>smatador</dc:creator>
      <dc:date>2009-02-10T14:16:02Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156010#M455504</link>
      <description>Thanks for your help to both of us.&lt;BR /&gt;At the end was the fact that smatador was pointing, that the /usr/sbin/config was corrupted.&lt;BR /&gt;I got it form another server and everything worked out just fine.&lt;BR /&gt;I was able to modify the kernel parameters and to update the system patches as well.&lt;BR /&gt;Thanks a lot to both of them...</description>
      <pubDate>Tue, 10 Feb 2009 16:26:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156010#M455504</guid>
      <dc:creator>catastro</dc:creator>
      <dc:date>2009-02-10T16:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: Kernel Rebuild fails wit exitcode -71</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156011#M455505</link>
      <description>&amp;gt;ME: maybe it only happens with ksh or it depends on the file.&lt;BR /&gt;&lt;BR /&gt;Ah, it depends on the shell and architecture:&lt;BR /&gt;$ ksh /usr/bin/pwd&lt;BR /&gt;/usr/bin/pwd: syntax error at line 1 : `(' unexpected&lt;BR /&gt;$ sh /usr/bin/pwd&lt;BR /&gt;sh: /usr/bin/pwd: Execute permission denied.&lt;BR /&gt;$ csh /usr/bin/pwd&lt;BR /&gt;Ã ,X: Event not found.&lt;BR /&gt;$ csh /usr/bin/pwd&lt;BR /&gt;Too many ('s.</description>
      <pubDate>Tue, 10 Feb 2009 22:08:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/kernel-rebuild-fails-wit-exitcode-71/m-p/5156011#M455505</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-02-10T22:08:15Z</dc:date>
    </item>
  </channel>
</rss>

