[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

ftp error message 452 Error writing file when connect to AIX server

Posted on 2008-02-06
5
Medium Priority
?
6,731 Views
Last Modified: 2013-12-16
I have fileone  to be ftp'ed to AIX server:
-rw-r-----   1 root     sys      1073741312 Sep 19 10:27 expref3.dmp

i use root account in the ftp connection.

but, I am getting this error:

ftp> put expref3.dmp
200 PORT command successful.
150 Opening data connection for expref3.dmp
452 Error writing file: A file cannot be larger than the value set by ulimit.

how i can solve this prop.

thx much
i log as root to the server and write
# ulimit -a
time(seconds)        unlimited
file(blocks)         2097151
data(kbytes)         131072
stack(kbytes)        32768
memory(kbytes)       32768
coredump(blocks)     2097151
nofiles(descriptors) 2000

Open in new window

0
Comment
Question by:eugie17
  • 3
  • 2
5 Comments
 
LVL 14

Expert Comment

by:sjm_ee
ID: 20832934
2097151*512=1073741312. So this should be ok. However, are you transferring in ascii mode? Is any cr-lf translation happening to make the file longer? What is you try bin mode?
0
 

Author Comment

by:eugie17
ID: 20833520


sorry, the file that i was provided is ftp'ed on another server :)) , the correct file is

-rwxr--r-- 1 nobody nobody 1268576110 2008-01-28 22:48 10gr2_aix5l64_database.cpio.gz

and below is the output of FTP connection
Name (192.168.165.97:anas): root
331 Password required for root.
Password:
230-Last unsuccessful login: Wed Feb  6 04:35:31 CST 2008 on /dev/pts/0 from 10.13.8.147
230-Last login: Wed Feb  6 07:35:47 CST 2008 on /dev/pts/0 from 10.13.3.44
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp>
ftp> ascii
200 Type set to A; form set to N.
ftp> put 10gr2_aix5l64_database.cpio.gz
local: 10gr2_aix5l64_database.cpio.gz remote: 10gr2_aix5l64_database.cpio.gz
229 Entering Extended Passive Mode (|||33848|)
150 Opening data connection for 10gr2_aix5l64_database.cpio.gz.
  0% |                                                                                                |    -1       0.00 KB/s    --:-- ETA
452 Error writing file: Error 0
ftp> bin
200 Type set to I.
ftp> put 10gr2_aix5l64_database.cpio.gz
local: 10gr2_aix5l64_database.cpio.gz remote: 10gr2_aix5l64_database.cpio.gz
229 Entering Extended Passive Mode (|||33849|)
150 Opening data connection for 10gr2_aix5l64_database.cpio.gz.
  0% |                                                                                                |    -1       0.00 KB/s    --:-- ETA
452 Error writing file: There is not enough space in the file system.
ftp>                                                

Open in new window

0
 
LVL 14

Expert Comment

by:sjm_ee
ID: 20839233
The error message here is clear:

452 Error writing file: There is not enough space in the file system.

The solution is to make more space available in the target filesystem.
0
 

Accepted Solution

by:
eugie17 earned 0 total points
ID: 20839711
the problem now solve i use

http://www.experts-exchange.com/OS/Unix/AIX/Q_22839665.html?sfQueryTermInfo=1+aix+set+ulimit
and I increase file Soft File Size
0
 

Author Comment

by:eugie17
ID: 20839717
there is 10G free in the destination
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
This article explains how to use the rsync command to create backups and sync data across hosts. Rsync is a very useful command that is often used to copy data, make backups, migrate hosts, and bridge the gap between site staging and production envi…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Suggested Courses
Course of the Month8 days, 23 hours left to enroll

590 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question