error in ftp script which pulls files from ATM


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting error in ftp script which pulls files from ATM
# 1  
Old 04-11-2009
CPU & Memory error in ftp script which pulls files from ATM

Hi Everyone,

I have an ftp script which pulls files from ATM in a daily basis. But for the last two days i found that the script is throwing some error like

********************************************
cat: 0652-050 Cannot open EJpullErr_20090411.log.
cat: 0652-050 Cannot open EJpullErr_20090411.log.
unincr.sh: There is not enough space in the file system.
open <IP-ADDRESS>
user $USER1 $PASSWD1
cd /users/ejuser
bin
mput file1.txt file2.txt
: There is not enough space in the file system.
**********************************************
I cleared all the files and now i have enough space in the mountpoint where i intended to run the script. Unfortunately it is still throwing the same error.I am not able to understand the root cause of this problem. Please help me out to solve this issue.

But it is working manually(I can connect manually to every ATM and download files)

Thanks in advance ...

Thanks
Renjesh Raju

Last edited by Renjesh; 04-11-2009 at 05:06 AM..
# 2  
Old 04-11-2009
can you give the output of df -k of both machines.Normally when /var/temp gets low in spcae this error comes.
# 3  
Old 04-11-2009
Renjesh,

check the disc space in the source, destination and /var/temp directories
# 4  
Old 04-11-2009
Hi,

Output of df -k in Destination box(AIX 4.3).

$ df -k
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/dev/hd4 1048576 851540 19% 2600 1% /
/dev/hd2 1048576 251384 77% 19200 8% /usr
/dev/hd9var 3014656 466244 85% 1672 1% /var
/dev/hd3 2162688 0 100% 944 1% /tmp
/dev/hd1 1048576 315020 70% 4306 2% /home
/dev/lv11 10223616 9805436 5% 39 1% /temp_bkp
/dev/lv12 6029312 3437116 43% 6268 1% /oracle
/dev/lv13 10223616 8211664 20% 27 1% /oradata2
/dev/lv02 10223616 4932708 52% 2535 1% /oradata1
/dev/lv03 10223616 5037040 51% 26 1% /oradata3
/dev/lv04 10223616 1555984 85% 25 1% /oradata4
/dev/lv05 10223616 4679696 55% 21 1% /oradata5
/dev/oasistest 15728640 7718052 51% 61291 2% /oasistest
/dev/oasistmp 2359296 2285196 4% 17 1% /oasistmp
/dev/lv07 25427968 8793704 66% 88597 2% /kblej
/dev/lv06 15204352 10967068 28% 3425 1% /data
/dev/lv00 12845056 8706004 33% 14791 1% /uniej

Source is ATM's that is not in my control and that is windows machines.
# 5  
Old 04-11-2009
hi,

free the /tmp directory a bit.
# 6  
Old 04-11-2009
This problem got resolved.Smilie

Thanks to all who responded to my query
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Ftp files error

Hi Guys, I am trying to copy files using FTP but I get this error: Arguments to long... I read that I can copy files in batches...How can I copy those files in batches? I am currently using mget A*.csv B*.csv C*.csv, etc up to a certain letter then when its done i will continue. Is... (1 Reply)
Discussion started by: Phuti
1 Replies

2. Shell Programming and Scripting

Download files every one second using ftp script

Our main Server "Srv1" is used to generate text files based on specified criteria and it is also connected to two clients (pc1 and pc2) which are responsible for getting the files from Srv1 as it follows: 1. pc1 ( which represents my UNIX machine ) uses shell script to copy the files from Srv1 2.... (3 Replies)
Discussion started by: arm
3 Replies

3. Shell Programming and Scripting

Need help creating a script to FTP files to a server and then delete the files that were transfered.

I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Discussion started by: jmalfhs
4 Replies

4. Shell Programming and Scripting

ftp script for transfering files

Hi, I am new to shell scripting,and i was planning to write a script that will FTP files to destination folder. All configuration should be done through a properties files.I was planning that All configuration should be done through a properties files. and finally the output should be... (0 Replies)
Discussion started by: rahul125
0 Replies

5. HP-UX

Scripts to move files via FTP with error checking

Hi Members, Can members please advise or suggest how to write UNIX script which move all zip files in source directory and when done delete zip files from source directory? We want to delete only on successful transfer to the destination. secondly want to add some error checking if the FTP... (1 Reply)
Discussion started by: dxj0815
1 Replies

6. Shell Programming and Scripting

Script for FTP (transfer only new files)

Hi everybody, I just want to transfer files with FTP (mget and mput). The problem is that I dont want to overwrite any existing files and don't want to transfer them again (e.g. using the rename-function). So I only want to transfer new files with mget and mput. My first idea was to create... (3 Replies)
Discussion started by: inoxx
3 Replies

7. Shell Programming and Scripting

FTP - To handle error while transferring files

Hi, I had written an FTP script where in I loop through the directories and transfer the files from each and every directory of Windows to UNIX. Now the problem is when 1. The connection is unable to be established I should return some error codes 2. When there is some system... (1 Reply)
Discussion started by: mahalakshmi
1 Replies

8. Shell Programming and Scripting

trnsmiting thousands ftp files and get an error message

Im transmiting thousands ftp files to a server, when type the command mput *, an error comes and say. args list to long. set to I. So ihave to transmit them in batch or blocks, but its too sloww. what shoul i do?. i need to do a program, or with a simple command i could solve the problem? (3 Replies)
Discussion started by: alexcol
3 Replies

9. UNIX for Advanced & Expert Users

FTP over ATM issue

We just recently upgraded our T1 wan link to a 10Mbit ATM link. Windows pc's seem fine and get great speed, however we have 2 Sco unix box's that seem really slow at FTPing now. both Sco box's are SCO OpenServer Enterprise System (ver 5.0.5m) compaq ML530's I'm not really sure what to... (4 Replies)
Discussion started by: whegra
4 Replies
Login or Register to Ask a Question

Featured Tech Videos