For some reason the config.listen_port might be a string which causes
FuncSSLXMLRPCServer to fail instantiation since it is expecting an integer as 
it's 2nd arg.  I modified it such that it's casted an int.  I also added 
exception handling since previously there was no error message in the log to 
indicate a problem (other than the fact that "/etc/init.d/funcd status" 
reported the process was dead).



*** func/minion/server.py       2009-02-26 15:38:14.000000000 -0800
--- func/minion/server.py.orig  2009-02-26 15:29:45.000000000 -0800
***************
*** 178,189 ****
      listen_port = config.listen_port
      if listen_port == '':
          listen_port = 51234
!     try:
!         server =FuncSSLXMLRPCServer((listen_addr, int(listen_port)))
!         server.logRequests = 0 # don't print stuff to console
!         server.serve_forever()
!     except Exception, e:
!         logger.Logger().logger.error(e)
  
  
  
--- 178,186 ----
      listen_port = config.listen_port
      if listen_port == '':
          listen_port = 51234
!     server =FuncSSLXMLRPCServer((listen_addr, listen_port))
!     server.logRequests = 0 # don't print stuff to console
!     server.serve_forever()

_______________________________________________
Func-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/func-list

Reply via email to