12-14-2006
Locked TCP port in Solaris 10
Hi all
I haven't had much experience with Solaris 10 but we've started running into a problem where a process hangs, it is killed and leaves a zombie process. The sysadmins are saying this zombie process is locking a tcp port and not allowing the process to start up.
The process is a usually a weblogic java app.
This is happening across multiple servers but one that it is happening on is:
SunOS sedm3239 5.10 Generic_118833-17 sun4v sparc SUNW,Sun-Fire-T200
Is there any way to kill this process or free the port? The sysadmins are just rebooting the server, which seems a little extreme and I'm sure there is something else available.
Any information would be good.
Thanks
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message,
Exec format error cannot bind a name to the port.
As far as I know the port is not being used by another client.
How... (1 Reply)
Discussion started by: lopez
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All, I suspect this is simple but I cannot find any info on it.
I have a logfile on a solaris box (EMS) that I want to tail -f but I want the output of this to be redirected to a TCP port.
I have a second solaris box (PEM) running patrol enterprise manager that I am using as an alarm... (1 Reply)
Discussion started by: mscomms
1 Replies
3. SCO
sco unix 5.0.x, several weeks ago, I add a telnet-like service in inetd.conf, it runs well for 100 network terminals.
But nowdays, the terminals can connect to server successfully after booting machine, but several hours later, can not connect. "netstat -p tcp -a" can NOT find the port in... (1 Reply)
Discussion started by: shark_gao
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
5. Programming
Hi,
I am working with sun solaris sparc 5.9 and I want to use the serial port in my application..when I am trying to use it.it is throwing the message--
So how can I check the serial port is locked or not and how can I unlock the port??
Thanks in advance. (1 Reply)
Discussion started by: smartgupta
1 Replies
6. Shell Programming and Scripting
I have multiple processes running the same program on my linux machine. For each process I want to be able to use a unique (available) TCP port. I have thought of using netstat to check which ports are available for use however, the time-window between checking and selecting might expose some race... (1 Reply)
Discussion started by: timmylita
1 Replies
7. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
8. IP Networking
Hello all,
I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer.
and after 1 second the connection resets.
As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies
9. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
10. Solaris
I have problem with oracle solaris 10 running on oracle sparc T4-2 server.
Os information: 5.10 Generic_150400-03 sun4v sparc sun4v
Output from tcpstat.d script
TCP bytes: out outRetrans in inDup inUnorder
6833763 7300 98884 0... (2 Replies)
Discussion started by: insatiable1610
2 Replies
LEARN ABOUT DEBIAN
tapset::kprocess
TAPSET::KPROCESS(3stap) TAPSET::KPROCESS(3stap)
NAME
tapset::kprocess - systemtap kernel process probe points
DESCRIPTION
This family of probe points is used to probe the kernel's process activities. It contains the following probe points:
kprocess.create
Fires whenever a new process is successfully created, either as a result of one of the fork syscall variants, or a new kernel
thread.
Arguments:
task
a handle to the newly created process
new_pid
pid of the newly created process
kprocess.start
Fires immediately before a new process begins execution.
Arguments:
N/A
kprocess.exec
Fires whenever a process attempts to exec to a new program
Arguments:
filename
the path to the new executable
kprocess.exec_complete
Fires at the completion of an exec call
Arguments:
errno
the error number resulting from the exec
success
a boolean indicating whether the exec was successful
kprocess.exit
Fires when a process terminates. This will always be followed by a kprocess.release, though the latter may be delayed if the process
waits in a zombie state.
Arguments:
code
the exit code of the process
kprocess.release
Fires when a process is released from the kernel. This always follows a kprocess.exit, though it may be delayed somewhat if the
process waits in a zombie state.
Arguments:
task
a task handle to the process being released
pid
pid of the process being released
SEE ALSO
stap(1), stapprobes(3stap)
Intel, IBM TAPSET::KPROCESS(3stap)