Getting error during the Starting MISP-Modules Service
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 377
- Forks
- 280
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 10
Description
Oct 04 22:45:41 vultr systemd[1]: misp-modules.service: Main process exited, code=exited, status=1/FAILURE
Oct 04 22:45:41 vultr systemd[1]: misp-modules.service: Failed with result 'exit-code'.
Oct 04 22:45:41 vultr systemd[1]: misp-modules.service: Consumed 1.725s CPU time.
Oct 04 22:45:46 vultr systemd[1]: misp-modules.service: Scheduled restart job, restart counter is at 13.
Oct 04 22:45:46 vultr systemd[1]: Stopped MISP Modules.
Oct 04 22:45:46 vultr systemd[1]: misp-modules.service: Consumed 1.725s CPU time.
Oct 04 22:45:46 vultr systemd[1]: Started MISP Modules.
Oct 04 22:45:47 vultr python3[136046]: ERROR:root:No module named 'dnstrails'
Oct 04 22:45:47 vultr python3[136046]: Traceback (most recent call last):
Oct 04 22:45:47 vultr python3[136046]: File "/var/www/MISP/app/files/scripts/misp-modules/misp_modules/init.py", line 94, in
Oct 04 22:45:47 vultr python3[136046]: from .modules import * # noqa
Oct 04 22:45:47 vultr python3[136046]: File "/var/www/MISP/app/files/scripts/misp-modules/misp_modules/modules/init.py", line 1, in
Oct 04 22:45:47 vultr python3[136046]: from .expansion import * # noqa
Oct 04 22:45:47 vultr python3[136046]: File "/var/www/MISP/app/files/scripts/misp-modules/misp_modules/modules/expansion/securitytrails.py", line 6, in
Oct 04 22:45:47 vultr python3[136046]: from dnstrails import APIError
Oct 04 22:45:47 vultr python3[136046]: ModuleNotFoundError: No module named 'dnstrails'
Oct 04 22:45:47 vultr python3[136046]: /var/www/MISP/app/files/scripts/misp-modules/venv/bin/python3: No module named misp_modules.main; 'misp_modules' is a package and cannot be directly executed
Oct 04 22:45:47 vultr systemd[1]: misp-modules.service: Main process exited, code=exited, status=1/FAILURE
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the misp-modules.service startup and read misp_modules/modules/expansion/securitytrails.py alongside the venv setup at /var/www/MISP/app/files/scripts/misp-modules/venv. Trace how the dnstrails import is expected to be provided. Done means the service starts without the reported ModuleNotFoundError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100