# Error running kibana for first time after install

**URL:** <https://discuss.elastic.co/t/error-running-kibana-for-first-time-after-install/259604>\
**Category:** Kibana\
**Created:** [December 24, 2020, 6:40pm UTC](https://discuss.elastic.co/t/error-running-kibana-for-first-time-after-install/259604 "2020-12-24T18:40:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sama\_M](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@Sama\_M](https://discuss.elastic.co/u/Sama_M)\
**Post date:** [December 24, 2020, 6:40pm UTC](https://discuss.elastic.co/t/error-running-kibana-for-first-time-after-install/259604/1 "2020-12-24T18:40:06Z")

</div>

Hello,

I have just fresh installed Ubuntu on my laptop so i can follow along a book on python data engineering. All i have installed so far is elasticsearch and kibana. When attempting to run kibana for the first time i get the error below.

```auto
    usr/share/kibana$ bin/kibana
    fs.js:114
        throw err;
        ^

    Error: ENOENT: no such file or directory, open '/usr/share/kibana/config/kibana.yml'
        at Object.openSync (fs.js:443:3)
        at Object.readFileSync (fs.js:343:35)
        at readYaml (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/utils/read_config.js:27:52)
        at Object.exports.getConfigFromFiles (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/utils/read_config.js:52:22)
        at exports.loadConfiguration (/usr/share/kibana/node_modules/@kbn/apm-config-loader/target/config_loader.js:33:38)
        at module.exports (/usr/share/kibana/src/apm.js:47:15)
        at Object.<anonymous> (/usr/share/kibana/src/cli/dist.js:21:18)
        at Module._compile (internal/modules/cjs/loader.js:778:30)
        at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
        at Module.load (internal/modules/cjs/loader.js:653:32)

```

I have tried the solution from this thread: [Kibana Upgrade to 7.8 : FATAL CLI ERROR Error: ENOENT: no such file or directory](https://discuss.elastic.co/t/kibana-upgrade-to-7-8-fatal-cli-error-error-enoent-no-such-file-or-directory/239885) but i had no success.

The installation instructions in the book were exactly the same as the ones in here: [https://www.elastic.co/guide/en/kibana/current/deb.html](https://www.elastic.co/guide/en/kibana/current/deb.html).

Any advice to solve this problem would be greatly appreciated, thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 29, 2020, 6:05am UTC](https://discuss.elastic.co/t/error-running-kibana-for-first-time-after-install/259604/2 "2020-12-29T06:05:13Z")

</div>

What version of Kibana and Ubuntu are you using?

---

<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:** [January 26, 2021, 6:05am UTC](https://discuss.elastic.co/t/error-running-kibana-for-first-time-after-install/259604/3 "2021-01-26T06:05:14Z")

</div>

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