Sponsored Content
Operating Systems AIX Install RPM from NIM LPP without smitty Post 302900637 by n.i.b on Thursday 8th of May 2014 02:12:22 AM
Old 05-08-2014
@ross.mather
Thanks, I will try that method also.

My buddy also found that install method from client:

Code:
CLIENT # nimclient -o cust -a lpp_source=RPMS_AIX53 -a  filesets=sudo-1.6.9p23-2noldap.aix5.3.ppc.rpm -a accept_licenses=yes -a  show_progress=yes

As for @bakunin method ... it also work, displays errors, but works, here are the results:

Before.

Code:
CLIENT # rpm -qa
AIX-rpm-7.1.1.15-1
tcl-8.4.7-3
tk-8.4.7-3
expect-5.42.1-3
bash-3.2-1

After.
Code:
CLIENT # rpm -qa
sudo-1.6.9p23-2noldap
tcl-8.4.7-3
tk-8.4.7-3
expect-5.42.1-3
bash-3.2-1
AIX-rpm-7.1.2.0-2

Commands from NIM.

Code:
NIM # nim -F -o allocate -a lpp_source="RPMS_AIX53" "CLIENT"
NIM # nim -F -o deallocate -a lpp_source="nim_script" "CLIENT"
NIM # nim -o cust -a lpp_source="RPMS_AIX53" -a filesets="sudo-1.6.9p23-2noldap 1.6.9p23-2noldap" "CLIENT"

Validating RPM package selections ...

Please wait...
sudo                        ##################################################

+-----------------------------------------------------------------------------+
                          RPM  Error Summary:
+-----------------------------------------------------------------------------+
The following packages were requested for installation 
but were not found on the media:
1.6.9p23-2noldap

0042-001 nim: processing error encountered on "master":
   0042-001 m_cust: processing error encountered on "CLIENT":
   0042-175 c_script: An unexpected result was returned by the "NIM:/export/nim/scripts/CLIENT.script" command:

0042-175 c_installp: An unexpected result was returned by the "/usr/sbin/installp" command:
See the log file:
        /var/adm/ras/nim.installp
for details or use the "showlog" operation.



NIM # cat /export/nim/scripts/CLIENT.script

#!/bin/ksh
CLIENT.script: END
# nim_script for CLIENT
result=success

export NIM_NON_41_MASTER=yes
export NIM_SHOW_PROGRESS=yes
export NIM_SCRIPT=yes
# lpp_source=RPMS_AIX53
/usr/lpp/bos.sysmgt/nim/methods/c_installp ${VERBOSE} \
        -afilesets="sudo-1.6.9p23-2noldap 1.6.9p23-2noldap" \
        -alpp_source=NIM:/export/PACKAGES/RPMS_AIX53
[[ $? != 0 ]] && result=failure

[[ ${result} = success ]] && exit 0 || exit 1

In other words, problem solved, thank You for help gentleman.

Last edited by n.i.b; 05-08-2014 at 05:42 AM..
 

10 More Discussions You Might Find Interesting

1. AIX

Linux install from NIM

Has anyone ever done this and is it easy to do with SLES9/10? All I can find so far is this link http://www-941.ibm.com/collaboration/wiki/display/Wikip5/16Jan07+Using+NIM+to+Install+VIO+and+Linux Can you still use all the feature of autoyast etc? TIA. (1 Reply)
Discussion started by: backslash
1 Replies

2. AIX

NIM install hangs on LED 0608

Hi guys, I am trying to install a new machine via nim but it is hanging on 0608 => it should be a network issue here the situation hoping you will be able to help: server NIM on a subnet/IP 10.36.12.64 client on 161.43.56.25 the ping test is successful but when I launch the isntall it... (9 Replies)
Discussion started by: touny
9 Replies

3. Shell Programming and Scripting

How to install expect rpm?

Hi , I am tryin to install expect rpm on my linux machine. I have the source file expect-5.42.1-1.src.rpm I am doin this rpm -ivh expect-5.42.1-1.src.rpm But I am gettin this error warning: expect-5.42.1-1.src.rpm: V3 DSA signature : NOKEY, key ID db42a60e error: cannot... (1 Reply)
Discussion started by: eamani_sun
1 Replies

