Source

trac.fcgi.daemon

Start

./trac.fcgi.daemon &> trac.fcgi.log &

Note to Avoid "Broken pipe" Error

Filed as #1

Unhandled exception in thread started by <bound method Connection.run of <trac.web._fcgi.Connection object at 0x7f2e47542c10>>
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 658, in run
    self.process_input()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 694, in process_input
    self._do_params(rec)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 793, in _do_params
    self._start_request(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 777, in _start_request
    req.run()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 573, in run
    self.stderr.flush()
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 340, in flush
    self._write(data)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 311, in _write
    self._conn.writeRecord(rec)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 709, in writeRecord
    rec.write(self._sock)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 542, in write
    self._sendall(sock, header)
  File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/_fcgi.py", line 519, in _sendall
    sent = sock.send(data)
socket.error: (32, 'Broken pipe')

Also see  http://trac.edgewall.org/ticket/3957