AIX Client Install Command Issues

Hello, I have a client that is unable to get the BESClient installed on AIX using the installp command listed in the installation guide: installp -agqYXd. /BESAgent-9.5.xxx.x.ppc_aixxx.pkg BESClient

Has this install command changed recently and the documentation just not updated?

The install of the BESClient will work using the Smitty tool in interactive mode.

The client is on AIX v7.1. Trying to install 9.5.8 and 9.5.6 versions of the client.

Here is the shell output when trying to install using the default command:
line 135: cd /nas/unix/apps/BigFix/installdir
line 135: installp –agqYXd ./BESAgent-9.5.8.38.ppc64_aix61.pkg BESClient
installp: No action was indicated.
** The -a (apply) flag is being assumed.**
installp: Device /dev/rfd0 could not be accessed.
** Specify a valid device name.**

Thank you for your help!

This is what I have. Did yo account for the masthead add?

  1. Download the corresponding BES Client package file to the IBM AIX computer.
    
  2. Copy the BESAgent to the IBM AIX computer.
    
  3. Run the following command: installp –agqYXd ./BESAgent-X.X.XXX.XX.pkg BESClient
    
  4. Copy the masthead file to /etc/opt/BESClient/actionsite.afxm.
    
  5. Run the following command: /etc/rc.d/rc2.d/SBESClientd start.
1 Like

@_ jgo - Thanks for your response. The issue they are having is just executing the installp command against the pkg file. I’m wondering if anyone else has came accross the installp command not working to install the BESClient.

I wanted to share some output from the client’s AIX console that shows more info on the install failure:

[root@uslctest15] /nas/unix/apps/BigFix/installdir #> ls -l
total 154400
-rwxr-xr-x 1 root system 78737408 May 21 09:36 BESAgent-9.5.8.38.ppc64_aix61.pkg

[root@uslctest15] /nas/unix/apps/BigFix/installdir #> installp -agqYXd./BESAgent-9.5.8.38.ppc64_aix61.pkg BESClient

±----------------------------------------------------------------------------+
Pre-installation Verification

±----------------------------------------------------------------------------+
Verifying selections
done
Verifying requisites
done
Results


SUCCESSES

Filesets listed in this section passed pre-installation verification
and will be installed.

Selected Filesets

BESClient 9.5.8.38 # IBM BigFix Agent

<< End of Success Section >>

±----------------------------------------------------------------------------+
BUILDDATE Verification 

±----------------------------------------------------------------------------+
Verifying build dates
done
FILESET STATISTICS

1  Selected to be installed, of which:
    1  Passed pre-installation verification

1  Total to be installed

±----------------------------------------------------------------------------+
Installing Software

±----------------------------------------------------------------------------+

installp: APPLYING software for:
BESClient 9.5.8.38

. . . . . << Copyright notice for BESClient >> . . . . . . .
Licensed Materials - Property of IBM Corp.

(C) Copyright IBM Corp. 2001-2017.

All rights reserved.
. . . . . << End of copyright notice for BESClient >>. . . .

instal: Failed while executing the BESClient.config script.

installp: The installation has FAILED for the “root” part
of the following filesets:
BESClient 9.5.8.38

installp: Cleaning up software for:
BESClient 9.5.8.38

Finished processing all filesets. (Total time: 6 secs).

±----------------------------------------------------------------------------+
Summaries:
±----------------------------------------------------------------------------+

Installation Summary

Name Level Part Event Result

BESClient 9.5.8.38 USR APPLY SUCCESS
BESClient 9.5.8.38 ROOT APPLY FAILED
BESClient 9.5.8.38 ROOT CLEANUP SUCCESS
[root@uslctest15] /nas/unix/apps/BigFix/installdir #>

Does /etc/opt/BESClient exist at this point or any other possible fragment from a previous BigFix agent?

We tried the install again after cleaning up the install files:

root@uslctest15] installp -u BESClient
±----------------------------------------------------------------------------+
Pre-deinstall Verification

