I've recently upgraded Kibana to 4.3.0 from 4.0.2 and set it up as a backend service for Windows 7 using the following command line:
sc create "ElasticSearch-Kibana-4.3.0" binPath= "C:\experiment\kibana-4.3.0-windows\bin\kibana.bat" depend= "elasticsearch-service-x64"
However, the service does not start and following error is given :
"Windows could not start the ElasticSearch-Kibana-4.3.0 service on Local Computer.
Error 1053: The service did not respond to the start or control request in a timely fashion. "
Although, Kibana is working fine if run from command line. Any idea why service is timed out during start up and how this can be fixed? this problem has never happened before with V4.0.2.
Stange. Maybe the startup script's timeout is too low? The process does take a few seconds to actually start.
Are you able to get any version of 4.2 to work? The underlying server logic between 4.0 and 4.3 is pretty different, but 4.2 and 4.3 are nearly identical.
What i did is sc.exe create "Kibana 4.3.1" binPath=
"C:\Users\Administrator\Desktop\K4\bin\kibana.bat" in powershell and it
seems to work. Windows told me the service start failed, but kibana was running
anyways. After setting the service to start automatically, it even worked after
rebooting the Windows machine.
I spoke with Elasticsearch support about this and they agree that there is a need for Windows server users for a Kibana windows service. But when this will be available they couldn't tell.
I was referring to the windows script startup time. The error message made it sound like the script didn't wait long enough for Kibana to start up. I don't really know anything about windows startup scripts though.
It's also possible that Kibana just isn't set up correctly to run as a Windows startup script. Based on what @Mark_van_der_Harst posted, it sounds like that is the case, and you'll have to use some tool to wrap Kibana and treat it as a service.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.