Error 0x80040707 dll function call TestRPC error during installation of Audit components - about third party portmapper
search cancel

Error 0x80040707 dll function call TestRPC error during installation of Audit components - about third party portmapper

book

Article ID: 55113

calendar_today

Updated On:

Products

CA Security Command Center CA Data Protection (DataMinder) CA User Activity Reporting

Issue/Introduction

Description:

During the install of the Audit components, the following error message may be observed:

Error Number: 0x80040707 Description: Dll function call crashed: TestRPC.TestRPC_TestRPCPort Setup will now terminate.

If another portmapper is detected during the Audit installation, the install program may terminate with the above error. Audit is capable of using a third party portmapper program. The third party portmapper must run on port 111 as it is a registered port for RPC calls; this port number CANNOT be modified.

The Audit install is able to recognize some third party portmappers and will configure itself to use them during the install routine. As a possible resolution to this error, stop the service that the third party portmapper runs under and then re-run the Audit Client install. If the install completes successfully, then Audit has accepted the third party portmapper and configured itself to said portmapper. Remember to restart the service that the third party portmapper runs under after the install completes.

The outlined scenario below will need to be completed to use the third party portmapper if the error is still encountered after stopping the service that the third party portmapper runs under.

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs.

For information about how to back up, restore, and edit the registry, please review the Microsoft Knowledge Base article "(http://support.microsoft.com/kb/256986/EN-US/) Description of the Microsoft Windows Registry".

Solution:

The following steps will need to be completed to use the third party portmapper if the error is still encountered after stopping the service that the third party portmapper runs under.

You will need to research and find the filename of the third party portmapper. The CA BrightStor portmap executable is called CATIRPC.EXE; this is used as an example in the following.

As noted before, you will need to stop the service that the third party portmapper runs under and then re-run the Audit Client install. When the install completes, you will need to make the following changes.

  1. Modify the Windows Registry using regedt32 or regedit; Set the value of the PortmapName registry key to the name of the third party portmapper executable (see figure 1 below):

    HKEY_LOCAL_MACHINE\SOFTWARE\ComputerAssociates\eTrust Audit\RPC

    <Please see attached file for image>

    Figure 1
    Figure 1

  2. There are two Audit services that would use portmapper.exe. These are:

    • Audit Collector.

    • Audit Log Router.

      Depending on the Audit components that are installed, you would need to make changes to one or both of these components.

      1. The registry key for the Audit Collector is DependOnService is

        HKEY_LOCAL\SYSTEM\CurrentControlSet\Services\eTrust Audit Collector

        <Please see attached file for image>

        Figure 2
        Figure 2.1

        Make the change for DependOnService to use the third party name. See Figure 2.1

        The examples that are shown in figure 2.1 and 2.2 have changed the name to one that is used by BrightStor CATIRPC.

        <Please see attached file for image>

        Figure 3
        Figure 2.2

        1. The registry key for the Audit Log Router is DependOnService

          HKEY_LOCAL\SYSTEM\CurrentControlSet\Services\eTrust Log Router

          Make a similar change -as shown in step 2.a (figure 2.1) - for DependOnService to use the third party name. The examples that are shown have changed the name to one that is used by BrightStor CATIRPC.

          <Please see attached file for image>

          Figure 4
          Figure 2.3


  • Disable the portmapper program through the windows services (see figure 3 below)

    <Please see attached file for image>

    Figure 5
    Figure 3

    Note: As an alternative to using a third party portmapper, you may consider using a fixed ports configuration, which does not require a portmapper or rpcbind.

Environment

Release:
Component: ADTCTL