Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: Permission denied when PDI use Put a file with SFTP

  1. #1
    Join Date
    Aug 2017
    Posts
    6

    Default Permission denied when PDI use Put a file with SFTP

    Hi All,

    I use PDI 6.1 and when the job use Put a file with SFTP I got the following error message:

    ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Error while trying to send files. Exception :
    3: Permission denied
    Permission denied
    ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleJobException:
    3: Permission denied
    Permission denied

    at org.pentaho.di.job.entries.sftp.SFTPClient.put(SFTPClient.java:261)
    at org.pentaho.di.job.entries.sftpput.JobEntrySFTPPUT.execute(JobEntrySFTPPUT.java:887)
    at org.pentaho.di.job.Job.execute(Job.java:723)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:545)
    at org.pentaho.di.job.Job.run(Job.java:435)
    Caused by: 3: Permission denied
    at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2491)
    at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:528)
    at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:480)
    at org.pentaho.di.job.entries.sftp.SFTPClient.put(SFTPClient.java:259)


    Does anyboday has any idea why does it happen, previously it worked properly for me?

    Thanks in advance!
    Pali

  2. #2
    Join Date
    Aug 2017
    Posts
    6

    Default PDI - Put a file with SFTP

    Hi All,

    I got the following error when the job want to upload file via 'Put a file with SFTP' step.
    Does anybody has idea why it is happening, because previously it worked properly?

    Thanks in Advance!

    ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : Error while trying to send files. Exception :
    3: Permission denied
    Permission denied
    ERROR (version 6.1.0.1-196, build 1 from 2016-04-07 12.08.49 by buildguy) : org.pentaho.di.core.exception.KettleJobException:
    3: Permission denied
    Permission denied


    at org.pentaho.di.job.entries.sftp.SFTPClient.put(SFTPClient.java:261)
    at org.pentaho.di.job.entries.sftpput.JobEntrySFTPPUT.execute(JobEntrySFTPPUT.java:887)
    at org.pentaho.di.job.Job.execute(Job.java:723)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:864)
    at org.pentaho.di.job.Job.execute(Job.java:545)
    at org.pentaho.di.job.Job.run(Job.java:435)
    Caused by: 3: Permission denied
    at com.jcraft.jsch.ChannelSftp.throwStatusError(ChannelSftp.java:2491)
    at com.jcraft.jsch.ChannelSftp._put(ChannelSftp.java:528)
    at com.jcraft.jsch.ChannelSftp.put(ChannelSftp.java:480)
    at org.pentaho.di.job.entries.sftp.SFTPClient.put(SFTPClient.java:259)
    ... 12 more

  3. #3
    Join Date
    Aug 2011
    Posts
    236

    Default

    Hi,

    Sounds like some permissions changed on your target instance. I would verify the userid you use still has the necessary access.

    HTH.
    PDI 8.0.0
    MySQL - 5.6.27
    Redshift - 1.0.1485
    PostgreSQL 8.0.2
    OS - Ubuntu 10.04.2

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.