Just in case any one comes across this same issue, the problem seems to be 
due to a "mismatch between python binary and kernel version" (source: 
https://github.com/mozilla-services/circus/issues/699).

So instead of using the latest version of Circus (0.10), I installed 0.7.1 
and it is working fine.

Regards.

El domingo, 22 de diciembre de 2013 22:07:10 UTC+1, Ricardo Molina escribió:
>
> I am following the documentation for Running a TurboGears under Circus and 
> Chaussette ( 
> http://turbogears.readthedocs.org/en/latest/cookbook/deploy/circus.html )
>
> When I run gearbox deploy-circus, I get the following errors:
>
> (tg2env)[root@vrtl13825 repo2]# gearbox deploy-circus
> 21:11:22,144 INFO  [gearbox] Using Environment: /root/tg2env
> 21:11:22,144 INFO  [gearbox] Using Application Directory: /var/www/repo2
> 21:11:22,145 ERROR [cliff.app] No option 'port' in section: 'server:main'
>
> So, anyway, I just manually create de circus.ini file as indicated in the 
> example, changing values appropiately, and when I run:
> (tg2env)[root@vrtl13825 repo2]# circusd circus.ini
>
> I get the following error:
> 2013-12-22 21:19:08 [8026] [INFO] Registering signals...
> 2013-12-22 21:19:08 [8026] [INFO] Starting master on pid 8026
> 2013-12-22 21:19:08 [8026] [INFO] sockets started
> 2013-12-22 21:19:08 [8026] [ERROR] exception [Errno 92] Protocol not 
> available caught
>   File "/root/tg2env/lib/python2.6/site-packages/tornado/gen.py", line 
> 221, in wrapper
>     runner.run()
>   File "/root/tg2env/lib/python2.6/site-packages/tornado/gen.py", line 
> 507, in run
>     yielded = self.gen.send(next)
>   File "/root/tg2env/lib/python2.6/site-packages/circus/arbiter.py", line 
> 481, in start
>     self.ctrl.start()
>   File "/root/tg2env/lib/python2.6/site-packages/circus/controller.py", 
> line 86, in start
>     self.initialize()
>   File "/root/tg2env/lib/python2.6/site-packages/circus/controller.py", 
> line 66, in initialize
>     self.udp_socket = create_udp_socket(multicast_addr, multicast_port)
>   File "/root/tg2env/lib/python2.6/site-packages/circus/util.py", line 
> 729, in create_udp_socket
>     sock.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEPORT, 1)
>   File "<string>", line 1, in setsockopt
>
> Any idea what the problem is?
>

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to