Problem in SIGTTOU in AIX 5.2

Thread Tools Search this Thread
Operating Systems AIX Problem in SIGTTOU in AIX 5.2
# 1  
Old 08-03-2009
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

[1] + Stopped (SIGTTOU)        <script name> &

I cheked my terminal settings I disabled tostop. Below is the current setting of my terminal

speed 9600 baud; 41 rows; 111 columns;
eucw 1:1:0:0, scrw 1:1:0:0:
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = ^@
eol2 = ^@; start = ^Q; stop = ^S; susp = ^Z; dsusp = ^Y; reprint = ^R
discard = ^O; werase = ^W; lnext = ^V
-parenb -parodd cs8 -cstopb hupcl cread -clocal -parext
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl -iuclc
-ixon -ixany -ixoff imaxbel
isig icanon -xcase echo echoe echok -echonl -noflsh
-tostop echoctl -echoprt echoke -flusho -pending iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel tab3

Can experts please suggest me what shall be done to get rid of this problem?

# 2  
Old 08-03-2009
Does your script output text to the terminal while running?
# 3  
Old 08-03-2009
Can you show your script please?
# 4  
Old 08-03-2009
trap 'echo "welcome";exit' EXIT
echo "experimenting exit signal"...
echo "bye again"

If I say fg %1 then

I get the display.

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problem space used on AIX 5.3

Hello everyone, Sorry for my English but i'm French. I have a problem on an AIX 5.3 server on the occupation of a file system. When i run a df -m, this is what i get : Filesystem MB blocks Free %Used Iused %Iused Mounted on /dev/fslv09 3936.00 340.94 92% 7255 ... (8 Replies)
Discussion started by: Veis
8 Replies

2. 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

3. AIX

AIX 6.1 - openssh - problem

Hello, I am new in aix unix. First i install openssl - success, next step i try install openssh when i put command geninstall -Y -d /myssh openssh.base i have this message: What is the problem? Thanks for help. Sorry for my bad english i still learning. ---------- Post updated at... (2 Replies)
Discussion started by: bieszczaders
2 Replies

4. AIX

AIX OS problem? network problem?

Dear ALL. I installed AIX OS on customer sites. but Only one site is too slow when I connected telnet, ftp.. Ping is too fast. but telnet and FTP is not connected.. of course i check the configuration file on aix but it's normal. Do any Idea?? thanks in advance. - Jun - (3 Replies)
Discussion started by: Jeon Jun Seok
3 Replies

5. UNIX for Dummies Questions & Answers

Crontab problem in AIX

Hi my script is as below. #! /bin/sh get=`ls -l *.ZIP | egrep -c '^-'` put=`cat Get_File_Count.txt|grep ''` if then echo $get > Get_File_Count.txt echo "Hi,\n\nYou've got a new feed!\n\nFilename : `ls -l *.ZIP|sort -k 6|tail -1|cut -c 58-90`" | mail -s "New File Received" (8 Replies)
Discussion started by: naveen.kuppili
8 Replies

6. AIX

AIX 5.3, TL6 problem??

Hi people, I have a IBM server (with HACMP) running AIX 5.3 with Oracle9.2. In last weekend i installed TL6... root@srv_node1:/> oslevel -s 5300-06-03-0732 but now the Shared pool of oracle is very low... making all process very slow I already try to find some answer in google...... (14 Replies)
Discussion started by: gfca
14 Replies

7. UNIX for Advanced & Expert Users

AIX 4.3.3 / Compress Problem

Hello all! I've a great problem and does not find the reason for it. So I hope anybody have good ideas to find the solution. Problem: I'm sysadmin for 7 RS6000 Servers (7044/170) running with AIX 4.3.3 and a Oracle 7 Database (I know - OLD! But there is no way to upgrade the Software. This... (0 Replies)
Discussion started by: Peter_Brown
0 Replies

8. UNIX for Advanced & Expert Users

SIGTTOU Error in FTP process

Hi, I am getting the + 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... (1 Reply)
Discussion started by: Kumar71
1 Replies

9. UNIX for Advanced & Expert Users

AIX 5.2 problem

Hello, I'm working on a AIX5.2 OS. The problem i'm facing is that the system performance is good in rrot login, but when i switch to other users login it is very slow. A ls or even pwd command take almost 20 to 30 sec to disply output. The same logins are working fine on other... (2 Replies)
Discussion started by: pradeepmacha
2 Replies

10. AIX

AIX pg problem

Hi all, I have problem with regards to using pg on AIX v5.3.0.0 . Here wht i am trying to do --- i have shell script with the following statements if || then echo ^[[?3h tput clear pg -f $1$2 echo ^[[?3l ... (0 Replies)
Discussion started by: ramanujapuram
0 Replies
Login or Register to Ask a Question