I'm trying to get LSWS 3.0RC2 running with trac.
I have a functioning trac installation and an functioning installation of LSWS 3.0RC2. Some further informations about the setup of my server:
My trac project resides in /srv/trac/dystopia
All files are marked readable by LSWS.
The trac.fcgi ist marked readable and executable and resides in /srv/trac
I tried to run the trac.fcgi manually through python and piped the output through lynx and then i see a functioning website with my trac project. So the trac.fcgi can't be the problem.
I set up everything according to the wiki-tutorial. A restart of LSWS shows, that the Listener and the Virtual Host are correctly set up. When trying to access trac via Browser i get a 503.
Accordings to the LSWS stderr.log the following has happened:
Everytime I try to access I get a bunch of these written to the stderr.log.
So I pushed LSWS into debug logging mode in the hope of finding some instructing insights.
I tried to read it all through but I can't figure out, where the problem is buried.
The debug server log gives the following messages, when I try to access the trac project via browser.
And after this everything happens again with the next connection try.
I'm at the end of my latin, please help me.
I have a functioning trac installation and an functioning installation of LSWS 3.0RC2. Some further informations about the setup of my server:
My trac project resides in /srv/trac/dystopia
All files are marked readable by LSWS.
The trac.fcgi ist marked readable and executable and resides in /srv/trac
I tried to run the trac.fcgi manually through python and piped the output through lynx and then i see a functioning website with my trac project. So the trac.fcgi can't be the problem.
I set up everything according to the wiki-tutorial. A restart of LSWS shows, that the Listener and the Virtual Host are correctly set up. When trying to access trac via Browser i get a 503.
Accordings to the LSWS stderr.log the following has happened:
Code:
210 close failed: [Errno 9] Bad file descriptor
211 close failed: [Errno 9] Bad file descriptor
212 close failed: [Errno 9] Bad file descriptor
213 close failed: [Errno 9] Bad file descriptor
214 close failed: [Errno 9] Bad file descriptor
So I pushed LSWS into debug logging mode in the hope of finding some instructing insights.
I tried to read it all through but I can't figure out, where the problem is buried.
The debug server log gives the following messages, when I try to access the trac project via browser.
Code:
2007-02-21 18:24:47.339 DEBUG [UDS://tmp/lshttpd/admin_php.sock] add recycled connection to connection pool!
2007-02-21 18:24:50.175 DEBUG [87.162.5.26:21053-0#Dystopia] HttpIOLink::handleEvents() events=1!
2007-02-21 18:24:50.187 DEBUG [87.162.5.26:21053-0#Dystopia] HttpConnection::onReadEx(), state: 5!
2007-02-21 18:24:50.187 DEBUG [87.162.5.26:21053-0#Dystopia] HttpIOLink::suspendRead()...
2007-02-21 18:24:50.601 DEBUG [87.162.5.26:21053-0#Dystopia] peer connection close detected!
2007-02-21 18:24:50.601 DEBUG [87.162.5.26:21053-0#Dystopia] HttpExtConnector::cleanUp() ...
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] abort request...
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] FcgiConnection::abort()
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] read 0 bytes from Fast CGI.
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] [ExtConn] close()
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] [EXT] EndResponse( endCode=0, protocolStatus=0 )
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] release ExtProcessor!
2007-02-21 18:24:50.650 DEBUG [uds://tmp/lshttpd/dystopia_tracfcgi.sock] add recycled connection to connection pool!
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] HttpIOLink::continueWrite()...
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] write resumed!
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] release ExtProcessor!
2007-02-21 18:24:50.650 DEBUG [87.162.5.26:21053-0#Dystopia] Close socket ...
2007-02-21 18:24:59.815 DEBUG [*:6666] New connection from 87.162.5.26:21102.
2007-02-21 18:24:59.815 DEBUG [*:6666] 1 connections accepted!
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] HttpIOLink::handleEvents() events=1!
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] HttpConnection::onReadEx(), state: 0!
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] readToHeaderBuf().
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] Read from client: 586
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] read 586 bytes to header buffer
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] processHeader() return 0, header state: 3.
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0] readToHeaderBuf() return 0.
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0#Dystopia] New request:
Method=[GET], URI=[/trac/],
QueryString=[]
Content Length=0
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0#Dystopia] Find context with URI: [/trac/], location: []
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0#Dystopia] processContextPath() return 0
2007-02-21 18:24:59.815 DEBUG [87.162.5.26:21102-0#Dystopia] run fcgi processor.
2007-02-21 18:24:59.815 DEBUG [uds://tmp/lshttpd/dystopia_tracfcgi.sock] connection available!
2007-02-21 18:24:59.815 DEBUG [uds://tmp/lshttpd/dystopia_tracfcgi.sock] request [87.162.5.26:21102-0#Dystopia:fcgi] is assigned with connection!
2007-02-21 18:24:59.816 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] [ExtConn] reconnect()
2007-02-21 18:24:59.816 DEBUG [trac - Dystopia] add child process pid: 8047
2007-02-21 18:24:59.891 DEBUG [trac - Dystopia] add child process pid: 8049
2007-02-21 18:24:59.892 DEBUG [trac - Dystopia] add child process pid: 8050
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] [ExtConn] connecting to [uds://tmp/lshttpd/dystopia_tracfcgi.sock]...
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] ExtConn::onWrite()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::doWrite()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::beginRequest()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::pendingWrite(),m_iCurStreamHeader=16
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] request header is done
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::beginReqBody()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::pendingEndStream()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] ExtConn::continueRead()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] Request body done!
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::endOfReqBody()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::pendingEndStream()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::flush()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] FcgiConnection::suspendWrite()
2007-02-21 18:24:59.892 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] processNewReq() return 0.
2007-02-21 18:25:01.470 DEBUG Remove pid: 8050
2007-02-21 18:25:01.470 DEBUG Remove pid: 8049
2007-02-21 18:25:01.470 DEBUG Remove pid: 8047
2007-02-21 18:25:29.059 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] connection to [uds://tmp/lshttpd/dystopia_tracfcgi.sock] on request #0, error: Connection timed out!
2007-02-21 18:25:29.076 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] [ExtConn] close()
2007-02-21 18:25:29.095 DEBUG [trac - Dystopia] kill pid 7773 associated with ProcInfo
2007-02-21 18:25:29.095 DEBUG [uds://tmp/lshttpd/dystopia_tracfcgi.sock] No Request has been processed successfully through this connection, the maximum connections allowed will be reduced!
2007-02-21 18:25:29.095 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] HttpExtConnector::tryRecover()...
2007-02-21 18:25:29.095 DEBUG [87.162.5.26:21102-0#Dystopia:fcgi] trying to recover from connection problem, attempt: #1!
I'm at the end of my latin, please help me.