Solved

AIX:  Can not install software

Posted on 2015-02-03
1
681 Views
Last Modified: 2015-02-04
AIX:  Can not install software

I have the following software

# ls /home/mq_inst/WS_MQ_FOR_AIX_V8.0_EIMAGE.tar.Z
/home/mq_inst/WS_MQ_FOR_AIX_V8.0_EIMAGE.tar.Z

Open in new window


I go to the following smit screen

                                Install Software

Type or select a value for the entry field.
Press Enter AFTER making all desired changes.

                                                        [Entry Fields]
* INPUT device / directory for software              []                      +

Open in new window



I enter the directory as follows:


                                Install Software

Type or select values in entry fields.
Press Enter AFTER making all desired changes.

[TOP]                                                   [Entry Fields]
* INPUT device / directory for software               /home/mq_inst
* SOFTWARE to install                                [_all_latest]           +
  PREVIEW only? (install operation will NOT occur)    no                     +
  COMMIT software updates?                            yes                    +
  SAVE replaced files?                                no                     +
  AUTOMATICALLY install requisite software?           yes                    +
  EXTEND file systems if space needed?                yes                    +
  OVERWRITE same or newer versions?                   no                     +
  VERIFY install and check file sizes?                no                     +
  Include corresponding LANGUAGE filesets?            yes                    +
  DETAILED output?                                    no                     +
  Process multiple volumes?                           yes                    +
  ACCEPT new license agreements?                      yes                    +

Open in new window



I hit enter twice

I get the following

                                 COMMAND STATUS

Command: failed        stdout: yes           stderr: no

Before command completion, additional instructions may appear below.

0503-003 geninstall:  The specified device /home/mq_inst
        is not a valid device or file.
#---------------------------------------------------------------------
# No installable software products were found on the media.
#---------------------------------------------------------------------

Open in new window



I tried the same thing, but entered the following: wehn asked for the device or directory.

/home/mq_inst/WS_MQ_FOR_AIX_V8.0_EIMAGE.tar.Z

Open in new window


... but I get the same error

how can I fix this

Is there an alternative procedure to do this with installp ?

Thanks
0
Comment
Question by:Anthony Lucia
1 Comment
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 40587517
You must uncompress and extract the package first:

uncompress /home/mq_inst/WS_MQ_FOR_AIX_V8.0_EIMAGE.tar.Z
tar -xvf /home/mq_inst/WS_MQ_FOR_AIX_V8.0_EIMAGE.tar

You should end up with a ".bff" file (or similar) in /home/mq_inst.

Now run

inutoc /home/mq_inst

The latter command will create a table of contents. Generally, smit does this on its own, but that way we're on the safe side.

Finally, retry the smit procedure with "/home/mq_inst" as the Input device/directory.
On the second screen, at "SOFTWARE to install" hit <F4> to get a list of available packages and hit <F7> to select the desired package. Hit <ENTER> when finished.
On the second-to-last line at "Accept new license ..." hit <TAB> to change "no" to "yes".
Hit <ENTER>.

If still no luck please let me know what's in  "/home/mq_inst" after uncompress and tar.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Install Predefined Certificate on Ubunto 4 48
SonarQube on Linux vs Windows 3 53
Linux MD5 Hash 7 42
Unix Help with:  mailx -s 17 21
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Why Shell Scripting? Shell scripting is a powerful method of accessing UNIX systems and it is very flexible. Shell scripts are required when we want to execute a sequence of commands in Unix flavored operating systems. “Shell” is the command line i…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question