• 0

Communication socket already exists


Question

I'm trying to use CGI:IRC, when trying to connect i get this error:

[21:09] *** An error occurred: Communication socket already exists

does anyone know what it means? google is giving me nothing.

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

If you're well versed in Perl, try looking at the source code: http://github.com/dgl/cgiirc/blob/master/nph-irc.cgi#L525. Otherwise, try to read up on Unix domain sockets, that's what you're looking for. These links can start you off:

http://www.wsinnovations.com/softeng/articles/uds.html

http://beej.us/guide/bgipc/output/html/multipage/unixsock.html

http://en.wikipedia.org/wiki/Unix_domain_socket

http://docstore.mik.ua/orelly/perl/cookbook/ch17_07.htm - Specifically for Perl

http://www.developerweb.net/forum/showthread.php?t=4605

The last link gives you a bit of a solution, it might just be that another program is using the port you're trying to connect with CGI:IRC.

Link to comment
Share on other sites

  • 0

Try looking in your /tmp directory, the socket file that CGI:IRC is trying to create (but already exists) will reside there.

Link to comment
Share on other sites

  • 0

i still havent fixed this, there are 2 cgiirc directories

/tmp

cgiirc-2l5d56no7jmh/

cgiirc-ruco8xott/

i typed rm -r -f cgiirc-*

which deleted the directories, tried to access it again and i'm not getting an error it's just constantly loading.

i went in to the room via IRC client and it says the users i connect via browser are in the room.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.