|
Home > Archive > Unix administration > December 2006 > Server Hung.
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| Nikunj Khakhar 2006-12-13, 1:20 pm |
| Hi i am using solaris 10 server , when we tried to execute the basic
commads like w, iostat, who the command will execute but afterward it
is not terminating and we have to disconnect from the terminal and do
relogin can any body any solution expect the rebooting the sserver.
thanks in advance.
regards,
Nikunj.
| |
| johngnub 2006-12-13, 7:22 pm |
| Sorry to ask questions:
a) How did you login in, putty ssh, etc?
b) Did the commands work?
c) Try echo "fun fun", do simple commands work ok.
d) df ?? Disk space ok ?
e) ps -ef, what does that show ?
2 cents, JB
Nikunj Khakhar wrote:
> Hi i am using solaris 10 server , when we tried to execute the basic
> commads like w, iostat, who the command will execute but afterward it
> is not terminating and we have to disconnect from the terminal and do
> relogin can any body any solution expect the rebooting the sserver.
>
> thanks in advance.
>
> regards,
> Nikunj.
| |
| Nikunj Khakhar 2006-12-14, 8:08 am |
| Thanks for the spending time for the checking problem
) How did you login in, putty ssh, etc?
ssh through putty.
> b) Did the commands work?
ls , who and other command working ok
> c) Try echo "fun fun", do simple commands work ok.
its working ok
> d) df ?? Disk space ok ?
its ok no issue with the disk spece
> e) ps -ef, what does that show ?
this command execute partially but it even to terminating using ctrl+c
or any key i have to disconnect the session..
> 2 cents, JB
?????????????????????
thanks john...
and also thanks to other group memeber
regards,
Nikunj..
johngnub wrote:[vbcol=seagreen]
> Sorry to ask questions:
> a) How did you login in, putty ssh, etc?
> b) Did the commands work?
> c) Try echo "fun fun", do simple commands work ok.
> d) df ?? Disk space ok ?
> e) ps -ef, what does that show ?
> 2 cents, JB
>
> Nikunj Khakhar wrote:
| |
| Binand Sethumadhavan 2006-12-15, 7:34 am |
| Nikunj Khakhar wrote:
> this command execute partially but it even to terminating using ctrl+c
> or any key i have to disconnect the session..
Well, the one time I have been in this situation, it turned out that the
VPN link through which I was accessing the server was fragmenting
packets and the assembly at the other end was not happening correctly (I
think the VPN peer device had a bug).
You might want to involve your network administrators in troubleshooting
this further. If I read it right, commands with small amount of output
work fine, while commands with large amount of output would hang the
session.
Binand
| |
| Michael Tosch 2006-12-15, 7:34 am |
| Nikunj Khakhar wrote:
> Thanks for the spending time for the checking problem
>
> ) How did you login in, putty ssh, etc?
> ssh through putty.
>
> ls , who and other command working ok
> its working ok
> its ok no issue with the disk spece
>
> this command execute partially but it even to terminating using ctrl+c
> or any key i have to disconnect the session..
>
> ?????????????????????
>
>
> thanks john...
>
> and also thanks to other group memeber
>
> regards,
>
> Nikunj..
>
> johngnub wrote:
>
Fix your terminal with command
stty intr ^c
(two letters ^ and c)
And now you should be able to interrupt with
Ctrl-C
(hold Ctrl key and hit c key)
Trace the system calls for "ps -ef" with
truss ps -ef
the last stat() command should be the one that is hanging.
Probably it requires a name server (e.g. NIS server) that
is not responding.
--
Michael Tosch @ hp : com
|
|
|
|
|