My Oracle Support Banner

"550 Rename failed. (line=2)" when RNTO Command is Used with OdiSftp Tool (Doc ID 2637426.1)

Last updated on SEPTEMBER 23, 2020

Applies to:

Oracle Data Integrator - Version 12.2.1.4.0 and later
Oracle Data Integrator on Marketplace - Version 2.0.1 and later
Information in this document applies to any platform.

Symptoms

When attempting to run an Oracle Data Integrator (ODI) package that uses the OdiSftp tool to move a file from a local Managed File Transfer (MFT) location to another MFT server, the following error occurs:

ODI-1595: The command script failed with trace
350 Ready for RNTO. (line=1)
org.apache.commons.vfs2.FileSystemException: Could not determine if file "sftp://<HOSTNAME>:<PORT>/<PATH>" is writeable.
com.jcraft.jsch.JSchException: Could not get the groups id of the current user (error code: -1)
550 Rename failed. (line=2)
  at com.sunopsis.dwg.tools.Sftp.actionExecute(Sftp.java:156)
  at com.sunopsis.dwg.function.SnpsFunctionBaseRepositoryConnected.execute(SnpsFunctionBaseRepositoryConnected.java:235)
  at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(SessionTask.java:949)
  at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(SessionTask.java:607)
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:32)
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(OdiCommandExecutor.java:18)
  at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:52)
  at oracle.odi.runtime.agent.execution.SessionTask.processTask(SessionTask.java:216)
  at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(SessionTask.java:128)
  at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(AbstractSessionTask.java:886)
  at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(SessionExecutor.java:2225)
  at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(SessionExecutor.java:610)
  at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:718)
  at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(TaskExecutorAgentRequestProcessor.java:611)
  at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:203)
  ...

The above error is generated using the following OdiSftp command, where RNFR and RNTO are passed as parameters in the body.

OdiSftp "-HOST=<HOSTNAME>:<PORT>/<PATH>" "-USER=" "-PASSWORD=" "-LOCAL_DIR=<LOCAL_DIRECTORY>" "-REMOTE_DIR=<REMOTE_DIRECTORY>" "-STOP_ON_FTP_ERROR=YES" "-COMPRESSION=NO" "-STRICT_HOSTKEY_CHECKING=NO"
RNFR /<FROM_PATH_AND_FILE> 
RNTO /<TO_PATH_AND_FILE>

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
 ODI on Marketplace
 On-Premise
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.