FAQ
Hello,

recently I am getting next error message once I have launched Catalyst server:

Couldn't create daemon: IO::Socket::INET: Address already in use at /usr/local/share/perl/5.8.8/Catalyst/Engine/HTTP.pm line 211.


I never got this error message before. I don't know how to fix it. It is like if there where other server instances running, because my website works even if I shut down the server.
I can't neither see server activity, as it seems website is running in another server instance.


David




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100315/915ff12a/attachment.htm

Search Discussions

  • Alexander Hartmaier at Mar 15, 2010 at 5:55 pm
    This means that another process is already listening on the tcp port the
    catalyst server wants to use (default 3000).
    Maybe you have already an instance of the cat webserver running.
    If you need to run multiple cat apps at the same time specify the port
    number by using the command line option -p(ort).

    --
    Best regards, Alex


    Am Montag, den 15.03.2010, 16:32 +0100 schrieb David:
    Hello,

    recently I am getting next error message once I have launched Catalyst
    server:

    Couldn't create daemon: IO::Socket::INET: Address already in use
    at /usr/local/share/perl/5.8.8/Catalyst/Engine/HTTP.pm line 211.


    I never got this error message before. I don't know how to fix it. It
    is like if there where other server instances running, because my
    website works even if I shut down the server.
    I can't neither see server activity, as it seems website is running in
    another server instance.


    David


    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
    T-Systems Austria GesmbH Rennweg 97-99, 1030 Wien
    Handelsgericht Wien, FN 79340b
    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
    Notice: This e-mail contains information that is confidential and may be privileged.
    If you are not the intended recipient, please notify the sender and then
    delete this e-mail immediately.
    *"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
  • Jon at Mar 15, 2010 at 6:33 pm

    Couldn't create daemon: IO::Socket::INET: Address already in use at
    /usr/local/share/perl/5.8.8/Catalyst/Engine/HTTP.pm line 211.
    It means you already have a server instance running. If you don't
    want it running (which it seems like you don't), and you don't know
    where you started it from, you should just kill it, and then restart
    your sever.

    ps -ef | grep server | grep -v grep

    will give you the process id that is running (should look like
    myapp_server.pl). kill -9 the process id, and then restart your
    server. Should take care of it.

    - jon
  • David at Mar 16, 2010 at 8:05 am
    Thanks Jon,

    that was exactly my problem and your solution has worked perfectly.
    When I close the server, I always do 'Ctrl + C'. I don't know if it is the proper way to close it.


    David




    ________________________________
    De: Jon <jonfdaily@wetxt.com>
    Para: The elegant MVC web framework <catalyst@lists.scsys.co.uk>
    Enviado: lun,15 marzo, 2010 19:33
    Asunto: Re: [Catalyst] Socket error when launching Catalyst server
    Couldn't create daemon: IO::Socket::INET: Address already in use at
    /usr/local/share/perl/5.8.8/Catalyst/Engine/HTTP.pm line 211.
    It means you already have a server instance running. If you don't
    want it running (which it seems like you don't), and you don't know
    where you started it from, you should just kill it, and then restart
    your sever.

    ps -ef | grep server | grep -v grep

    will give you the process id that is running (should look like
    myapp_server.pl). kill -9 the process id, and then restart your
    server. Should take care of it.

    - jon

    _______________________________________________
    List: Catalyst@lists.scsys.co.uk
    Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
    Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
    Dev site: http://dev.catalyst.perl.org/




    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20100316/629e8edf/attachment.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMar 15, '10 at 3:32p
activeMar 16, '10 at 8:05a
posts4
users3
websitecatalystframework.org
irc#catalyst

3 users in discussion

David: 2 posts Jon: 1 post Alexander Hartmaier: 1 post

People

Translate

site design / logo © 2022 Grokbase