<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi everyone.</p>
    <p>I'm trying to set up the Freeside Selfservice web pages in
      Freeside 4.2. After trying to complete the installation process
      described in
<a class="moz-txt-link-freetext" href="http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:Self-Service_Installation">http://www.freeside.biz/mediawiki/index.php/Freeside:3:Documentation:Self-Service_Installation</a>,
      I get the following error in my Apache error logs:<br>
    </p>
    <p>[Fri Oct 27 11:32:42.273282 2017] [cgi:error] [pid 843] [client
      172.103.224.36:54540] AH01215: connect to
      /usr/local/freeside/selfservice_socket: Connection refused at
      /usr/local/share/perl/5.20.2/FS/SelfService.pm line 199., referer:
      <a class="moz-txt-link-freetext" href="https://freeside-dev.lightspeed.ca/FS-SelfService/cgi/">https://freeside-dev.lightspeed.ca/FS-SelfService/cgi/</a><br>
    </p>
    <p>When I attempt to connect to this socket using the Linux `socat`
      command, I get much the same error:<br>
      <br>
      socat - UNIX-CONNECT:/usr/local/freeside/selfservice_socket<br>
      2017/10/27 15:23:59 socat[1784] E connect(5, AF=1
      "/usr/local/freeside/selfservice_socket", 40): Connection refused</p>
    <p>I've read that you can't go and create a Unix socket by touching
      a file. Evidently, the CGI script is supposed to do the creating.
      But nuking that file and leaving the directory it sits in writable
      for the Apache server just breaks it thusly:<br>
      <br>
      [Fri Oct 27 15:26:54.642004 2017] [cgi:error] [pid 845] [client
      172.103.224.36:60186] AH01215: connect to
      /usr/local/freeside/selfservice_socket: No such file or directory
      at /usr/local/share/perl/5.20.2/FS/SelfService.pm line 199.,
      referer: <a class="moz-txt-link-freetext" href="https://freeside-dev.lightspeed.ca/FS-SelfService/cgi/">https://freeside-dev.lightspeed.ca/FS-SelfService/cgi/</a><br>
    </p>
    <p>So... what's wrong here?<br>
    </p>
  </body>
</html>