Novell Home

My Favorites

Close

Please to see your favorites.

Linux discovery fails with "string reference not set to an instance of a string"

This document (7011257) is provided subject to the disclaimer at the end of this document.

Environment

PlateSpin Migrate

Situation

Discovery of a Linux workload fails with an error similar to the following:
 
"Failed copying C:\Program Files...\getMachineInfo.x86....tar.gz to /tmp/ofx.27590....tar.gz
String reference not set to an instance of a String"

Resolution

In order to resolve this issue it is necessary to enable SFTP on the target workload:
 
1. Run the following command on the workload that needs to be discovered:
 
vi /etc/ssh/sshd_config
 
2. Locate the following line:
 
Subsystem       sftp    /usr/libexec/openssh/sftp-server
 
3. Removing the "#" from the start of the line, if it exists
4. Directly underneath that line add the following:
 
sftp internal-sftp
 
5. Save and exit the file
6. Run the following command:
 
service sshd reload

Cause

This error occurs because SFTP is not configured on the workload being discovered.  SFTP is necessary for the transferring of files to the workload, in order to complete the discovery process.

Disclaimer

This Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7011257
  • Creation Date:25-OCT-12
  • Modified Date:25-OCT-12
    • NetIQPlateSpin Migrate

Did this document solve your problem? Provide Feedback