- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Kernel Rebuild fails wit exitcode -71
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 03:29 AM
тАО02-10-2009 03:29 AM
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.
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.
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.
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).
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).
Any help would be great and thanksfull.
# uname -a
HP-UX baleares B.11.11 U 9000/800 1107474671 unlimited-user license
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 167680 37120 82% /
/dev/vg00/lvol1 298928 40456 228576 15% /stand
/dev/vg00/lvol8 4710400 3276096 1423312 70% /var
/dev/vg00/lvol9 204800 2684 189597 1% /var/spool
/dev/vg00/mail 2048000 268636 1668187 14% /var/mail
/dev/vg00/lvol7 1867776 1353216 510576 73% /usr
/dev/vg00/lvol4 204800 11832 191488 6% /tmp
/dev/vg00/ora817 2605056 2123226 452970 82% /ora8
/dev/vg00/lvol6 2342912 1965720 374272 84% /opt
/dev/vg00/lvol5 24576 2424 21984 10% /home
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 03:30 AM
тАО02-10-2009 03:30 AM
Re: Kernel Rebuild fails wit exitcode -71
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 04:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 05:24 AM
тАО02-10-2009 05:24 AM
Re: Kernel Rebuild fails wit exitcode -71
# sh /usr/bin/pwd
sh: /usr/bin/pwd: Execute permission denied.
# ll /usr/bin/pwd
-r-xr-xr-x 1 bin bin 12288 Nov 14 2000 /usr/bin/pwd
# ls /usr/sbin/config
/usr/sbin/config
# ll /usr/sbin/config
-r-xr-xr-x 1 bin bin 7610 Jan 13 2006 /usr/sbin/config
What do you mean with "Typically this means someone tried to use the shell on a binary file"?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 05:39 AM
тАО02-10-2009 05:39 AM
Re: Kernel Rebuild fails wit exitcode -71
I am not sure if this has to be with all this thing is happening here.
# /usr/contrib/bin/check_patches
Obtaining information on installed patches
Checking installed version of /usr/sbin/swconfig
Checking for invalid patches
Checking object module checksums for active patch fileset 813 of 813
Checking patch filesets for active patch 415 of 415
Checking state for patch fileset 1443 of 1443
Checking patch_state for patch fileset 1443 of 1443
Running swverify on all patch filesets, this may take several minutes
RESULT: Problems found, review /tmp/check_patches.report for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 05:54 AM
тАО02-10-2009 05:54 AM
Re: Kernel Rebuild fails wit exitcode -71
sh: /usr/bin/pwd: Execute permission denied.
Hmm, maybe it only happens with ksh or it depends on the file.
>-r-xr-xr-x 7610 Jan 13 2006 /usr/sbin/config
Hmm, this is too small to be a binary.
>What do you mean with "Typically this means someone tried to use the shell on a binary file"?
Try: ksh /usr/bin/ksh
>I tried to configure with swconfig these patches but they are all skipped.
It probably isn't important.
Did you only do the ones at the end?
swconfig PHKL_28512 PHKL_31905 PHKL_32126 PHKL_32927 \
PHKL_33844 PHKL_34153 PHKL_35037 PHKL_35421 PHNE_30103
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 06:01 AM
тАО02-10-2009 06:01 AM
Re: Kernel Rebuild fails wit exitcode -71
Check if config is a binary with
file /usr/sbin/config.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 06:02 AM
тАО02-10-2009 06:02 AM
Re: Kernel Rebuild fails wit exitcode -71
About the /usr/sbin/config file, in another 11.11 system, I have a bigget file than this one.
On this system (it fails to rebuild the kernel)
# ll /usr/sbin/config
-r-xr-xr-x 1 bin bin 7610 Jan 13 2006 /usr/sbin/config
On my other one (works perfectly)
desar:/root# ll /usr/sbin/config
-r-xr-xr-x 1 bin bin 98304 Nov 14 2000 /usr/sbin/config
With the ksh matter, I get the systax error that sam tells me:
# ksh /usr/bin/ksh
/usr/bin/ksh[156]: ^Y@#: not found
/usr/bin/ksh[156]: syntax error at line 1 : `(' unexpected
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 06:06 AM
тАО02-10-2009 06:06 AM
Re: Kernel Rebuild fails wit exitcode -71
On my working system I have this:
desar:/root# file /usr/sbin/config
/usr/sbin/config: PA-RISC1.1 shared executable dynamically linked
And on my system is not working this:
# file /usr/sbin/config
/usr/sbin/config: commands text
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 06:16 AM
тАО02-10-2009 06:16 AM
Re: Kernel Rebuild fails wit exitcode -71
greet difference, corruption of the config file
On my working system I have this:
desar:/root# file /usr/sbin/config
/usr/sbin/config: PA-RISC1.1 shared executable dynamically linked
And on my system is not working this:
# file /usr/sbin/config
/usr/sbin/config: commands text
in fact you config file is modify
cp /usr/sbin/config /usr/sbin/config.old
to check after that what is it with
vi /usr/sbin/config.old
and for the moment
copy the desar /usr/sbin/config file on your system.
try after the check_patch