[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: socket bind



Hi Erik,

I believe the smash process has the port 6901.  It's my process, so I
killed it.  You can try again to see if the socket is free.  A quick way
to release socket use is to reboot the machine.

--Paul

On Sun, 25 Jun 2000, Erik Machnicki wrote:

> Anyone know how to clear a socket for use?  I am trying to run the AMX
> daemon on htsr at port 6901, but it complains:
> 
> htsr:~/mash-works/mash-1/tcl/erik/amxserver> my405.tcl
> Error in startup script: dp_MakeRPCServer:  couldn't open socket: address
> already in use
>     while executing
> "dp_MakeRPCServer 6901"
>     (file "my405.tcl" line 89)
> htsr:~/mash-works/mash-1/tcl/erik/amxserver> ps -a
>   PID  TT  STAT      TIME COMMAND
> 17757  p0  Ss     0:00.36 -tcsh (tcsh)
> 17814  p0  R+     0:00.00 ps -a
> 13905  p1- IW     0:00.00 (smash)
>   164  v0  IWs+   0:00.00 (getty)
>   165  v1  IWs+   0:00.00 (getty)
>   166  v2  IWs+   0:00.00 (getty)
> 
> 
> I don't think any program has used that port for a long time.  I don't
> know why it's stuck.  Anyone know how to free it up?
> 
> thanks,
> 
> Erik
>