Sensu service start on windows fails


#1

Hi All

I am looking for some help with my sensu service on windows. I have installed sensu and created the service but when I try to start the service I get the following error

Error 1067: the process terminated unexpectedly

When I go to the logs I get the following:

C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:859:in `open_udp_socket’: no datagram socket (RuntimeError)

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:859:in `open_datagram_socket'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:257:in `setup_sockets'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:293:in `start'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:13:in `block in run'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in `call'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in `run_machine'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in `run'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:12:in `run'

from C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/bin/sensu-client:10:in `<top (required)>'

from C:/opt/sensu/embedded/bin/sensu-client:23:in `load'

from C:/opt/sensu/embedded/bin/sensu-client:23:in `<main>'

The service was working before this is since I tried to add new service on the machine to monitor and even if I roll back to the previous state the service wont start and gives the same error.

I thought it might be a permissions issue I tried creating a new user with admin privileges and using the admin user but none seemed to work.

Does anyone know what could be causing this issue?

Thank you


#2

Also

···

On Mon, Dec 1, 2014 at 4:09 AM, Oded Gold <oded.gold@signalsgroup.com> wrote:

Hi All

I am looking for some help with my sensu service on windows. I have
installed sensu and created the service but when I try to start the service
I get the following error

"Error 1067: the process terminated unexpectedly"

When I go to the logs I get the following:

C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:859:in
`open_udp_socket': no datagram socket (RuntimeError)
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:859:in
`open_datagram_socket'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:257:in
`setup_sockets'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:293:in
`start'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:13:in
`block in run'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in
`call'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in
`run_machine'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/eventmachine-1.0.3-x86-mingw32/lib/eventmachine.rb:187:in
`run'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/lib/sensu/client.rb:12:in
`run'
from
C:/opt/sensu/embedded/lib/ruby/gems/2.0.0/gems/sensu-0.12.6/bin/sensu-client:10:in
`<top (required)>'
from C:/opt/sensu/embedded/bin/sensu-client:23:in `load'
from C:/opt/sensu/embedded/bin/sensu-client:23:in `<main>'

The service was working before this is since I tried to add new service on
the machine to monitor and even if I roll back to the previous state the
service wont start and gives the same error.

I thought it might be a permissions issue I tried creating a new user with
admin privileges and using the admin user but none seemed to work.

Does anyone know what could be causing this issue?

Thank you