SFTP problem
I am trying to do SFTP for file but i am getting error 'External program terminated with exit code 255 in SFTP sap'when i am executing 2 jobs same time
If this was resolved then please close the discussion, otherwise please clarify what question is still not answered.
Thank you.
Similar Messages
-
I am having problems connecting with sftp, though ssh appears to be fine. I run arch on 2 boxes, and connect to a CentOS 6.X server. Both Arch boxes appear to have the same problem when connecting with the CentOS server and different error/warning when connecting to each other.
When I connect from my Arch laptop to my Arch desktop with ssh, I have no problems. When I connect with sftp, I get a warning message but it still works:
sftp lab
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Connected to lab.
sftp>
When connecting from either Arch machine to the CentOS machine, ssh works but sftp gives me an error:
sftp intuit
Connected to intuit.
Couldn't canonicalize: No such file or directory
Need cwd
Note that the parent directories have permissions 755 and in the case of the Arch->Arch is owned by my user, in the Arch->CentOS it's owned by root. The CentOS machine is mounted on a network share using autofs and nfs but I suspect that isn't the problem because I was able to sftp from it a few months ago (I don't regularly sftp so I don't know if I have updated to a newer version of openssh since the last time it worked).
ssh -vvvv intuit
Connected to intuit.
debug3: Sent message fd 3 T:16 I:1
Couldn't canonicalize: No such file or directory
Need cwd
debug2: channel 0: read<=0 rfd 4 len 0
debug2: channel 0: read failed
debug2: channel 0: close_read
debug2: channel 0: input open -> drain
debug2: channel 0: ibuf empty
debug2: channel 0: send eof
debug2: channel 0: input drain -> closed
debug2: channel 0: rcvd eof
debug2: channel 0: output open -> drain
debug2: channel 0: obuf empty
debug2: channel 0: close_write
debug2: channel 0: output drain -> closed
debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
debug2: channel 0: rcvd close
debug3: channel 0: will not send data after close
debug2: channel 0: almost dead
debug2: channel 0: gc: notify user
debug2: channel 0: gc: user detached
debug2: channel 0: send close
debug2: channel 0: is dead
debug2: channel 0: garbage collecting
debug1: channel 0: free: client-session, nchannels 1
debug3: channel 0: status: The following connections are open:
#0 client-session (t4 r0 i3/0 o3/0 fd -1/-1 cc -1)
debug1: fd 0 clearing O_NONBLOCK
debug3: fd 1 is not O_NONBLOCK
Transferred: sent 4520, received 3224 bytes, in 0.1 seconds
Bytes per second: sent 65873.0, received 46985.5
debug1: Exit status 0
Current versions of openssh:
pacman -Q|grep ssh
libssh2 1.4.3-2
openssh 6.6p1-2
I am wondering if I have some sort of configuration problem and what other things I should try to get it to work.
The openSSH FAQ says I should get no output from the following command (but I do):
ssh intuit /bin/true
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Same output for other machine (with /usr/bin/true).Are your user names the same on all of these systems?
Are the UIDs the same for your username on all these systems?
Do all of these systems have the same $HOME for your user name?
Are they all mounted?
When you connect to a host, can you check on that host to find the owner of the sftp server process? Is it your user? is it something else? Can that something else read the $HOME on that host? -
Hello,
I have setup SFTP Proxy 'XML' type to read from SFTP server, using SSHWindows as SFTP server on XP, which worked fine on my laptop machine. Now i have completed the same SFTP server setup using same SSHWindows build on a separate XP machine to be used as dedicated SFTP server, Updated my known_hosts file on my domain with hostname, IP address, Created new Service Account and re-deploy the Proxy on same domain but keep receviing this error.
Can someone please help!
####<07-Sep-2009 13:25:49 o'clock BST> <Error> <WliSbTransports> <HOSTNAME> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1252326349327> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$StoreandForwardPoc$ProxyServices$StoreAndForwardSFTPXML: com.bea.wli.sb.transports.TransportException: No such file
com.bea.wli.sb.transports.TransportException: No such file
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
java.io.IOException: No such file
at com.sshtools.j2ssh.sftp.SftpSubsystemClient.getAttributes(Unknown Source)
at com.sshtools.j2ssh.SftpClient.ls(Unknown Source)
at com.bea.wli.sb.transports.sftp.client.SFTPClient.list(SFTPClient.java:194)
at com.bea.wli.sb.transports.sftp.connector.SFTPResource.getFiles(SFTPResource.java:189)
at com.bea.wli.sb.transports.sftp.connector.SFTPResource.getFilesRecursive(SFTPResource.java:544)
at com.bea.wli.sb.transports.sftp.connector.SFTPResource.getSftpFiles(SFTPResource.java:183)
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:75)
at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
TIA,
SalmanHi Anuj,
I have re-installed the Open SSH server on my windows machine. update the known_hosts files with rsa-key and other configuration steps. but still getting the same error
in the proxy service configuration the property setting for polling interval is 60.
I have another setup which is working perfectly, but on different network. i cannot figure this problem out at the moment .
any help??
<09-Sep-2009 14:48:12 o'clock BST> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$StoreandForwardPoc$ProxyServices$StoreAndForwardSFTPXML: com.bea.wli.sb.transports.TransportException
com.bea.wli.sb.transports.TransportException
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
at com.bea.wli.sb.transports.poller.TransportTimerListener.timerExpired(TransportTimerListener.java:77)
at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
Truncated. see log file for complete stacktrace
java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
at java.util.StringTokenizer.nextElement(StringTokenizer.java:390)
at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:61)
at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:103)
at com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:77)
Truncated. see log file for complete stacktrace
>
thanks
sall0 -
Sftp problem with Leopard Server
Hey guys,
The problem I'm having is that I can't get an application to connect to my Leopard Server via sftp. I can bring up a terminal and sftp that way, so I'm not sure why I can't get the app to get in over sftp. I can actually connect successfully with the app over ftp, just not sftp. Anyone know of a reason for this? Thanks for the help.
MickeyI suggest you ask in the Server forum.
http://discussions.apple.com/category.jspa?categoryID=236 -
SFTP problems with new connection/server
We are moving to a new server and have decided to use sFTP this time around. We have a Windows 2012 R2 Server, and are running Contribute CS5 (with No CPS). My sFTP works great using winSCP, but when I go to set up the connection in Contribute I am getting error messages after I hit the point of selecting the folder. It pops up "Server gave an unknown response...", then when you click okay it says that Administrative settings are invalid, Contribute needs remove them including users and roles. Do you want to continue? If you say yes, it throws a native exception then seems to have some pop-up that I cannot reach, thus locking the software. There are no Administrative settings written to the server, although the tmp folders get written. We are completely stumped here. I can't even locate the log files that I used to but we are using CMTrace which gives us some data, but not enough. Suggestions please?
Hi Kmk,
Welcome to the forum. Sorry for all the problems that you are having. I can help.
Can you please drop me an email to [email protected], include any order numbers that BT have provided, your full address and your contact details. I will check to see what the hold up is.
Cheers
Sean
BTCare Community Manager
If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
We are sorry that we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-) -
CFFTP, CFLDAP and securing passwords
Good afternoon. I have several applications which use tags
such as CFFTP and CFLDAP. These applications do not prompt for user
input, but rather automatically supply the application with the
username and password required from a DB lookup. Currently, the
passwords are stored in plain text in the DB (SQL 2K)...yes, I
know...HORRIBLE!!! How do I secure these passwords or at least
secure passing the passwords to the tags, so that they are not in
plain text? Since I am automatically supplying these passwords, I
can't use salting and hashing, right? Your expedient assistance is
greatly appreciated. Thank you.
ChrisHi Chris,
You should really be storing your passwords with a one-way
hash in your database but that won't help with the SFTP problem. If
you are using SFTP the passwords are not sent to the server in
plain text anyway, the only difference is that you are giving it
over to the sftp tag from a query column, which is in plain text
anyway. If I understand correctly you would want to retrieve the
usernam and password from the database, encrypt the password, pass
the username, password and encryption key to a function that would
then unencrypt the password and pass it to the SFTP tag? You have
to give an unencrypted password to the tag since I imagine the
password on the server is also not encrypted.
That seems like a lot of overhead for absolutely no increase
in security. -
SFTP/FTP Proxy Problems - Works for DMZ but not for Internet Hosts?!
Hi together,
we have a strange problem with our TMG Proxy, some infrastructure informations first
So we have the Client LAN with the IP range 192.168.11.x which is routeable to Server LAN 192.168.3.x but not to DMZ LAN 192.168.200.x.. The TMG is a 2 Node Array, 192.168.200.5 is the DMZ VIP. TMG DMZ IP Adress (192.168.200.5) and physical Adresses have
an NAT relation to one Public IP. HTTPS Inspection is active. We dont use (and dont want to) the TMG Client component.
When i use WinSCP, Putty or Filezilla and connect to a DMZ LAN Host (192.168.200.x) with "HTTP Proxy" (192.168.3.108:8080) everything is fine, it works like expected...
When i connect to an Internet Host it fails regardless which protocol i use - ftp, sftp or ssh. The error i get is
"The token supplied to the function is invalid."
An example for a failed SFTP Connection
Filezilla
Status: Connecting to system.internet.de...
Trace: Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response: fzSftp started
Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: proxy 1 "tmg.local" 8080 "domain\user" "***********"
Trace: CSftpControlSocket::ConnectParseResponse()
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: open "[email protected]" 22
Trace: Looking up host "system.internet.de"
Trace: Connecting to 192.168.3.108 port 8080
Trace: Proxy error: 502 Proxy Error ( Das Token, das der Funktion übergeben wurde, ist ungültig. )
Error: Proxy error: 502 Proxy Error ( Das Token, das der Funktion übergeben wurde, ist ungültig. )
Trace: CControlSocket::DoClose(64)
Trace: CSftpControlSocket::ResetOperation(66)
Trace: CControlSocket::ResetOperation(66)
Error: Could not connect to server
Trace: CFileZillaEnginePrivate::ResetOperation(66)
TMG protocol throws this
Protokolltyp: Webproxy (Forward)
Status: 0x80090308
Regel: Webzugriff FTP Test
Quelle: Intern (192.168.11.31:44673)
Ziel: Extern (78.46.182.171:22)
Anforderung: system.internet.de:22
Filterinformationen: Req ID: 106f1cb7; Compression: client=No, server=No, compress rate=0% decompress rate=0%
Protokoll: https-inspect
Benutzer: domain\user
Hope you can explain me what we doin wrong or how to find out whats the problem. I didn`t find many informations about "0x80090308" or "The token supplied to the function is invalid.". Disabling HTTPS Inspection for the Source 192.168.11.31
doesnt change anything...
Connection to an DMZ Host looks like this:
Filezilla
Status: Connecting to system.dmz...
Trace: Going to execute "C:\Program Files (x86)\FileZilla FTP Client\fzsftp.exe"
Response: fzSftp started
Trace: CSftpControlSocket::ConnectParseResponse(fzSftp started)
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: proxy 1 "tmg.local" 8080 "domain\user" "***********"
Trace: CSftpControlSocket::ConnectParseResponse()
Trace: CSftpControlSocket::SendNextCommand()
Trace: CSftpControlSocket::ConnectSend()
Command: open "[email protected]" 22
Trace: Looking up host "system.dmz"
Trace: Connecting to 192.168.3.108 port 8080
Trace: Server version: SSH-2.0-OpenSSH_6.6.1p1 Ubuntu-2ubuntu2
Trace: Using SSH protocol version 2
Trace: We claim version: SSH-2.0-PuTTY_Local:_Mar_28_2014_10:34:48
Trace: Doing Diffie-Hellman group exchange
Trace: Doing Diffie-Hellman key exchange with hash SHA-256
Trace: Host key fingerprint is:
TMG Protocol
Protokolltyp: Webproxy (Forward)
Status: 0 Der Vorgang wurde erfolgreich beendet.
Regel: Webzugriff FTP Test
Quelle: Intern (192.168.11.31:48818)
Ziel: Umkreis 2 (192.168.200.205:22)
Anforderung: system.dmz:22
Filterinformationen: Req ID: 10727dce; Compression: client=No, server=No, compress rate=0% decompress rate=0%
Protokoll: SSL-tunnel
Benutzer: domain\user
Thanks in advance.
Regards
MatthiasHi Keith,
ok i found out the problem is https inspection is enabled....
- when i disable https inspection for source, same problem
- when i disable https inspection for destination, problem solved
the root cause why this worked is we had https inspection disabled for dmz destinations.
there is no direct route relation between the lan and dmz.
why is source exception not working in this? -
SFTP MGET of large files fails - connection closed - problem with spool file
I have a new SFTP job to get files from an FTP Server. The files are large (80mg, 150mg). I can get smaller files from the ftp site with no issue, but when attempting the larger files the job completes abnormally after 2 min 1 sec. each time. I can see the file is created on our local file system with 0 bytes, then when the FTP job fails, the 0 byte file is deleted.
Is there a limit to how large an ftp file can be in Tidal? How long an ftp job can run?
The error in the job audit is Problem with spool file for job XXXX_SFTPGet and an exit code of 127 (whatever that is).
In the log, the error is that the connection was closed. I have checked with the ftp host and their logs show that we are disconnecting unexpectedly also.
Below is an excerpt from the log
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.055 : Send : Name=SSH_FXP_STAT,Type=17,RequestID=12
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.055 : Transmit 44 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.055 : Remote window size decreased to 130808
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.071 : RepeatCallback received 84 bytes
DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.071 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.071 : Received message (type=105,len=37)
DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.071 : AddMessage(12) - added to store
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Reply : Name=SSH_FXP_ATTRS,Type=105,RequestID=12
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.071 : Send : Name=SSH_FXP_OPEN,Type=3,RequestID=13
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.071 : Transmit 56 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.071 : Remote window size decreased to 130752
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.087 : RepeatCallback received 52 bytes
DEBUG [SSH2Connection] 6 Feb 2015 14:17:33.087 : ProcessPacket pt=SSH_MSG_CHANNEL_DATA
DEBUG [SFTPMessageFactory] 6 Feb 2015 14:17:33.087 : Received message (type=102,len=10)
DEBUG [SFTPMessageStore] 6 Feb 2015 14:17:33.087 : AddMessage(13) - added to store
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Reply : Name=SSH_FXP_HANDLE,Type=102,RequestID=13
DEBUG [SFTPMessage] 6 Feb 2015 14:17:33.087 : Send : Name=SSH_FXP_READ,Type=5,RequestID=14
DEBUG [SSH2Channel] 6 Feb 2015 14:17:33.087 : Transmit 26 bytes
DEBUG [ChannelDataWindow] 6 Feb 2015 14:17:33.087 : Remote window size decreased to 130726
DEBUG [PlainSocket] 6 Feb 2015 14:17:33.118 : RepeatCallback received 0 bytes
DEBUG [SFTPChannelReceiver] 6 Feb 2015 14:17:33.118 : Connection closed: (code=0)
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : Disconnected unexpectedly ( [errorcode=0])
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : EnterpriseDT.Net.Ftp.Ssh.SFTPException: [errorcode=0]
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.CheckState()
ERROR [SFTPMessageStore] 6 Feb 2015 14:17:33.118 : at EnterpriseDT.Net.Ftp.Ssh.SFTPMessageStore.GetMessage(Int32 requestId)I believe there is a limitation on FTP and what you are seeing is a timeout built into the 3rd party application that tidal uses (I feel like it was hardcoded and it would be a big deal to change but this was before Cisco purchased tidal) there may have been a tagent.ini setting that tweaks that but I can't find any details.
We wound up purchasing our own FTP software (ipswitch MOVEit Central & DMZ) because we also had the need to host as well as Get/Put to other FTP sites. It now does all our FTP and internal file delivery activity (we use it's api and call from tidal if we need to trigger inside a workflow) -
Problem Connecting to SFTP server using the SFTP Transport in OSB 11gr1
Hi,
I have a proxy service that polls for files from an SFTP server. But there seems to be some problem with the handshake between the both.
Below is the error that is logged:
<Error> <WliSbTransports> <tshvm03x> <OSB_AdminServer1a> <pool-14-thread-1> <weblogic> <> <11d1def534ea1be0:-2e6486ae:130dafcd1ef:-8000-0000000000615cf8> <1309358912109> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$XXWMMPROJECTS$DF155_INBOUND_ASN$Proxy_Services$PS_PO_DF002_SFTP_01: com.bea.wli.sb.transports.TransportException
com.bea.wli.sb.transports.TransportException
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:125)
at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
Caused By: java.util.NoSuchElementException
at java.util.StringTokenizer.nextToken(StringTokenizer.java:332)
at java.util.StringTokenizer.nextElement(StringTokenizer.java:390)
at com.bea.wli.sb.transports.sftp.client.KnownHostVerifier.validateKnownHosts(KnownHostVerifier.java:65)
at com.bea.wli.sb.transports.sftp.client.SFTPClient.authenticate(SFTPClient.java:104)
at com.bea.wli.sb.transports.sftp.connector.SFTPResource.<init>(SFTPResource.java:77)
at com.bea.wli.sb.transports.sftp.resource.SFTPUtils.createSFTPResource(SFTPUtils.java:170)
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.getSftpResource(SFTPWorkPartitioningAgent.java:148)
at com.bea.wli.sb.transports.sftp.connector.SFTPWorkPartitioningAgent.execute(SFTPWorkPartitioningAgent.java:58)
at com.bea.wli.sb.transports.poller.TransportTimerListener.run(TransportTimerListener.java:74)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:206)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)
>
I could see the same error mentioned in a couple of posts; but couldn't find any resolution to it. Any Pointers on this would really help.
Settings Done:
I have configured a service key provider.
Placed the Known_hosts file at Domain_Home/config/osb/transports/sftp with all the necessary details.
Thanks,
ManojHi Manoj,
It may be an issue with Known_hosts file. Make sure that it is properly formed and it has no space/newline character at the starting of the file.
Regards,
Anuj -
Facing problem in SFTP File Transfer in OSB 11gR1
Hi,
We are facing issue in SFTP File transfer from a very long time now.
We have created around 10 SFTP Services which are configured to transfer files from One server to another in the entire application setup.
Each SFTP Service consists of a Proxy service of SFTP type, which calls Biz Service and transfers files in default pattern.
These services were running successfully from a long time, but from past 2-3 months, files are not getting transferred to target folder everytime.
i.e. After restarting managed server, they get transfered for few days, but start giving problem after some time.
I have checked full configuration settings, file paths, also i have checked file names to trace duplicacies if any, but there is no such possibility of passing duplicate files as file names consists of timestamps.
We have a clustered domain setup with 2 managed servers configured running in 2 instances.
The observations in case of error while passing file are as follows :
1. A file named abc.xyz is kept in Source Directory.
2. abc.xyz gets converted to abc.xyz%.stage file in some time.
3. It does not move to archive directory nor to target directory.
All servers are up as it is PROD Environment and hence no server issue.
While testing same services in SIT Servers, we never face any issue.
Proxy Service configuration is as below :
Authentication Mode Username Password
Service Account *****NOT TO BE DISCLOSED*****
Timeout 60
File Mask [*.*]
Scan SubDirectories false
Pass By Reference false
Remote Streaming true
Post Read Action archive
Archive Directory *****NOT TO BE DISCLOSED*****
Error Directory *****NOT TO BE DISCLOSED*****
Retry Count 5
Managed Server *****ONE OF THE MANAGED SERVERS*****
Polling Interval 900
Read Limit 0
Sort By Arrival false
Request encoding utf-8
We have mentioned different polling intervals for different services. Values used are : 450, 900, 1800, etc.
Please guide for solution of this problem ASAP.
Thanks
Cheena Malhotra
Edited by: cmalhotra on Jan 20, 2013 12:36 PM(a) This doesn't appear to have anything to do with the topic of this forum.
(b) If this fails:
getFtpClient().changeWorkingDirectory(getRemoteDirectory()); //This line first returning false then of course nothing else will work. That's what you need to investigate. -
CFFTP SFTP Connection problems - CF8
I have run into a brick wall trying to make the secure
connection.
My code is as follows
<cfftp action = "open"
username = "MyUser"
connection = "MyConnection"
password = "MyPassword"
fingerprint = "fi:ng:er:pr:in:th:er:e"
server = "IP Address"
port="22"
secure = "yes">
I have confirmed the fingerprint (technically not required)
and the port.
Using FileZilla and the same parameters, I can make the SFTP
connection with no problem.
Yet in CF8 on my CrystalTech hosted account, I can't. I am
working with their support team, but have been unsuccessful for
several days.
Has anyone actually ever done this in real life? I am falling
days behind on this project.As it turns out, the webhost serving CF8 (CrystalTech) has
blocked port 22 traffic. Port 22 is the standard port for SFTP
traffic. I am working with the support team there trying to get
them to permit traffic on this port. It doesn't look hopeful. I
have now lost a good 20+ days on this issue.
Does anyone have a workaround for using SFTP in CFFTP on a
CF8 server? Need to move a file from the CF8 server to a different
server - different location... securely. -
[SOLVED] avahi sftp mount problem
greetings,
i hope i'm posting this in the right subforum (the other abvious choice would have been networking), but since this is likely to be a configuration issue, i'll post here. sorry, i'm kind of a newbie here.
sso.. i'm using a thinkpad t42, i've installed arch linux for the second time (please be patient with me, lol), and i've set up everything correctly: i have the latest gnome (2.30), and kernel. uname -a:
Linux YURI 2.6.32-ARCH #1 SMP PREEMPT Mon Mar 15 20:08:25 UTC 2010 i686 Intel(R) Pentium(R) M processor 1.60GHz GenuineIntel GNU/Linux
yesterday, i've messed around a bit with my rc.conf, and now everytime i try to mount a mac share via avahi/sftp, i only see nautilus's 'opening *insert-share-name-here*', and a certain process (gvfsd-sftp) eats all my processor resources. the share never actually gets mounted. i'm guessing some kernel module is not loaded, or there's a problem with the order of my daemons.
i've searched around in on the wiki, on the forums and in google, but to no avail. everything is supposed to be in order. if someone can help, please do.
modules array from rc.conf:
MODULES=(acpi-cpufreq cpufreq_ondemand cpufreq_conservative cpufreq_userspace cpufreq_powersave fuse !slhc !thinkpad-acpi e1000 ipw2100)
daemons array:
DAEMONS=(syslog-ng dbus hal crond alsa !network rpcbind nfs-common nfs-server netfs ntpd avahi-daemon networkmanager gdm)
thank you,
bamdad
Last edited by bamdad (2010-04-03 12:01:35)update:
it seems, rc.conf has nothing to do with the problem. i'll leave it here for reference, but i tried logging in to gnome as root, and voilá, i could connect without a problem. so there had to be something messed up with my gnome settings. i had a crash yesterday, during which i was logged in to the other computer.
so i popped open Accessories>Passwords and Encryption keys from the gnome menu and deleted the [email protected] and [email protected] (interestingly, there wasn't an [email protected], and the problem was resolved.
my guess is that the crash somehow messed up my stored login information, and thus gvfsd-sftp went crazy trying to authenticate. if you happen to have the same problem, try the solution above.
Last edited by bamdad (2010-04-03 12:07:18) -
Problem doing SFTP through ISDN
Hi,
I have a problem doing SFTP through ISDN, ISDN connection is not staying active throughout the duration of the file transfer, it drops after its timeout value even if data transfer is in progress and file transfer break at that point, this happens with sftp transfer only, other type of connection like telnet, rdp works fine. Intresting traffic list I have define is,
access-list 112 permit ip host 10.10.10.9 any. All the traffic is orignating from IP address 10.10.10.9
Any suggestion on that.
Thank you
YaminThis is a fairly common issue with ISDN dialers. The disconnect may be initiated by either side of the connection.
If you are certain that all is OK on your end, it may be the remote side that initiates the disconnect.
regards,
Leo -
Hi Everyone,
I've just begun setting up Server with port forwarding through my Airport Time capsule. Everything works when I SFTP as myself. from terminal, either SFTPing to [email protected] and entering my apssword lets me in... as well as simply SFTPing to 123.456.789.000 and entering my password.
problem is, I created another account. I created one account through "users" in system settings, and I tried to create another account within Server. both accounts I gave administrator priveleges to, just for good measure.
both accounts come back saying incorrect password. my spider sense is telling me that it might have something to do with the way MY username is configured -- in my previous experience, I shouldn't be able to simply ftp to the raw IP without a user@ and have it ask me for a password.
Thanks,
AemiliaSo if I understand this correctly, you now have two accounts with the same short name? You'll want to resolve that duplication; that's not something that works well, and all sorts of stuff can get tangled.
If you don't have duplicated shortnames here, then there's something else going on. Start by confirming the remote account has ssh access and a valid and accessible login home directory; that's all necessary for ssh (and sftp, which is based on ssh) to work.
Also have a look at the system logs for any related errors.
Also consider setting up certificate-based logins for ssh (and sftp), as those are more secure than passwords, and particularly given the prevalence of brute-force ssh attacks on the network. -
Hi,
Last year we made the upgrade in our PI server to enable SFTP adapter. Our version is SAP 7.1 ehp 1
When trying to use this adapter (We attached configuration in the message), this gives us an error.
This is the error log:
Exception received while check for additional files: String index out
of range: -1
On the other hand, the communication channel fails when it try to process any of the file list but doesn't gives us any log error.
Is it a problem of configuration required for SFTP adapters? If so how should indicate our filters to properly process messages?
Thanks and best regards.
MónicaHi Iñaki,
We configured our channel as it show the note 1988592 - SFTP Adapter not picking files with *
But we have the same error:
Exception received while check for additional files: String index out of range: -1
I attached the screenshot
Thanks and best regards
Maybe you are looking for
-
Apple Thunderbolt to FireWire Adapter Compatibility
Will the Apple external isight firewire web cam work on the macbook air through the Apple Thunderbolt to FireWire Adapter.
-
How can I use Itunes for different users on the same PC
I have itunes loaded with my full library. I have now created a second user account on my computer for someone else to access, and I want them to be able to access the full library which I have (4500 songs). How can I do this. Currently, when I open
-
Does anyone know how to copy an Iweb page to Pages? When I select all and copy everything becomes distorted, so I can't copy the page just 'as is'. There is no guidance for this in iWeb help. Any suggestions? Thanks,
-
I have tried to search help manual and cannot figure out to change default name of my calendar and cannot figure out where my iPad got the information.
-
Error while trying to modify a project using JDI
Hi All, I have the project essinfam in Webdynpro perspective ,When i go to Webdynpro components , in MESsage Pool whn i click on the entries to edit , it displays me the following error message <i>"The operation requires the writeability of the foll