SIGTTOU Error in FTP process


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users SIGTTOU Error in FTP process
# 1  
Old 08-09-2005
SIGTTOU Error in FTP process

Hi,
I am getting the [2] + Stopped (SIGTTOU) error while trying to FTP some files.Here is what am doing:

I have database sitting on the UNIX box.I have a table where i stored the ipaddress,username and password.Now i have a script,when run,goes to the database,takes the ipaddress,username and password and then FTP the file into the ipaddress.
I have a list of ipaddress.This works fine for some of them and for others,i get the above error.

can anyone please tell me the reason for this and also probable solution to get rid of this error.

Thanks alot in advance.
# 2  
Old 08-10-2005
SIGTTOU in POSIX means the process running in the background attempted to write to the tty. It's not a fatal error, usually, and you can trap it in the shell.

Is there a log that shows the actual ftp return code?
Check here for ftp return code information -
http://www.ftpplanet.com/ftpresources/ftp_codes.htm
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting Process ID of a ftp command

Dear all Here is my command in my ksh script: ftp ${ftpParameter} ${serverName} 2>&1 <${ftpScriptFile} |tee -a $LOG_FILE & ftpPid=$! wait Due to server problem,the server accepts the connection and then do nothing,it makes the above script hang, is it possible to set time out for ftp... (1 Reply)
Discussion started by: cstsang
1 Replies

2. Shell Programming and Scripting

Scripting with FTP Process

Hi Guys, Good day ULF! I have a general "auto-ftp" code which looks something like this: #!/bin/sh cd $1 ftp -v -n $2 << EOF user $3 $4 prompt cd $5 bin mput $6 quit EOF This works pretty well, but I'm thinking of how can I make a code by maybe including on this code, for... (5 Replies)
Discussion started by: rymnd_12345
5 Replies

3. UNIX for Advanced & Expert Users

stopped(sigttou) error while executing a script in background

Hi All, I have an issue where in when i execute a script in the background using '&', it exits with stopped(SIGTTOU) signal. There are two servers, where the Compute server is HP-Unix and Data server is Linux. I tried using the "stty - tostop" command to disable the SIGTTOU for background... (1 Reply)
Discussion started by: vmenon
1 Replies

4. Shell Programming and Scripting

How to put FTP process as a background process/job in perl?

Hi, I am using net::ftp for transferring files now i am trying in the same Linux server as a result ftp is very fast but if the server is other location (remote) then the file transferred will be time consuming. So i want try putting FTP part as a background process. I am unaware how to do... (5 Replies)
Discussion started by: vanitham
5 Replies

5. UNIX for Advanced & Expert Users

TO Automate the FTP process

Plzz Some One Help in this matter I have scripts to load the data into tables and to copy files from ftp to our system. we use to run the scripts every day.... we hav the files in the FTP server and we hav to bring the files to our system and we hav to load the data into the tables. We... (0 Replies)
Discussion started by: nani1984
0 Replies

6. AIX

Problem in SIGTTOU in AIX 5.2

Hi All, I searched different websites through search engine to get my problem rectified but it went in vain. I thought let me post my issue under expert category Whenever I run any script in background like <script name> & I get the following result if I use jobs command +... (3 Replies)
Discussion started by: shahnazurs
3 Replies

7. Shell Programming and Scripting

retry process in ftp

hi #!/bin/bash SERVER=10.89.40.35 USER=xyz PASSWD=xyz ftp -in $SERVER<<EOF user $USER $PASSWD mkdir PPL cd /path of remote dir lcd /path of local dir hash bin put <file name> bye <<EOF The above ftp script i have to schedule in crontab at a particular instance of time run daily.... (2 Replies)
Discussion started by: rookie250
2 Replies

8. Shell Programming and Scripting

How to automate an FTP process?

Hello script experts, I am newbie to shell script. But I have to write a shell script (ASAP) where I need to ftp a file on daily basis to a remote server, and send an email with final status. I I should have a properties file with hostname, Userid, and pwd. And a shall script file should read... (1 Reply)
Discussion started by: ksak
1 Replies

9. UNIX for Dummies Questions & Answers

Monitoring ftp process

I have an ftp process using vpn, my box is receiving data hit and miss from the host system. Any tool that can be used within unix (ksh) to monitor that ftp process? (2 Replies)
Discussion started by: arkhewit
2 Replies

10. Shell Programming and Scripting

scripting a ftp process

I am trying to automate a process in one of two ways: 1) ftp .txt files from a unix server to a Windows 2000 server. I want to do this in a script. Can I supply the login and password to the Windows server inside the script? 2) I tried this and failed: sftp .txt files from the unix server to... (2 Replies)
Discussion started by: gbernard
2 Replies
Login or Register to Ask a Question