|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
Not listening on port/starting up correctlyHi there, I'm just rolling out my CherryPy application on a new (Debian lenny) server. When I try and start it, it doesn't report the normal: [20/Sep/2009:17:30:03] ENGINE Bus STARTING [20/Sep/2009:17:30:03] ENGINE Started monitor thread '_TimeoutMonitor'. [20/Sep/2009:17:30:03] ENGINE Started monitor thread 'Autoreloader'. [20/Sep/2009:17:30:04] ENGINE Serving on 127.0.0.1:8081 [20/Sep/2009:17:30:04] ENGINE Bus STARTED The only output I get is one of my own debugging statements, though the process starts and remains running. netstat reports that nothing is listening on port 8081. And I get 'Connection refused' errors from clients on both the local and any remote hosts. I wondered if it may be an IPv6 thing on this new server. But I tried setting server.socket_host to '127.0.0.1' (and '0.0.0.0', and the IP address of the machine) and it didn't make any difference. The same application worked fine on both my development machine and test server. Can anyone suggest what might be going on here? I've noticed that the version of CP in Debian lenny is 3.0, whereas my devel machine has 3.1. Might this make a difference? Cheers. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To post to this group, send email to cherrypy-users@... To unsubscribe from this group, send email to cherrypy-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Not listening on port/starting up correctlyRichard Lewis wrote: > I'm just rolling out my CherryPy application on a new (Debian lenny) > server. > > When I try and start it, it doesn't report the normal: > > [20/Sep/2009:17:30:03] ENGINE Bus STARTING > [20/Sep/2009:17:30:03] ENGINE Started monitor thread > '_TimeoutMonitor'. > [20/Sep/2009:17:30:03] ENGINE Started monitor thread 'Autoreloader'. > [20/Sep/2009:17:30:04] ENGINE Serving on 127.0.0.1:8081 > [20/Sep/2009:17:30:04] ENGINE Bus STARTED > > The only output I get is one of my own debugging statements, though > the process starts and remains running. netstat reports that nothing > is listening on port 8081. And I get 'Connection refused' errors from > clients on both the local and any remote hosts. > > I wondered if it may be an IPv6 thing on this new server. But I tried > setting server.socket_host to '127.0.0.1' (and '0.0.0.0', and the IP > address of the machine) and it didn't make any difference. > > The same application worked fine on both my development machine and > test server. Can anyone suggest what might be going on here? > > I've noticed that the version of CP in Debian lenny is 3.0, whereas my > devel machine has 3.1. Might this make a difference? Definitely. CherryPy 3.1 was mostly an upgrade of cherrypy.engine, including a lot of logging improvements on startup. Your best bet is to upgrade your production box to CP 3.1. Robert Brewer fumanchu@... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To post to this group, send email to cherrypy-users@... To unsubscribe from this group, send email to cherrypy-users+unsubscribe@... For more options, visit this group at http://groups.google.com/group/cherrypy-users?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free embeddable forum powered by Nabble | Forum Help |