Troubleshooting file copy

If you encounter problems copying files to and from the appliance, try some of the following steps to resolve the problem.

When a copy command fails, make the following checks:
  • Ensure that the file name and path that you have specified are correct. The following table gives a list of valid URIs on the appliance.
    Table 1. Appliance URIs
    URI Permissions Description
    mqbackup:///

    copy from

    copy to

    Used for:
    • user backup and restore
    • certificate backup and restore
    • dmpmqcfg output
    • CCDTs
    • automatic configuration of members of uniform cluster
    • runmqsc input files
    mqdiag:///

    copy from

    Used for:
    • runmqras output
    • amqrfdm output
    • amqspdbg output
    mqerr:///

    copy from

    Used for:
    • MQSystem.log and other system logs
    • FDCs
    Can also be used to access QM error logs
    mqpubcert:///

    copy from

    copy to

    You can copy certificates to this location. Use the certificate commands (see Queue manager security management commands)

    mqqmdata:///

    copy from

    Queue manager data
    mqtemporary:///

    copy from

    copy to

    This directory is temporary, and does not survive an appliance restart.

    Under certain severe error conditions that cause other areas of appliance storage to be inaccessible, error reports (FFSTs) are recorded here to assist IBM support staff in problem diagnosis.

    The directory can also be used for runmqsc input files.

    mqtrace:///

    copy from

    Used for:
    • MQ Trace
    • console trace, errors, and FDCs
    mqwebui:///

    copy from

    copy to

    Saving and loading user dashboards
  • Ensure that the appliance is correctly configured with an IP address. You can do this by typing the show ipaddress command.
  • Ensure that you can ping the server that you are copying a file to or from.
  • Ensure that there is an SSH daemon running on the server that you are copying a file to or from.
  • Examine the sshd_config file on the server that you are copying a file to or from, and ensure that it contains the line PasswordAuthentication yes.
You should also remove cached information for the host that you are copying the file from or to interface on the appliance:
  1. At the appliance command line, type config to enter configuration mode.
  2. Type:
    no known-host IP_address
    
    Where IP_address is the IP address of the host that you are copying the file from or to.