SFTP Transport - Bea-381602 known_hosts file does not exist or it does not have read permissions (Doc ID 1120363.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Service Bus - Version 11.1.1.3.0 and later
Information in this document applies to any platform.

Goal

Oracle Service Bus (OSB) Product Information Center > Index Master Note for Oracle Service Bus > Master Note for Troubleshooting Oracle Service Bus Transport Issues > Note 1120363.1


In Oracle Service Bus (OSB) 11gr1 after configuring an SFTP proxy the following error is thrown

<Jun 18, 2010 10:42:57 AM CEST> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint <PROXY_NAME_AND_LOCATION>: com.bea.wli.sb.transports.TransportException: known_hosts file does not exist or it does not have read permissions.com.bea.wli.sb.transports.TransportException: known_hosts file does not exist or it does not have read permissions.
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)



File "known_hosts" has been created in directory $OSB_DOMAIN_DIR/osb/transports/sftp


Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms