IBM Support

IZ39906: SCP GETS "AMBIGUOUS TARGET" ERROR MSG WHEN SPACE IN FILE NAME

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the file/directory on the TADDM server contains a space in
    it's name, example:
    E:\IBM\cmdb\dist/etc\templates\commands\Tivoli Access Manager
    
    the scp copy of this file to the anchor fails.  Error in
    AnchorSensor.log on TADDM server shows:
    
    2008-12-05 18:46:48,376 DiscoverManager [DiscoverWorker-9]
    AnchorSensor-anchor-@172.1.1.9-8497 DEBUG
    anchor.AnchorFileVerificator - Generating fileid for:
    etc/templates/commands/Tivoli Access Manager
    2008-12-05 18:46:48,376 DiscoverManager [DiscoverWorker-9]
    AnchorSensor-anchor-@172.1.1.9-8497 DEBUG
    session.Ssh2SessionClient - copyToRemote:scp started, source:
    E:\IBM\cmdb\dist/etc/templates/commands/Tivoli Access Manager,
    dest: coll7.1//etc/templates/commands/Tivoli Access Manager
    2008-12-05 18:46:48,610 DiscoverManager [DiscoverWorker-9]
    AnchorSensor-anchor-@172.1.1.9-8497 DEBUG
    session.Ssh2SessionClient - failed to copy
    file:E:\IBM\cmdb\dist/etc/templates/commands/Tivoli Access
    Manager to:coll7.1//etc/templates/commands/Tivoli Access Manager
    java.io.IOException: SSHSCP1.readResponse, error: scp: ambiguous
    target
     at
    com.mindbright.sshcommon.SSHSCP1.failsafeReadResponse(Unknown
    Source)
     .
     .
     .
     at
    com.collation.discover.engine.DiscoverEngine$DiscoverWorker.run(
    DiscoverEngine.java:864)
    2008-12-05 18:46:48,610 DiscoverManager [DiscoverWorker-9]
    AnchorSensor-anchor-@172.1.1.9-8497 ERROR cdb.AnchorClient -
    CTJTD2231E The file is not copied.CTJTP1127E The copy command
    fails for the following target: java.io.IOException:
    SSHSCP1.readResponse, error: scp: ambiguous target.
    com.collation.platform.session.SessionClientException:
    CTJTP1127E La commande copy a chou pour la cible suivante :
    java.io.IOException: SSHSCP1.readResponse, error: scp: ambiguous
    target.
     at
    com.collation.platform.session.Ssh2SessionClient.copyToRemote(Ss
    h2SessionClient.java:470)
     .
     .
     .
     at
    com.collation.discover.engine.DiscoverEngine$DiscoverWorker.run(
    DiscoverEngine.java:864)
    2008-12-05 18:46:48,610 DiscoverManager [DiscoverWorker-9]
    AnchorSensor-anchor-@172.1.1.9-8497 ERROR cdb.AnchorClient -
    CTJTD2075E An error occurred. The TADDM Server script cannot be
    set up.CTJTD2231E The file is not copied.CTJTP1127E The copy
    command fails for the following target: java.io.IOException:
    SSHSCP1.readResponse, error: scp: ambiguous target.
    com.collation.discover.anchor.AnchorException: CTJTD2231E Le
    fichier n'est pas copi.CTJTP1127E La commande copy a chou pour
    la cible suivante : java.io.IOException: SSHSCP1.readResponse,
    error: scp: ambiguous target.:1
    

Local fix

  • none / remove spaces from name
    

Problem summary

  • When the file/directory on the TADDM server contains a space in
    it's name,
    example: E:\IBM\cmdb\dist/etc\templates\commands\Tivoli Access
    Manager the scp
    copy of this file to the anchor fails. The scp gets an
    "ambiguous target" message.
    

Problem conclusion

  • The fix for this APAR is contained in the following
    maintenance packages:
    | Interim Fix | 7.1.2.0-TIV-ITADDM-IF0002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ39906

  • Reported component name

    APP DEPENDENCY

  • Reported component ID

    5724N5500

  • Reported release

    712

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-12-12

  • Closed date

    2009-02-27

  • Last modified date

    2009-02-27

  • 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

    APP DEPENDENCY

  • Fixed component ID

    5724N5500

Applicable component levels

  • R712 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSPLFC","label":"Tivoli Application Dependency Discovery Manager"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"712","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
27 February 2009