IBM Support

IT15643: ITCAMHTTP OPERATION.SH SCRIPT RETURNS CURL COMMAND RETURN CODE 52 ERROR WITH HTTP STATUS=000

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • The ITCAM WAS agent was failing to install on some
    virtual machines during deployment. Investigation of
    the logs found that the itcamhttp operation.sh script was
    returning a curl command return code 52 error with HTTP
    Status=000
    
    example:
    
    # ./operation.sh autostart
    Operation JSON: {
            "role": "MONITORING",
            "type": "Auto-start ITCAM for IBM HTTP Server
    monitoring",
            "script": "itcamhttp.py",
            "method": "autostart",
            "parameters": {  },
            "parallel": true,
            "target": "ALL"
        }
    Operation results...
    Operation URL : https://d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344
    d-47c6b8a4-48e8-44fc-b40c-ac56e0695344:9999/operations/
    
    Sending request for operation......
    The curl command return code is 52
    HTTP Status=000
    Print the operation output:
    cat: 0652-050 Cannot open /tmp/output.
    
    ./operation.sh returning rc=0
    
    
    The CURL url contains a hostname with duplicate deployment ID
    strings.
    The problem occurs because the deployment identifier appears
    multiple times in the 0config.sh file.
    

Local fix

Problem summary

  • Code has been updated to parse out a single instance of a
    deployment identifier from 0config.log.
    

Problem conclusion

  • A code fix is being provided in PureApplication System
    version 2.2.2.0 in System Monitoring Pattern 1.0.9.0.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT15643

  • Reported component name

    PAPP SYS 8278 P

  • Reported component ID

    5725F4600

  • Reported release

    210

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-06-08

  • Closed date

    2016-08-08

  • Last modified date

    2016-08-08

  • 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

    PAPP SYS 8278 P

  • Fixed component ID

    5725F4600

Applicable component levels

  • R222 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Product":{"code":"SSM8NY","label":"PureApplication System"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"210"}]

Document Information

Modified date:
07 January 2022