IBM Support

IT29805: IBM SPECTRUM PROTECT PLUS MONGODB PRODUCTION MODE RESTORE ABORTSWITH ERROR MESSAGE CTGGI0088

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IBM Spectrum Protect Plus MongoDB Application Agent Production
    Mode restore fails when the MongoDB instance owner user does not
    have a valid login shell. The following error message is shown:
    CTGGI0088 The specified restore target path <path> must be empty
    or owned by user <user>. The target path name that was specified
    in the restore wizard is not a valid restore target path because
    it is not empty and not owned by the right user. Change the
    owner of the target destination, and retry the operation.
    
    Typically the MongoDB instance owner user 'mongod' is defined
    with /bin/false as login shell which restricts this user from
    login using sudo and with that configuration the IBM Spectrum
    Protect Plus MongoDB Application Agent fails to create the
    specified restore target path, if it does not exist.
    
    When the option 'Overwrite existing database' is selected, then
    the IBM Spectrum Protect Plus MongoDB Application Agent removes
    the directory and all its contents of the specified restore
    target path. This results in the same error message.
    

Local fix

  • The shown error message is misleading. It should read like:
    The target path name that was specified in the restore wizard is
    not a valid restore target path because it does not exist, it is
    not empty, or it is not owned by the right user. Make sure that
    the target destination exists, is an empty directory and is
    owned by the right user, and retry the operation.
    
    As a workaround make sure that the restore target path exists,
    is an empty directory with no content in it and is owned by the
    MongoDB instance owner user.
    In case the restore was executed with selected option 'Overwrite
    existing database', then create the restore target path and
    change its owner to the MongoDB instance owner user and
    afterwards restart the restore operation without selecting the
    'Overwrite existing database' option.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of IBM Spectrum Protect Plus version 10.1.4 for Mongo  *
    * Databases performing production mode restore when Mongo      *
    * Database user is not able to perform sudo operations.        *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * See ERROR description                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in the next IBM Spectrum Protect Plus  *
    * level 10.1.4.222 and 10.1.5. Note that this is subject to    *
    * change at the discretion of IBM.                             *
    ****************************************************************
    

Problem conclusion

  • IBM Spectrum Protect Plus is fixed to perform production restore
    in case when Mongo DB user is not able to perform sudo
    operations.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT29805

  • Reported component name

    SP PLUS

  • Reported component ID

    5737SPLUS

  • Reported release

    A14

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2019-07-23

  • Closed date

    2019-09-06

  • Last modified date

    2022-05-09

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    SP PLUS

  • Fixed component ID

    5737SPLUS

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSNQFQ","label":"IBM Spectrum Protect Plus"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"A14","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
30 January 2024