Error From Send_data
Contents |
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
zosftp; FTP; FTPC; AIX; EDC5140I; EZA2590E; 76690291; EPIPE; 452; file size; limit; user; zosftp Technote (troubleshooting) Problem(Abstract) edc5140i broken pipe 0x76697242 FTP client fails with broken pipe error, EDC5140I, when sending a large
Eza2590e
file to AIX FTP server. Symptom FTP client fails with message EZA2590E when sending a large file to eza1735i an AIX FTP server with an errno of 140 and an errnojr of 76690291. Errno 140 indicates a return code of EPIPE with description, "The pipe is broken." The https://groups.google.com/d/topic/bit.listserv.ibm-main/z5a3l2iGzfk errnojr contains a reason code qualifier and a reason code. Reason code qualifier 7669 indicates that the error represented by the reason code is not an OS/390 UNIX reason code. Reason code 0291 indicates a return code of JRTCPERROR with description, "TCP returned an error identified by the return code," which is the 140 errno from above. Another http://www-01.ibm.com/support/docview.wss?uid=swg21109066 common symptom is that the AIX FTP server sends the message, "452 Error writing file: Error 0," which is an indication that the AIX server is out of storage. Cause The file size limit for the AIX user on the target server is too small. Resolving the problem Change the file size limit for the user that initiates the transfer on the AIX system. To change the file size limit for a particular user, add or edit the fsize attribute for the user in the /etc/security/limits file on the AIX system. Change the file size limit to unlimited (fsize = -1) or to a size equal to the size of the file being transferred. This may require an restart of the AIX FTP server to pick up the new configuration. Document information More support for: z/OS Communications Server All Software version: 1.6, 1.7, 1.8, 1.9, 1.10, 1.11, 1.12, 1.13, 2.1, 2.2 Operating system(s): z/OS Reference #: 1109066 Modified date: 2005-01-25 Site availability Site assistance Contact and feedback Need support? Submit feedback to IBM Support
trying to execute FTP (Put) from IBM to a Unix server .. The log is : They are trying to carry out FTP (Put) from https://www.mail-archive.com/ibm-main@bama.ua.edu/msg27406.html IBM to a servant... The log is: EZA1485I 2137743360 bytes transferred - 10 second interval rate 687.36 KB/sec EZA1485I 2144563200 bytes transferred - 10 second interval rate 674.56 KB/sec EZA2590E send error from http://stackoverflow.com/questions/18507501/rails-send-data-return-http-error-406 send_data - EDC5140I Broken pipe. (errno2=0x74500442) EZA2603E Error sending the file 452 Error writing file: No such file or directory. EZA1735I Std Return Code = 27452, Error Code = 00010 EZA1701I >>> send receive QUIT 221-You have transferred 2147483492 bytes in 0 files. 221-Total traffic for this session was -2147483217 bytes in 0 transfers. 221-Thank you for using the FTP service on condor. 221 Goodbye. Regards. Atte. Alvaro Quintupray B. Ingeniero de Sistemas Nexus S.A. Fon : 420 8149 Fax : 420 8508 -----Mensaje original----- De: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] En nombre de Mark Zelden Enviado el: Viernes, error from send_data 07 de Julio de 2006 14:43 Para: IBM-MAIN@BAMA.UA.EDU Asunto: Re: FTP - Put Error - EZA2590E On Fri, 7 Jul 2006 13:00:02 -0500, Alvaro Quintupray B. <[EMAIL PROTECTED]> wrote: >Hi. > >I have Zos 1.6 >When executing the FTP of a big file from IBM to an UNIX server... I >have the following errror: > >EZA2590E send send_data error from - EDC5140I Broken pipe. >(errno2=0x74500442) > >I have seen the manual of messages and appears glosses different for >the message > >As it is the true error? Where I look for it.? > When did you get it? I was FTPing a stand alone dump late last night and when got into the office this morning I saw the same error (can't say for sure about errno2, I purged the output). Have you tried it more than once? Regards, Mark -- Mark Zelden Sr. Software and Systems Architect - z/OS Team Lead Zurich North America / Farmers Insurance Group mailto: [EMAIL PROTECTED] z/OS and OS390 expert at http://searchDataCenter.com/ateExperts/ Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the archi
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Rails send_data return HTTP error 406 up vote 3 down vote favorite I have a little problem on an export as XLS from my database. I use the gem to_xls and after folowing the documentation I have this error that I don't know how to get ride of and launch the download of my file: controller: def export @subscribes = Subscribe.all respond_to do |format | format.xls { send_data@subscribes.to_xls, disposition: 'attachment', : filename = > 'Subscribes.xls' } end end My MIME file Mime::Type.register "application/vnd.ms-excel", :xls And so, the error that I got with the full header: Request URL:https://localhost:3000/subscribes/export Request Method:GET Status Code:406 Not Acceptable Accept:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 Accept-Encoding:gzip,deflate,sdch Accept-Language:fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4 Connection:keep-alive Host:localhost:3000 User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 Cache-Control:no-cache Connection:close Content-Type:text/html; charset=utf-8 Server:thin 1.5.1 codename Straight Razor Strict-Transport-Security:max-age=31536000 X-Request-Id:a5be7889994f1035818d6a554f991636 X-Runtime:0.012001 X-UA-Compatible:IE=Edge Thanks for helping me :) ruby-on-rails ruby http download xls share|improve this question edited Oct 9 '13 at 7:25 Ganesh Kunwar 2,34111329 asked Aug 29 '13 at 9:46 Nox 1498 add a comment| 1 Answer 1 active oldest votes up vote 1 down vote accepted Since you are using format.xls, you have to append .xls to the url. Try