[Dxspider-support] stuck sockets
vic
ke4lkq at doramefa.us
Tue Aug 21 02:07:18 CEST 2007
CORRECTION::
I have to change the port number in Listeners.pm, start spider, stop spider, then change the port number back to what I normally use and it works.... Must have something to do with listerners code.
Vic
> Nope don't work, not even a reboot so I know something is left over somewhere. I can change ports and all works again but not any PREVIOUSLY USED port numbers.
>
>
>
> On Mon, 20 Aug 2007 23:16:26 +0100
> Dirk Koopman <djk at tobit.co.uk> wrote:
>
> > vic wrote:
> > > Hey Dick, where are you?
> > > Where are the defunct sockets stored when dxspider crashs???
> > > Dxspider will not start again and gives an error like this:
> > > starting listeners ...
> > > Internal port: localhost 27754 using IntMsg
> > > IO::Socket::INET: Address already in use
> > > Could not create socket: Address already in use
> > > at /spider/perl/Msg.pm line 443
> > > Msg::new_server('ExtMsg', 192.168.0.2, 7350, 'CODE(0x846e18c)') called at ./cluster.pl line 400
> > > Could not create socket: Address already in use
> > >
> > >
> > > Where can I find and delete the offending dev character or such. I don't find it in /var/run.
> > > Netstat does not show it either...
> > >
> >
> > There is no concept of "defunct sockets" in linux (at least for the
> > purposes of dxspider and the way it uses them). So either you have a
> > copy of dxspider running (MOST likely) or you have something else using
> > that port (which seems pretty unlikely - but is possible).
> >
> > $ ps ax | grep cluster
> >
> > will tell you if you have something still running.
> >
> > $ killall cluster.pl
> >
> > should stop it
> >
> > $ killall -9 cluster.pl
> >
> > WILL stop it (if it there).
> >
> > Dirk
> >
> > _______________________________________________
> > Dxspider-support mailing list
> > Dxspider-support at dxcluster.org
> > http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> --
> vic <ke4lkq at doramefa.us>
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at dxcluster.org
> http://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
--
vic <ke4lkq at doramefa.us>
More information about the Dxspider-support
mailing list