Sponsored Content
Operating Systems AIX Install RPM from NIM LPP without smitty Post 302900474 by bakunin on Wednesday 7th of May 2014 05:14:11 AM
Old 05-07-2014
Quote:
Originally Posted by n.i.b
... but when I type this command in terminal, I get this error:

Code:
# /usr/lpp/bos.sysmgt/nim/methods/c_sm_nim cust  -l 'RPMS_AIX53' -o '@@R:sudo-1.6.9p23-2noldap 1.6.9p23-2noldap' -f '' -f '' -f 'Y' -f 'c' -f 'N' -f 'g' -f 'X' -f '' -f ''
0042-001 nimclient: processing error encountered on "c003s1154":
   0042-175 c_showres: An unexpected result was returned by the "/usr/lib/instl/sm_inst" command:

0042-231 c_sm_nim:  Unable to generate the formatted list of software
to install.

This command is not supposed to be used outside SMIT. Use a simple "nim" command, which is done in two steps: first allocate the resource on the nim server, then use it on the client:

Code:
nim -o allocate -a lpp_source=<lpp_source> <client>
nim -o cust -a lpp_source=<lpp_source> -a filesets=<fileset> <client>

I hope this helps.

bakunin
This User Gave Thanks to bakunin For This Post:
 

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
BOS_INSTALL(8)						       AFS Command Reference						    BOS_INSTALL(8)

NAME
bos_install - Installs a new version of a binary file SYNOPSIS
bos install -server <machine name> -file <files to install>+ [-dir <destination dir>] [-cell <cell name>] [-noauth] [-localauth] [-help] bos i -s <machine name> -f <files to install>+ [-d <destination dir>] [-c <cell name>] [-n] [-l] [-h] DESCRIPTION
The bos install command copies each binary file specified with the -file argument to the local disk of the server machine named by the -server argument, which is normally the binary distribution machine for its CPU/operating system type. The destination directory is /usr/lib/openafs unless the -dir argument indicates an alternate directory. The source file's UNIX mode bits are preserved in the transfer. If there is already a file of the same name in the destination directory, the BOS Server automatically saves it by adding a ".BAK" extension. If there is a current ".BAK" version at least seven days old, it replaces the current ".OLD" version. If there is no current ".OLD" version, the current ".BAK" version becomes the ".OLD" version automatically. The bos getdate command displays the timestamps on the current versions of the file. To start using the new binary immediately, issue the bos restart command. Otherwise, the BOS Server automatically restarts the process at the time defined in the /etc/openafs/BosConfig file; use the bos getrestart command to display the time and the bos setrestart time to set it. OPTIONS
-server <machine name> Indicates the binary distribution machine on which to install the new binaries. Identify the machine by IP address or its host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8). If the machine is not a binary distribution machine and is running an "upclientbin" process, then the files are overwritten the next time the "upclientbin" process fetches the corresponding file from the distribution machine (by default within five minutes). -file <files to install>+ Specifies the complete pathname of each binary file to copy into the destination directory. Each source directory can be on the local disk or in AFS, in which case the issuer of the bos install command must have the necessary AFS access rights and the local machine must run the Cache Manager. For the BOS Server to create ".BAK" and ".OLD" versions, the last element in the pathname (the filename) must match the name of a file in the destination directory. bos_create(8) lists the standard binary file names. -dir <destination dir> Provides the complete pathname of the local disk directory in which to install binary files. It is necessary only if the destination directory is not /usr/lib/openafs. -cell <cell name> Names the cell in which to run the command. Do not combine this argument with the -localauth flag. For more details, see bos(8). -noauth Assigns the unprivileged identity "anonymous" to the issuer. Do not combine this flag with the -localauth flag. For more details, see bos(8). -localauth Constructs a server ticket using a key from the local /etc/openafs/server/KeyFile file. The bos command interpreter presents the ticket to the BOS Server during mutual authentication. Do not combine this flag with the -cell or -noauth options. For more details, see bos(8). -help Prints the online help for this command. All other valid options are ignored. EXAMPLES
The following command copies the file /afs/abc.com/rs_aix42/usr/lib/openafs/vlserver to the file /usr/lib/openafs/vlserver on the machine "fs3.abc.com", which is the binary distribution machine for server machines running AIX 4.2 in the "abc.com" cell. The current version of the /usr/lib/openafs/vlserver file is moved to /usr/lib/openafs/vlserver.BAK. % bos install -server fs3.abc.com -file /afs/abc.com/rs_aix42/usr/lib/openafs/vlserver PRIVILEGE REQUIRED
The issuer must be listed in the /etc/openafs/server/UserList file on the machine named by the -server argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is included. The bos install command cannot be run against servers which are in restricted mode. SEE ALSO
BosConfig(5), KeyFile(5), UserList(5), bos(8), bos_getdate(8), bos_getrestart(8), bos_restart(8), bos_setrestart(8) COPYRIGHT
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved. This documentation is covered by the IBM Public License Version 1.0. It was converted from HTML to POD by software written by Chas Williams and Russ Allbery, based on work by Alf Wachsmann and Elizabeth Cassell. OpenAFS 2012-03-26 BOS_INSTALL(8)
All times are GMT -4. The time now is 10:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy