ruby - Can't get service to start on chef -


"postprint" itemprop = "text">

I have a service resource, but I can not get the chef to start it, instead the chef simply spit out an error message:

SystemCallError: The specified service does not exist as an installed service - Open Service: The specified service does not exist as an installed service.

I'm not sure what to do to fix it and I can not find anything on this error (I is not showing in the right place.)

This service is distributed as an established gem. Service is that Win32-Service uses a Sinatra app GEM This is a service platform to start as Windows Server (I know, but I have no choice, I have windows server

The chef recipe for this service is the code:

service service_name init_command ("# {% {gem env gemdir} .strip" .gsub ('/', '\\')} \ gems \\ # {SERVICE_NAME} - # {installation_version} ") START_COMMAND" Rake service: start "stop_command" rake service: stop "reload_command" rake service: f Re-load "restart_command" Rake service: restart "supports: Start: True, Restart: True, Reload: True Action [: Enable: Start] End

The issue is not with the cook, but only with your service. Usually when I am in this situation, I will login manually and will try to start the service. Occasionally you will be given additional information Also, take a look at the log files for your app and see if you can understand why this is not starting.

Eventually, Chef only calls his init and starts the command, but it can not be reduced, if these commands are unsuccessful.


Comments

Popular posts from this blog

winforms - C# Form - Property Change -

javascript - amcharts makechart not working -

java - Algorithm negotiation fail SSH in Jenkins -