weird problem - terminal not refreshing; sleep not terminating

Hi,

I am having a wierd problem in one of the Solaris server.

root@ussd # uname -a
SunOS ussd 5.8 Generic_108528-24 sun4u sparc SUNW,Sun-Fire-280R

The problem is that terminal is not refreshing when we run commands like
prstat, tail -f "some log file", sar -u 1 10

Also, sleep command is not terminating normally. I have to press ctrl+C or ctrl+Z to terminate it.

root@ussd # sleep 2
^C
root@ussd #

root@ussd # sleep 5
^Z
[1]+  Stopped                 sleep 5
root@ussd #

root@ussd # ps -aef | grep sleep
    root 22218     1  0 11:32:57 ?        0:00 sleep 2
    root 22311 21950  0 11:54:31 pts/1    0:00 sleep 5

Any suggestions, I am unable to troubleshoot this problem.

Please HELP !!!

You don't mention any details of the terminal itself.

1) Check the value of $TERM is set, and that it is set to a value which matches you terminal and that the terminal itself is set up correctly.
If the unix "clear" command does not clear the screen, this usually means that the TERM is wrong.

2) Check "stty -a" values.
Clearly "stty intr" is not set to ctrl/C . (It's echoing ctrl/C rather than actioning it).
In your example ctrl/Z has backgrounded the task. This is normal behaviour.

Hi,

TERM value is set as xterm. "clear" command is working fine.

How can I confirm that "terminal itself is set up correctly." ???

root@ussd-gw # stty -a
speed 38400 baud;
rows = 42; columns = 125; ypixels = 0; xpixels = 0;
csdata ?
eucw 1:0:0:0, scrw 1:0:0:0
intr = ^c; quit = ^\; erase = ^?; kill = ^u;
eof = ^d; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^q; stop = ^s; susp = ^z; dsusp = ^y;
rprnt = ^r; flush = ^o; werase = ^w; lnext = ^v;
-parenb -parodd cs8 -cstopb -hupcl cread -clocal -loblk -crtscts -crtsxoff -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 -defecho -flusho -pendin iexten
opost -olcuc onlcr -ocrnl -onocr -onlret -ofill -ofdel


root@ussd-gw # env
EDITOR=vi
HOME=/
LD_LIBRARY_PATH=/usr/openwin/lib
LOGNAME=root
MAIL=/var/mail//root
MANPATH=:/usr/man:/usr/share/man
OPENWINHOME=/usr/openwin
PATH=/opt/sun/bin:/usr/sbin:/usr/bin:/usr/ccs/bin:/usr/openwin/bin:/usr/dt/bin:/usr/platform/SUNW,Sun-Fire-280R/sbin:/home/oracle/ora9i/bin
PS1=root@ussd #
PS2=root@ussd >
SHELL=/sbin/sh
SSH_CLIENT=10.2.29.44 35267 22
SSH_CONNECTION=10.2.29.44 35267 10.2.29.43 22
SSH_TTY=/dev/pts/1
TERM=xterm
TZ=Asia/Calcutta
USER=root

Pls help !!

Hi All,

Seems like I found the culprit in /var/adm/messages.

We have some unusual errors there like.

kern.warning] WARNING: [AFT0] 3 soft errors in less than 24:00 (hh:mm) detected from Me
mory Module J0406

Transaction was a block operation.
Jun 25 12:06:07 ussd pcisch: [ID 956438 kern.info] dvma access, Memory safari command, address 00000000.7e2ee2d0, owned_
in not asserted.

secondary error from DVMA read transaction

I googled for these errors, seems like the PCI slot where the memory card is inserted is faulty. An engineer from SUN Microsystems is also working on it.'

Best Regards,
vIKAS