# Opendistro Security not Initialized

**URL:** <https://forum.opensearch.org/t/opendistro-security-not-initialized/6233>\
**Category:** Security\
**Created:** [June 16, 2021, 7:25am UTC](https://forum.opensearch.org/t/opendistro-security-not-initialized/6233 "2021-06-16T07:25:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangelidaniel](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dangelidaniel](https://forum.opensearch.org/u/dangelidaniel)\
**Post date:** [June 16, 2021, 7:25am UTC](https://forum.opensearch.org/t/opendistro-security-not-initialized/6233/1 "2021-06-16T07:25:31Z")

</div>

I was cleaning some of the old indices when after a restart, elastic gave this error

{“type”: “server”, “timestamp”: “2021-06-16T09:19:48,704+02:00”, “level”: “ERROR”, “component”: “c.a.o.i.i.ManagedIndexCoordinator”, “cluster.name”: “elasticsearch”, “node.name”: “node-2”, “message”: “get managed-index failed: [.opendistro-ism-config] IndexNotFoundException[no such index [.opendistro-ism-config]]”, “cluster.uuid”: “oIaUvXtMRJWCq1WOEcVS3g”, “node.id”: “UKP6c128RpWQl8VqvlsL0w” }

Trying to curl towards elastic results in an “Opendistro Security not initialized” error.

The cluster state is RED and i cant access through Kibana.

Any help?

---

<div class="post-metadata">

**Author:** ![searchymcsearchface](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/searchymcsearchface/32/868_2.png) [@searchymcsearchface](https://forum.opensearch.org/u/searchymcsearchface)\
**Post date:** [June 16, 2021, 1:48pm UTC](https://forum.opensearch.org/t/opendistro-security-not-initialized/6233/2 "2021-06-16T13:48:26Z")

</div>

Moving this to the security category.

---

<div class="post-metadata">

**Author:** ![Anthony](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/anthony/32/9939_2.png) [@Anthony](https://forum.opensearch.org/u/Anthony)\
**Post date:** [June 16, 2021, 2:15pm UTC](https://forum.opensearch.org/t/opendistro-security-not-initialized/6233/3 "2021-06-16T14:15:56Z")

</div>

@dangelidaniel It seems you might have deleted the index used by ISM. What version of odfe are you using?

---

<div class="post-metadata">

**Author:** ![dangelidaniel](https://avatars.discourse-cdn.com/v4/letter/d/e9bcb4/32.png) [@dangelidaniel](https://forum.opensearch.org/u/dangelidaniel)\
**Post date:** [June 21, 2021, 2:23pm UTC](https://forum.opensearch.org/t/opendistro-security-not-initialized/6233/4 "2021-06-21T14:23:30Z")

</div>

Yes, my mistake.

I’ve disabled opendistro-security, deleted every RED state index losing a bit of data and executed securityadmin.sh again and it worked.

Thanks
