IBM Support

AIX Open Source: Where is zgrep?

Question & Answer


Question

Why is /usr/bin/zgrep missing with rpm.rte 4.13.0.4 and later versions?

Cause

Zgrep is a Linux®  command that is used to search the contents of a compressed file. The zgrep script was included in earlier rpm.rte file sets. This file was never documented as an rpm.rte file, but was used by some internal rpm calls. Earlier zgrep versions called the AIX default POSIX /usr/bin/grep command.  Newer versions rely on the GNU grep command, so zgrep was removed from rpm.rte  4.13.0.4 .

Answer

The zgrep script is part of the GNU gzip package, which is available on the AIX Toolbox for Linux Applications download site. This is the official AIX Open Source package for the zgrep script. 
SUPPORT

A) For all questions or issues with AIX Toolbox for Open Source Software ("AIX Toolbox") packages, support is provided through the following options:

1) The AIX Open Source Community Discussion forum: 

2) IBM Technology Support Services ("TSS") offers Open Source Software ("OSS") Support for select AIX Toolbox packages.

Cases opened to address AIX Toolbox problems are canceled and users are referred to the Open Source Forum or TSS Marketing unless the case is entitled for TSS OSS Support.
If you experience technical issues accessing the AIX Open Source community or forum, refer to the footer of the IBM Community forum page.
There is email, and "Contact Us" information for community support

B) If there is a problem with installing rpm.rte, or executing the rpm binary file, open an AIX Case (See the following C section) for assistance.

Examples of rpm.rte issues supported through AIX Support:
- Errors updating or migrating the rpm.rte file set
- Commands from the rpm.rte file set core dump, or have runtime errors.

Example of an rpm.rte rpm loading issue:

# rpm -qa
    exec(): 0509-036 Cannot load program /usr/opt/freeware/bin/rpm because of the following errors:
    0509-150 Dependent module libnss3.so could not be loaded.
    0509-022 Cannot load module libnss3.so.
    0509-026 System error: A file or directory in the path name does not exist.

 
This example would be handled through an IBM AIX Support case, and the support team would help resolve the missing modules.


To learn what is provided and supported by the rpm.rte file set:

# lslpp -f rpm.rte

C) Opening an AIX Support Case

If additional assistance is required due to issues with rpm.rte file set (see preceding B section), use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract.  

1.  Document (or collect screen captures of) all symptoms, errors, and messages related to your issue.

2.  Capture any logs or data relevant to the situation.

3.  Contact IBM to open a case:

   -For electronic support, see the IBM Support Community:
     https://www.ibm.com/mysupport
   -If you require telephone support, see the web page:
      https://www.ibm.com/planetwide/

[{"Type":"MASTER","Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z000000cw3dAAA","label":"AIX Open Source"}],"ARM Case Number":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"All Versions"}]

Document Information

Modified date:
16 September 2022

UID

ibm16437019