±----------------------------------------------------------------------------+
Verifying selections
done
Verifying requisites
done
Results


SUCCESSES

Filesets listed in this section passed pre-deinstall verification
and will be removed.

Selected Filesets

BESClient 9.5.8.38 # IBM BigFix Agent

<< End of Success Section >>

FILESET STATISTICS

1  Selected to be deinstalled, of which:
    1  Passed pre-deinstall verification

1  Total to be deinstalled

±----------------------------------------------------------------------------+
Deinstalling Software

±----------------------------------------------------------------------------+

installp: DEINSTALLING software for:
BESClient 9.5.8.38

Finished processing all filesets. (Total time: 1 secs).

±----------------------------------------------------------------------------+
Summaries:
±----------------------------------------------------------------------------+

Installation Summary

Name Level Part Event Result

BESClient 9.5.8.38 USR DEINSTALL SUCCESS
[root@uslctest15] rm -rf /etc/opt/BESClient /var/opt/BESClient /opt/BESClient
[root@uslctest15] /nas/unix/apps/BigFix/installdir #> installp -agqYXd./BESAgent-9.5.8.38.ppc64_aix61.pkg BESClient
±----------------------------------------------------------------------------+
Pre-installation Verification

±----------------------------------------------------------------------------+
Verifying selections
done
Verifying requisites
done
Results


SUCCESSES

Filesets listed in this section passed pre-installation verification
and will be installed.

Selected Filesets

BESClient 9.5.8.38 # IBM BigFix Agent

<< End of Success Section >>

±----------------------------------------------------------------------------+
BUILDDATE Verification 

±----------------------------------------------------------------------------+
Verifying build dates
done
FILESET STATISTICS

1  Selected to be installed, of which:
    1  Passed pre-installation verification

1  Total to be installed

±----------------------------------------------------------------------------+
Installing Software

±----------------------------------------------------------------------------+

installp: APPLYING software for:
BESClient 9.5.8.38

. . . . . << Copyright notice for BESClient >> . . . . . . .
Licensed Materials - Property of IBM Corp.

© Copyright IBM Corp. 2001-2017.

All rights reserved.
. . . . . << End of copyright notice for BESClient >>. . . .

instal: Failed while executing the BESClient.config script.

installp: The installation has FAILED for the “root” part
of the following filesets:
BESClient 9.5.8.38

installp: Cleaning up software for:
BESClient 9.5.8.38

Finished processing all filesets. (Total time: 3 secs).

±----------------------------------------------------------------------------+
Summaries:
±----------------------------------------------------------------------------+

Installation Summary

Name Level Part Event Result

BESClient 9.5.8.38 USR APPLY SUCCESS
BESClient 9.5.8.38 ROOT APPLY FAILED
BESClient 9.5.8.38 ROOT CLEANUP SUCCESS
[root@uslctest15] /nas/unix/apps/BigFix/installdir #> ls -l /etc/rc.d/rc2.d/BES
/etc/rc.d/rc2.d/BES not found
[root@uslctest15] /nas/unix/apps/BigFix/installdir #>

Was this solved ? - I have run into a very similar issue


Not yet
Please share any of your findings that you had on your issue. Thanks!

You have to add the client’s name at the end. LIke so 

installp -agqYXd . /BESAgent-9.5.16.90.ppc64_aix61.pkg <client_name>

Correction: This is the format for the installp command.
installp -agqYXd . BESAgent-9.5.16.90.ppc64_aix61.pkg BESClient

1 Like

The format of this command did not work for me.
The workaround was to use ‘smit’ to install the BES Client.

What’s the command to start and stop the BES Agent in AIX

Hi @Mohanraj, as requested:
/etc/rc.d/rc2.d/SBESClientd start
/etc/rc.d/rc2.d/SBESClientd stop
Source: https://help.hcltechsw.com/bigfix/11.0/platform/Platform/Installation/c_aix_installation_instructions.html
-Gus