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 and later
Oracle Data Integrator on Marketplace - Version 2.0.1 and later
Information in this document applies to any platform.


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.function.SnpsFunctionBaseRepositoryConnected.execute(
  at oracle.odi.runtime.agent.execution.SessionTask.execIntegratedFunction(
  at oracle.odi.runtime.agent.execution.SessionTask.executeOdiCommand(
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(
  at oracle.odi.runtime.agent.execution.cmd.OdiCommandExecutor.execute(
  at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(
  at oracle.odi.runtime.agent.execution.SessionTask.processTask(
  at oracle.odi.runtime.agent.execution.SessionTask.doExecuteTask(
  at oracle.odi.runtime.agent.execution.AbstractSessionTask.execute(
  at oracle.odi.runtime.agent.execution.SessionExecutor$SerialTrain.runTasks(
  at oracle.odi.runtime.agent.execution.SessionExecutor.executeSession(
  at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(
  at oracle.odi.runtime.agent.processor.TaskExecutorAgentRequestProcessor$1.doAction(
  at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(

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



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
 ODI on Marketplace

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