I have this problem since last week. Any Idea?
Le mercredi 16 février 2011 à 17:00:34 UTC+1, neurino a écrit :

> I have a daemon handling some scheduled jobs that can be started /
> stopped by my pylons project so it can run even if the server is not
> running.
>
> To daemonize my utilities I use this code:
>
> http://code.activestate.com/recipes/66012/#c9
>
> If the daemon is running I get a error when paster serve reloads or I
> stop it with Ctrl-C and try to restart again:
>
> socket.error: [Errno 98] Address already in use
>
> running netstat I get:
>
> (mydevenv)# netstat -lp | grep 5000
> tcp 0 0 localhost:5000 *:*
> LISTEN 25566/python
>
> and 25566 is the pid of my daemon while, before server crashes with
> above error, there figures paster pid
>
> So, isn't the `daemon` supposed to work properly?
> If I start it from shell instead of webpage it does not bind to port
> 5000...
>
> Any advice?

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/50cd895a-e642-4863-bd66-994cea31591bn%40googlegroups.com.

Reply via email to