[HPADM] SUMMARY: /usr/ccs/bin/ar corruption

From: Shaw, Marco (Marco.Shaw@aliant.ca)
Date: Tue Oct 17 2006 - 19:37:06 EDT


I was able to fix by simply copying ar
from another 11.23 system. Also had to copy ld.

I didn't catch on to the "ELF-32 exe object file" error.

Strange, but this seems to come from a IA64 install.

Thanks to these guys for responding:
Bill Hassell [bill@billhassell.com]
Eef Hartman [E.J.M.Hartman@math.tudelft.nl]
Jeff Lightner [jlightner@water.com]
James J. Perry [jjperry@water.com]
Cazarez, Vidal [SFOKT] [Vidal.Cazarez@united.com]

---------Original query----------

System: HP-UX 11.23 PA-RISC

I'm getting errors with ar trying to install some packages.

root@[foo]/var/adm/sw> ls -l /usr/ccs/bin/ar
-r-xr-xr-x 1 root bin 28112 Oct 29 2003 /usr/ccs/bin/ar
root@[foo]/var/adm/sw> file /usr/ccs/bin/ar
/usr/ccs/bin/ar: ELF-32 executable object file
root@[foo]/var/adm/sw> /usr/ccs/bin/ar
ksh: /usr/ccs/bin/ar: cannot execute

That size doesn't match at all the size of ar on another of
our HP-UX 11.23 servers.

We don't have a backup of this system (might have a Ignite
done, not sure). Can I simply copy ar from another server
running the same OS? Can I reinstall a particular package?

What's the easiest way to fix this?

Marco

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:54 EDT