stadmin
asked on
installp: cannot execute binary file
I am trying to install scom client for AIX and it gives below error.
bash-3.2# installp
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2# installp -X -d scx-1.0.4-248.aix.5.ppc.lp p scx.rte
bash: /usr/sbin/installp: cannot execute binary file
running installp itself is not working.
aix version -5.3
bash-3.2# installp
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2# installp -X -d scx-1.0.4-248.aix.5.ppc.lp
bash: /usr/sbin/installp: cannot execute binary file
running installp itself is not working.
aix version -5.3
... and for the "cannot execute ..." thing -
Are you really on AIX?
Did you upgrade the AIX system (new TL or Service Pack) and forgot to reboot?
Are you root?
Normally, such an error should not happen with AIX's installp.
Issue file /usr/sbin/installp and see what you get. If in doubt, please post the outcome.
Are you really on AIX?
Did you upgrade the AIX system (new TL or Service Pack) and forgot to reboot?
Are you root?
Normally, such an error should not happen with AIX's installp.
Issue file /usr/sbin/installp and see what you get. If in doubt, please post the outcome.
ASKER
Hi Thanks for help, II did attempted your suggestion and posted below the outcome.
moved file to inst.images and tried installing it :-
bash-3.2# cp scx-1.0.4-248.aix.5.ppc.lp p /usr/sys/inst.images/
bash-3.2# inutoc /usr/sys/inst.images
bash-3.2# installp -acX -d /usr/sys/inst.images/ scx.rte
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2#
yes, i am on a aix version below:-
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2007.
login: root
root's Password:
************************** ********** ********** ********** ********** ********** ***
* *
* *
* Welcome to AIX Version 5.3! *
*
just running installp also giveing this error.. and its not after any ML updates and just rebooted three days back.
bash-3.2#
bash-3.2# /usr/sbin/installp
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2#
moved file to inst.images and tried installing it :-
bash-3.2# cp scx-1.0.4-248.aix.5.ppc.lp
bash-3.2# inutoc /usr/sys/inst.images
bash-3.2# installp -acX -d /usr/sys/inst.images/ scx.rte
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2#
yes, i am on a aix version below:-
AIX Version 5
(C) Copyrights by IBM and by others 1982, 2007.
login: root
root's Password:
**************************
* *
* *
* Welcome to AIX Version 5.3! *
*
just running installp also giveing this error.. and its not after any ML updates and just rebooted three days back.
bash-3.2#
bash-3.2# /usr/sbin/installp
bash: /usr/sbin/installp: cannot execute binary file
bash-3.2#
Now that's just weird!
It looks quite as if you were trying to execute some non-AIX binary.
Please post the results of
file /usr/sbin/installp
what /usr/sbin/installp
ls -l /usr/sbin/installp
I will compare this to what I see on my systems.
wmp
It looks quite as if you were trying to execute some non-AIX binary.
Please post the results of
file /usr/sbin/installp
what /usr/sbin/installp
ls -l /usr/sbin/installp
I will compare this to what I see on my systems.
wmp
ASKER
Thank you wmp,
pls find below the outputs...
bash-3.2# what /usr/sbin/installp
/usr/sbin/installp:
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
79 1.10 src/bos/usr/ccs/lib/libm/f loor.c, libm, bos53A, a2004_31D2 7/7/04 13:54:29
08 1.5 src/bos/usr/ccs/lib/libm/f env.c, libm, bos53J, j2007_07B8 12/26/06 01:00:09
86 1.37 src/bos/usr/ccs/lib/libm/p ow.c, libm, bos53D, d2005_24C3 6/6/05 06:53:25
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
79 1.10 src/bos/usr/ccs/lib/libm/f loor.c, libm, bos53A, a2004_31D2 7/7/04 13:54:29
08 1.5 src/bos/usr/ccs/lib/libm/f env.c, libm, bos53J, j2007_07B8 12/26/06 01:00:09
86 1.37 src/bos/usr/ccs/lib/libm/p ow.c, libm, bos53D, d2005_24C3 6/6/05 06:53:25
23 1.5 src/bos/usr/ccs/lib/libpth reads/init .c, libpth, bos53H, h2006_10B1 3/5/06 21:33
:24
61 1.15 src/bos/usr/ccs/lib/libc/_ _threads_i nit.c, libcthrd, bos53H, h2006_10B1 3/
5/06 16:44:58
file /usr/sbin/installp
/usr/sbin/installp: backup/restore format file
bash-3.2# ls -l /usr/sbin/installp
-rwxrwxrwx 1 root system 46694400 Dec 29 00:23 /usr/sbin/installp
pls find below the outputs...
bash-3.2# what /usr/sbin/installp
/usr/sbin/installp:
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
79 1.10 src/bos/usr/ccs/lib/libm/f
08 1.5 src/bos/usr/ccs/lib/libm/f
86 1.37 src/bos/usr/ccs/lib/libm/p
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
79 1.10 src/bos/usr/ccs/lib/libm/f
08 1.5 src/bos/usr/ccs/lib/libm/f
86 1.37 src/bos/usr/ccs/lib/libm/p
23 1.5 src/bos/usr/ccs/lib/libpth
:24
61 1.15 src/bos/usr/ccs/lib/libc/_
5/06 16:44:58
file /usr/sbin/installp
/usr/sbin/installp: backup/restore format file
bash-3.2# ls -l /usr/sbin/installp
-rwxrwxrwx 1 root system 46694400 Dec 29 00:23 /usr/sbin/installp
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Replaced installp binnery and it worked.
Any reason for grade B??
the -d flag of installp points to a device or a directory containing packages.
You're obviously trying to use -d to point to a file, which is wrong.
Move scx-1.0.4-248.aix.5.ppc.lp
Then install with
To install with commit (do not save the old version) use additionally the -c flag of installp -
or commit the package after some testing with
Good luck!
wmp