# Can't start Kibana with nssm.exe Service Paused

**URL:** <https://discuss.elastic.co/t/cant-start-kibana-with-nssm-exe-service-paused/271384>\
**Category:** Kibana\
**Created:** [April 27, 2021, 1:41pm UTC](https://discuss.elastic.co/t/cant-start-kibana-with-nssm-exe-service-paused/271384 "2021-04-27T13:41:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayyoub](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ayyoub](https://discuss.elastic.co/u/ayyoub)\
**Post date:** [April 27, 2021, 1:41pm UTC](https://discuss.elastic.co/t/cant-start-kibana-with-nssm-exe-service-paused/271384/1 "2021-04-27T13:41:01Z")

</div>

Hi People

I tried to start Kibana manually (Kibana-bat) and it worked fine.  
However as I tried to start Kibana as a service using nssm.exe it couldn't get started as a service and the service turned to "Paused" any Idea?  
I followed the following guide of UiPath (see the step of kibana) [Prerequisites for Installation](https://docs.uipath.com/installation-and-upgrade/docs/orchestrator-prerequisites-for-installation)

Any help will be appreciated thanks all:)

Ayb

---

<div class="post-metadata">

**Author:** ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)\
**Post date:** [April 29, 2021, 8:48pm UTC](https://discuss.elastic.co/t/cant-start-kibana-with-nssm-exe-service-paused/271384/2 "2021-04-29T20:48:50Z")

</div>

Hi @ayyoub. We need to see what warnings or errors are occurring.

Can you set the `AppStderr` to a file and see if any errors are reported in the file? I don't have experience with nssm, but I think the commands in my example below should work.

For example:

```auto
    nssm.exe install kibana $INSTALL_DIR\kibana\bin\kibana.bat
    nssm.exe set kibana AppDirectory $INSTALL_DIR\kibana
    nssm.exe set kibana AppStdout $INSTALL_DIR\kibana\log\kibana.stdout
    nssm.exe set kibana AppStderr $INSTALL_DIR\kibana\log\kibana.stderr
    nssm.exe start kibana

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [May 27, 2021, 8:49pm UTC](https://discuss.elastic.co/t/cant-start-kibana-with-nssm-exe-service-paused/271384/3 "2021-05-27T20:49:28Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
