06-29-2021 01:23 AM
Hello all
I'm trying to activate the Communication Task.
The Idea is, that User may answer without to have a xsoar account.
So far, I found this Doc:
I've entered both settings into troubleshooting.
the d1.conf file looks like:
{
"BindAddress":"8080"
}
the rights of the file looks like:
-rw-r--r-- 1 demisto demisto 26 Jun 29 10:08 d1.conf
I've restarted demisto - but do not see any port 8080 on "ss -tulpen"
What is wrong on my side? What did I overseen?
Thanks
roger
08-25-2021 05:26 AM
Roger,
Are you able to restart demisto like you have in the past? How are you verifying that demisto is running? Could you share the commands you're using and their output (please redact anything sensitive)?
Thanks
08-26-2021 08:04 AM - edited 08-26-2021 08:17 AM
Hello Atullo
I'll enter the following command:
sudo systemctl restart demisto | tail -f /var/log/demisto/server.log
After that I do see Logs from Demisto and wait until I see:
info Server up and running, good luck to us all
After that I do a:
systemctl status demisto
And check, If there is:
Loaded: loaded (/etc/systemd/system/demisto.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2021-08-26 17:01:05 CEST; 2min 41s ago
thanks
roger
PS: I just saw, that the one Demisto-Service is still in a shutdown prodecere, and is traped in a loop:
2021-08-26 17:11:53.3694 info Long running has stopped for instance [an_instance_1]
2021-08-26 17:11:53.3698 info Creating container manager for single run for docker image [demisto/pyt...]
2021-08-26 17:11:53.4215 info Stopping docker container demistoserver_py
2021-08-26 17:11:53.7984 error Container exit with error. container name: [demistoserver_py...] error: [exit status 137] (2619)
2021-08-26 17:11:54.3401 info Existing long running instance [an_instance_1]
2021-08-26 17:11:54.3403 info Long running execution has stopped for instance [an_instance_1]
I'm going to reboot the machine.
08-26-2021 08:28 AM
reboot was done, but still no port 8080:
:~$ sudo grep BindAddress /usr/local/demisto/d1.conf
"BindAddress": ":8080",
:~$ ss -tulpen | grep 8080
:~$
08-26-2021 10:03 AM
You'll need to restart the XSOAR engine service on your engine (not the demisto service on your app server; my apologies, I did not word my previous questions correctly).
For engines running a Debian based distro the command would be
sudo service d1 restart
More info for starting & restarting the XSOAR engine service can be found here: Install a Cortex XSOAR Engine.
08-30-2021 02:35 AM
Atullo
I do not have an d1 installation here. Since I'm not able to install d1-Service on Demisto machine.
"Failed - Cannot install engine along with Cortex XSOAR server"
Do I need an Engine to use those Communication Task?
If so, I need first to setup a new machine.
Thanks
roger
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!