4. SuSE

How to install .src.rpm ? ( source rpm )

Hi, I have got few RPM's from rpmfind.net ( mainly gcc ). But it seems to be src files instead of the image. so I think we have to build the src files according to target machine using rpmbuild. Can any one help me with 1) Various options of rpm build that have to be taken care 2)... (3 Replies)
Discussion started by: Sivaswami
3 Replies

5. AIX

AIX 5.1 install bos.sysmgt.nim.master failed

I was trying to install bos.sysmgt.nim.master on AIX 5.1 with a mounted NFS source, but it failed: # installp -agXd /nfs/aix51cd1 bos.sysmgt.nim.master installp: APPLYING software for: bos.sysmgt.nim.master 5.1.0.50 restore: 0511-123 The volume on... (0 Replies)
Discussion started by: ezlee
0 Replies

6. UNIX for Dummies Questions & Answers

RPM uninstall/install

Running FC5 on a Dell desktop. When I compile a LaTex file, it goes fine but only outlines blank boxes where figs should be. When I send the figs.eps and Tex file to a friend, his compiles and imbeds the fig. in the text of the DVI output using my files without add'nl control cards. I conclude... (1 Reply)
Discussion started by: blann
1 Replies

7. UNIX for Dummies Questions & Answers

RPM install problem

I'm trying to install mysql on a server, but I keep getting an error. Can anyone offer any help? Below I've listed a bunch of info that you might find helpful. Here are the commands I'm using. $ ls MySQL-client-community-5.1.35-0.rhel3.i386.rpm... (2 Replies)
Discussion started by: wsetchell
2 Replies

8. AIX

OS install from NIM fails

Hi Guys, The ping is failing SMS menu on the client to the interface for a network boot from NIM. I checked the cables, they are plugged in and lights are blinking. this is the error i am getting when I am pushing the OS on NIM Command: OK stdout: yes stderr: no ... (2 Replies)
Discussion started by: ithinksgreen
2 Replies

9. AIX

NIM - install up-to-date VIOS ?

Hello, Is it possible to install up-to-date vios in one NIM operation ? For example I have vios v2.1 DVD and current vios version is v2.2.1.3(we update to fixpack v2.2.1.1_FP25 and apply service pack 2.2.1.3-FP25-SP01) I know it's possible if we install AIX using NIM - we just update... (0 Replies)
Discussion started by: vilius
0 Replies

10. AIX

Install software in another directory with smitty install

Hello, I would like to ask if someone knows if is possible to install sofware via smitty or installp in another directorie , or we have to accept the default location? i would like to intall in /opt folder , but smitty installed it in /usr Thanks in advance (4 Replies)
Discussion started by: prpkrk
4 Replies
IBID-PB-CLIENT(1)					     Ibid - Multi-protocol Bot						 IBID-PB-CLIENT(1)

NAME
ibid-pb-client - RPC Client for Ibid SYNOPSIS
ibid-pb-client [options...] message message ibid-pb-client [options...] plugin feature method [parameter...] ibid-pb-client -h DESCRIPTION
This utility is for passing events to a running Ibid bot, or executing RPC-exposed functions remotely. It communicates with the pb source on the Ibid. message is a text message as could be sent to the bot by an IM source. The message is processed normally by the bot. feature is the name of the feature to invoke exposed method method on, directly. parameters are passed directly to the method. They can be specified positionally or by key, using the same syntax as Python: key=value. They may be encoded in JSON, if not valid JSON they will be treated as strings. The output is a JSON-encoded response. OPTIONS
-s HOSTNAME, --server=SERVER Connect to the Ibid running on SERVER, by default it connects to localhost. -p FILE, --port=PORT Connect to the pb source running on port PORT, by default 8789. -h, --help Show a help message and exit. SEE ALSO
ibid(1), http://ibid.omnia.za.net/ Ibid 0.1 March 2010 IBID-PB-CLIENT(1)
All times are GMT -4. The time now is 05:49 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy