# Support Diagnostic Tool failing

**URL:** <https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999>\
**Category:** Elasticsearch\
**Created:** [January 11, 2022, 9:17am UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999 "2022-01-11T09:17:46Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [January 11, 2022, 9:17am UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999/1 "2022-01-11T09:17:46Z")

</div>

I'm trying to run diagnostics-8.2.6 on my ES node running on Openshift 4.6 with Elastic Stack version 7.16.2.  
The command being used is:

```auto
./diagnostics.sh --host logging-es --port 9200 --type local -u ayush.mathur --ssl --pkiKeystore ../cert/my-keystore.jks --bypassDiagVerify

```

However, it's failing with below response:

```auto
Using /usr/share/elasticsearch/jdk//bin/java as Java Runtime
Using -Xms256m -Xmx2000m for options.
2022-01-11 09:09:46,005 main ERROR Unable to locate appender "diag" for logger config "root"
Processing diagnosticInputs...
Closing loggers.
Archiving diagnostic results.
Archive: -20220111-090946.zip was created
Couldn't create zip archive. Trying tar.gz
Archive: -20220111-090946.tar.gz was created
Couldn't create tar.gz archive.
Fatal error occurred: Couldn't create zip and tar.gz archives.. Check diagnostics.log in the archive file for more detail.

```

There is no diagnostics.log file generated and all the archives are empty. Can someone please point me to the right direction ?

---

<div class="post-metadata">

**Author:** ![fgjensen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fgjensen/32/62320_2.png) [@fgjensen](https://discuss.elastic.co/u/fgjensen)\
**Post date:** [February 5, 2022, 5:13pm UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999/2 "2022-02-05T17:13:07Z")

</div>

Hello @Ayush_Mathur

I received the same error until I realized zip was not installed on this host per default.

The error message is a bit misleading and no diagnostics.log file or archive has been created - only a temp zip and tar file

Best regrds  
@fgjensen

---

<div class="post-metadata">

**Author:** ![Ayush\_Mathur](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayush_mathur/32/77134_2.png) [@Ayush\_Mathur](https://discuss.elastic.co/u/Ayush_Mathur)\
**Post date:** [February 15, 2022, 12:25pm UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999/3 "2022-02-15T12:25:46Z")

</div>

Hello @fgjensen  
Thank you for the details, but in my case I cannot really install zip due to policies implication. Is there any other way to your knowledge to get things work ?

Best Regards,  
Ayush Mathur

---

<div class="post-metadata">

**Author:** ![fgjensen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/fgjensen/32/62320_2.png) [@fgjensen](https://discuss.elastic.co/u/fgjensen)\
**Post date:** [February 19, 2022, 9:11am UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999/4 "2022-02-19T09:11:34Z")

</div>

Hi @Ayush_Mathur

The tool works with tar, too, if this is an option you may use. I not sure if you can avoid to compress the output files on the host, but I do not think so.

Good luck  
@fgjensen

---

<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:** [March 19, 2022, 9:12am UTC](https://discuss.elastic.co/t/support-diagnostic-tool-failing/293999/5 "2022-03-19T09:12:28Z")

</div>

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