Closed Multidivide closed 4 years ago
I havent had much luck yet, but I'll give it a go again with the 2.0.2 release. But because the segmentation fault is to do with the python modules, what would be the best way I can help in solving this?
What I was able to do after a few more days of restarting and going through my snapshots, the command that worked appears to be the following:
sudo -H pip3 install simplejson stix2 stix2-validator pycti
The -H
requests that the security policy set the HOME environment variable to the home directory specified by the target user's password database entry. Depending on the policy, this may be the default behavior.
And for no particular reason (just seems to work better) I did it while I was in my normal directory of account/home
.
This was also done with version 2.0.2 of OpenCTI. For now I have closed this issue since I feel that it's been resolved, however if you need to contact me about anything I'll be happy to try help. Other advice I can offer is making sure that all your updates are up-to-date and upgraded too.
Description
Segmentation fault (core dumped) appears as an error when running the worker command 'pip3 install -r requirements.txt', from when I do a further breakdown it seems like the pip install works for most of the modules but is having challenges with 4 of them.
Environment
Reproducible Steps
Steps to create the smallest reproducible scenario:
pip3 install -r requirements.txt
under the file path opencti/worker/Expected Output
A clean exit, no error messages occurring or at least an error log to show where the issue is occurring.
Actual Output
The tail end of the result shows the following:
Additional information
I was able to breakdown the actual output and do one-by-one of each installation. Below is what did work and what appeared with an error flag:
Hope this helps, let me know what further information is required and I'll try provide when available, otherwise i'll keep searching and see what a solution could be