[Catalyst] Why I get this error sometimes when run catalyst
Jess Robinson
castaway at desert-island.demon.co.uk
Thu Nov 9 13:43:07 GMT 2006
On Thu, 9 Nov 2006, Mao DengFeng-e13751 wrote:
> Hi,
> When I run catalyst, Sometime I got below error:
> ------------------------------------------------------------------
> Use of uninitialized value in subroutine entry at
> /opt/perl/lib/5.8.6/i686-linux-thread-multi/Socket.pm line 370.
> Bad arg length for Socket::unpack_sockaddr_in, length is 0, should be 16
> at /opt/perl/lib/5.8.6/i686-linux-thread-multi/Socket.pm line 370.
> -------------------------------------------------------------------
> This error takes place without regular. I can't find a way to reproduce
> this error.
> What's the rootcause? I try to find the answer by google but I was
> failed.
> Do you have advice on this?
That sounds like the error I get when my code fails to be able to fetch an
IP for a given hostname (i.e. gethostbyname fails), and the code still
tries to parse the result. It's not Catalyst code though, so I'm just
guessing.
Is it possible your DNS is wobbly?
Jess
More information about the Catalyst
mailing list