<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Demisto Service Failed in Cortex XSOAR Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/568891#M2885</link>
    <description>&lt;P&gt;Dinopc&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;A little more information is needed like demisto application version, what type of demisto architecture you're using, etc.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This response assumes you're using&amp;nbsp; demisto version 6.12, single server deployment (bolt instead of elastic for the db), the default installation process was followed (so all demisto components were installed in /var/lib/demisto) and you're not using an advanced config like live backup or distributed db.&amp;nbsp; (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Deployment-Checklist-Best-Practices" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Deployment-Checklist-Best-Practices&lt;/A&gt;)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To archive data for demisto&amp;nbsp; You would use&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Free-up-Disk-Space-with-Data-Archiving" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.9/Cortex-XSOAR-Administrator-Guide/Free-up-Disk-Space-with-Data-Archiving &amp;nbsp;&lt;/A&gt;&lt;BR /&gt;To archive the db data and&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Archive-Artifacts-and-Attachments" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Archive-Artifacts-and-Attachments&lt;/A&gt; to archive artifacts and attachment.&amp;nbsp; &amp;nbsp; Sometimes people forget to clean up artifacts and attachments when they clean up demisto.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;However before I archive I like to confirm that archiving will help with the filesystem being full (its possible something else could be filling up the filesystem for example a badly configured syslog where the unix server isn't using filesystems to help manage space...ie all space is allocated to /)&amp;nbsp; to do this you can log into your unix server and run &lt;STRONG&gt;df -h&lt;/STRONG&gt; to look at the filesystem layout and &lt;STRONG&gt;du -sh&lt;/STRONG&gt; to look at how much space under /var/lib/demisto/data is being used by each directory.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Another helpful hint is you can look in /var/lib/demisto/data/partitionsData to see how much data your demisto app has to archive.&amp;nbsp; There's one that represents each calendar month of data that you have on the server (see example below)&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;/var/lib/demisto/data/partitionsData:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;total 325G&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;drwxr-xr-x 2 demisto demisto 4.0K Nov 1 00:00 .&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;drwxr-xr-x 4 demisto demisto 4.0K Feb 4 2023 ..&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-rw------- 1 demisto demisto 10G Nov 27 23:41 demisto_052022.db&amp;nbsp; (&lt;STRONG&gt;May 2022&lt;/STRONG&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-rw------- 1 demisto demisto 15G Nov 27 23:41 demisto_062022.db&amp;nbsp; (&lt;STRONG&gt;June 2022&lt;/STRONG&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;etc...&lt;BR /&gt;&lt;BR /&gt;One more thing to check depending on how your filesystem are configured, if you're doing database backups through the app&amp;nbsp;&lt;A style="font-weight: bold;" href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database&lt;/A&gt;&amp;nbsp; assuming default configs the data is stored in /var/lib/demisto/backup.&amp;nbsp; &amp;nbsp;can configure your system to use a different directory&amp;nbsp;on a different filesystem and move the backup files to that fileystem as well.&amp;nbsp; This can also help with space issues.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Last bit of advice is to make sure you have appropriate backups/system snapshots because the database backup doesn't backup artifacts and attachments (see detail in step 3&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database&lt;/A&gt;) and you'll want to be able to have a good recovery strategy if something goes wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I hope this helps.&lt;/EM&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 14:44:30 GMT</pubDate>
    <dc:creator>cpayne26</dc:creator>
    <dc:date>2023-12-07T14:44:30Z</dc:date>
    <item>
      <title>Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542448#M2138</link>
      <description>&lt;P&gt;Hi Everyone ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are running XSOAR instance with NFR license.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Recently for unknown reasons, the demisto service stopped and is never coming up when we try to start.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Pavendhan_K_0-1684316963694.png" style="width: 400px;"&gt;&lt;img src="https://live.paloaltonetworks.com/t5/image/serverpage/image-id/50210i646DE52EEC5B8361/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Pavendhan_K_0-1684316963694.png" alt="Pavendhan_K_0-1684316963694.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[root@localhost ~]# systemctl status demisto.service&lt;BR /&gt;● demisto.service - Demisto Server Service&lt;BR /&gt;Loaded: loaded (/etc/systemd/system/demisto.service; enabled; vendor preset: disabled)&lt;BR /&gt;Active: failed (Result: exit-code) since Wed 2023-05-17 19:43:28 AEST; 45s ago&lt;BR /&gt;Process: 2122 ExecStart=/usr/local/demisto/server (code=exited, status=203/EXEC)&lt;BR /&gt;Main PID: 2122 (code=exited, status=203/EXEC).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help in fixing what is wrong here. Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-PRODUCT title="Cortex XSOAR" id="Cortex_XSOAR"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 09:54:25 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542448#M2138</guid>
      <dc:creator>Pavendhan_Krishnan</dc:creator>
      <dc:date>2023-05-17T09:54:25Z</dc:date>
    </item>
    <item>
      <title>Re: Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542490#M2141</link>
      <description>&lt;P&gt;There's not much that exit code&amp;nbsp; screenshot provides on its own and you should probably open a ticket with support.&amp;nbsp; &amp;nbsp;In the interim, Assuming a standard installation you can probably see some more hints in /var/log/demisto.service.log&amp;nbsp; or in the journal logs (&lt;STRONG&gt;journalctl&lt;/STRONG&gt;&lt;STRONG&gt; --since "&lt;/STRONG&gt;&lt;STRONG&gt;&amp;lt;##&amp;gt; &lt;/STRONG&gt;&lt;STRONG&gt;&amp;nbsp;hour ago" &amp;gt; &lt;/STRONG&gt;&lt;STRONG&gt;&amp;lt;&lt;/STRONG&gt;&lt;STRONG&gt;jfilename&amp;gt;&lt;/STRONG&gt;&lt;STRONG&gt; &amp;nbsp; (example collecting 12 hours of journalctl logs:&amp;nbsp; &lt;/STRONG&gt;&lt;I&gt;&lt;SPAN&gt;journalctl&lt;/SPAN&gt;&lt;/I&gt;&lt;I&gt;&lt;SPAN&gt; --since "12 hour ago" &amp;gt; &lt;/SPAN&gt;&lt;/I&gt;&lt;I&gt;&lt;SPAN&gt;journalctl&lt;/SPAN&gt;&lt;/I&gt;&lt;I&gt;&lt;SPAN&gt;_12hr.txt&lt;/SPAN&gt;&lt;/I&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp; ) .&amp;nbsp; Off the top of my head, make sure there's enough space in the filesystems the relevant directories (see link for relevant directories) and demisto has access.&amp;nbsp; Make sure you're system meets the minimum requirements.&amp;nbsp; &amp;nbsp;also confirm the docker/podman&amp;nbsp; service is up and healthy&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.11/Cortex-XSOAR-Administrator-Guide/Install-the-Server-for-a-Single-Server-Deployment" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.11/Cortex-XSOAR-Administrator-Guide/Install-the-Server-for-a-Single-Server-Deployment&lt;/A&gt;&amp;nbsp; (contains relevant filesystem structure and sizing recommendations)&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.11/Cortex-XSOAR-Administrator-Guide/System-Requirements" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.11/Cortex-XSOAR-Administrator-Guide/System-Requirements&lt;/A&gt;&amp;nbsp;(system requirements)&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:32:34 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542490#M2141</guid>
      <dc:creator>cpayne26</dc:creator>
      <dc:date>2023-05-17T14:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542494#M2143</link>
      <description>&lt;P&gt;Check the /var/log/demisto/server.log to see if the reason presents itself.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can also check the journalctl logs on restart, problem may be there as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 14:36:45 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542494#M2143</guid>
      <dc:creator>MBeauchamp2</dc:creator>
      <dc:date>2023-05-17T14:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542546#M2144</link>
      <description>&lt;P data-unlink="true"&gt;&lt;SPAN class="UserName lia-user-name lia-user-rank-L0-Member lia-component-message-view-widget-author-username"&gt;&lt;SPAN class=""&gt;Pavendhan_K Have you been using the NFR license for more than 30 days?&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://start.paloaltonetworks.com/sign-up-for-community-edition.html" target="_blank" rel="noopener"&gt;Start Your 30-Day Free Trial of Cortex XSOAR ...&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 21:22:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/542546#M2144</guid>
      <dc:creator>atullo</dc:creator>
      <dc:date>2023-05-17T21:22:27Z</dc:date>
    </item>
    <item>
      <title>Re: Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/568879#M2884</link>
      <description>&lt;P&gt;Saw the below error for same issue in our Cortex XOAR installation after looking at server.log . How can we cleaup the disk space? which all files should be cleaned up?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;2023-12-05 07:09:02.0424 error Failed getting docker working dir with err: [mkdir /var/lib/demisto/temp/script421178974: no space left on device] (source: /builds/GOPATH/src/gitlab.xdr.pan.local/xdr/xsoar/server/services/automation/container.go:195)&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 12:38:48 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/568879#M2884</guid>
      <dc:creator>dinopc</dc:creator>
      <dc:date>2023-12-07T12:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: Demisto Service Failed</title>
      <link>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/568891#M2885</link>
      <description>&lt;P&gt;Dinopc&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;A little more information is needed like demisto application version, what type of demisto architecture you're using, etc.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;This response assumes you're using&amp;nbsp; demisto version 6.12, single server deployment (bolt instead of elastic for the db), the default installation process was followed (so all demisto components were installed in /var/lib/demisto) and you're not using an advanced config like live backup or distributed db.&amp;nbsp; (&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Deployment-Checklist-Best-Practices" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Deployment-Checklist-Best-Practices&lt;/A&gt;)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To archive data for demisto&amp;nbsp; You would use&amp;nbsp;&lt;BR /&gt;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Free-up-Disk-Space-with-Data-Archiving" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.9/Cortex-XSOAR-Administrator-Guide/Free-up-Disk-Space-with-Data-Archiving &amp;nbsp;&lt;/A&gt;&lt;BR /&gt;To archive the db data and&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Archive-Artifacts-and-Attachments" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Archive-Artifacts-and-Attachments&lt;/A&gt; to archive artifacts and attachment.&amp;nbsp; &amp;nbsp; Sometimes people forget to clean up artifacts and attachments when they clean up demisto.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;However before I archive I like to confirm that archiving will help with the filesystem being full (its possible something else could be filling up the filesystem for example a badly configured syslog where the unix server isn't using filesystems to help manage space...ie all space is allocated to /)&amp;nbsp; to do this you can log into your unix server and run &lt;STRONG&gt;df -h&lt;/STRONG&gt; to look at the filesystem layout and &lt;STRONG&gt;du -sh&lt;/STRONG&gt; to look at how much space under /var/lib/demisto/data is being used by each directory.&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Another helpful hint is you can look in /var/lib/demisto/data/partitionsData to see how much data your demisto app has to archive.&amp;nbsp; There's one that represents each calendar month of data that you have on the server (see example below)&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;/var/lib/demisto/data/partitionsData:&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;total 325G&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;drwxr-xr-x 2 demisto demisto 4.0K Nov 1 00:00 .&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;drwxr-xr-x 4 demisto demisto 4.0K Feb 4 2023 ..&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-rw------- 1 demisto demisto 10G Nov 27 23:41 demisto_052022.db&amp;nbsp; (&lt;STRONG&gt;May 2022&lt;/STRONG&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;-rw------- 1 demisto demisto 15G Nov 27 23:41 demisto_062022.db&amp;nbsp; (&lt;STRONG&gt;June 2022&lt;/STRONG&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;etc...&lt;BR /&gt;&lt;BR /&gt;One more thing to check depending on how your filesystem are configured, if you're doing database backups through the app&amp;nbsp;&lt;A style="font-weight: bold;" href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database&lt;/A&gt;&amp;nbsp; assuming default configs the data is stored in /var/lib/demisto/backup.&amp;nbsp; &amp;nbsp;can configure your system to use a different directory&amp;nbsp;on a different filesystem and move the backup files to that fileystem as well.&amp;nbsp; This can also help with space issues.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Last bit of advice is to make sure you have appropriate backups/system snapshots because the database backup doesn't backup artifacts and attachments (see detail in step 3&amp;nbsp;&lt;A href="https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database" target="_blank"&gt;https://docs-cortex.paloaltonetworks.com/r/Cortex-XSOAR/6.12/Cortex-XSOAR-Administrator-Guide/Back-up-the-Database&lt;/A&gt;) and you'll want to be able to have a good recovery strategy if something goes wrong.&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I hope this helps.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 14:44:30 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/cortex-xsoar-discussions/demisto-service-failed/m-p/568891#M2885</guid>
      <dc:creator>cpayne26</dc:creator>
      <dc:date>2023-12-07T14:44:30Z</dc:date>
    </item>
  </channel>
</rss>

