# Kibana showing 'WHERE' is not an int or ext command on start up

**URL:** <https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544>\
**Category:** Kibana\
**Created:** [December 7, 2015, 3:05pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544 "2015-12-07T15:05:33Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![KavyaS](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KavyaS](https://discuss.elastic.co/u/KavyaS)\
**Post date:** [December 7, 2015, 3:05pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/1 "2015-12-07T15:05:33Z")

</div>

When i run Kibana on windows 7 it shows the following message:

`'WHERE' is not recognized as an internal or external command, operable program or batch file.`

I checked the kibana.bat file and it contains the following:

`for /f "delims=" %%i in ('WHERE node') do set SYS_NODE=%%i`

How do i solve this? I'm using Kibana 4.3.0.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 9, 2015, 6:55pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/2 "2015-12-09T18:55:30Z")

</div>

WHERE should be a system level command, and is present on my copy of Windows 7.

That said, even if the command does not exist, Kibana should still start, just let the script continue to run. If you let it run, does Kibana start for you? Or is the script just exiting?

---

<div class="post-metadata">

**Author:** ![KavyaS](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KavyaS](https://discuss.elastic.co/u/KavyaS)\
**Post date:** [December 14, 2015, 5:04pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/3 "2015-12-14T17:04:13Z")

</div>

The script just exits without Kibana starting.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 14, 2015, 7:30pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/4 "2015-12-14T19:30:40Z")

</div>

I've opened this issue to track this: [https://github.com/elastic/kibana/issues/5673](https://github.com/elastic/kibana/issues/5673)

I don't know Windows well enough to tell you how to install the WHERE command, and I'm not having the problems you are. I've brought this up with some of our Windows folks, but I'm still waiting to hear back.

In the meantime, you could comment out or remove that line of the bat script completely things should then run.

---

<div class="post-metadata">

**Author:** ![Joe\_Fleming](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joe_fleming/32/3561_2.png) [@Joe\_Fleming](https://discuss.elastic.co/u/Joe_Fleming)\
**Post date:** [December 14, 2015, 10:13pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/5 "2015-12-14T22:13:05Z")

</div>

Apparently WHERE should just be part of cmd.exe. Why you don't have it on your system, I do not know. Why the bat script stops I also do not know, as I don't see the same thing happening on my end.

The bottom line is, we should be shipping different script files with the build that don't try to fall back to any system-installed node version anyway.

---

<div class="post-metadata">

**Author:** ![KavyaS](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KavyaS](https://discuss.elastic.co/u/KavyaS)\
**Post date:** [December 15, 2015, 5:15am UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/6 "2015-12-15T05:15:45Z")

</div>

Ok thank you. I commented the line containing "where" and kibana started without issues.

---

<div class="post-metadata">

**Author:** ![swarnkar](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@swarnkar](https://discuss.elastic.co/u/swarnkar)\
**Post date:** [December 28, 2015, 4:46pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/7 "2015-12-28T16:46:25Z")

</div>

I am having this issue on Windows XP SP3 (Too old, IKR 😅)  
I have opened [this topic](https://discuss.elastic.co/t/kibana-4-3-1-on-windows-xp-unable-to-connect-to-elasticsearch-at-http-localhost-9200/37997/3).

What should be done?

---

<div class="post-metadata">

**Author:** ![KavyaS](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@KavyaS](https://discuss.elastic.co/u/KavyaS)\
**Post date:** [January 1, 2016, 1:01pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/9 "2016-01-01T13:01:25Z")

</div>

Try using a lower version of 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:** [July 6, 2017, 2:05pm UTC](https://discuss.elastic.co/t/kibana-showing-where-is-not-an-int-or-ext-command-on-start-up/36544/10 "2017-07-06T14:05:46Z")

</div>


