when run the analyzers written by myself, it return an error.
Steps to Reproduce
put my analyzers on the position /opt/analyzers
restart service
enable the analyzer, and create a case to run, it will return error in log
have install python3, and run other analyzers ok, for exam, AbuseIPDB
. Pls give some suggestion.
Possible Solutions
(keep this section if you have suggestions on how to solve the problem. Otherwise delete it)
Complementary information
(add anything that can help identifying the problem such as log excerpts, screenshots, configuration dumps etc.)
[info] o.t.c.s.JobSrv - Looking for similar job in the last 10 minutes (worker=7390edfe350776f921219e1696eb409f, dataType=ip, data=Left(58.97.208.199), tlp=2, parameters={})
[info] o.t.c.s.AuditActor - Job QsMuM3sBSgl94jXJ84gZ has be updated (JsDefined("InProgress"))
[info] o.t.c.s.ProcessJobRunnerSrv - Execute /opt/analyzers/ThreatBook/threatbook_analyzer.py in /opt/analyzers, timeout is 30 minutes
[info] o.t.c.s.ProcessJobRunnerSrv - Job QsMuM3sBSgl94jXJ84gZ: /usr/bin/env: python3
[info] o.t.c.s.ProcessJobRunnerSrv - Job QsMuM3sBSgl94jXJ84gZ: : No such file or directory
[info] o.t.c.s.AuditActor - Job QsMuM3sBSgl94jXJ84gZ has be updated (JsDefined("Failure"))
[info] o.t.c.s.JobSrv - Job QsMuM3sBSgl94jXJ84gZ has finished with status Failure
Request Type
Bug
Work Environment
Problem Description
Describe the problem/bug as clearly as possible.
when run the analyzers written by myself, it return an error.
Steps to Reproduce
Possible Solutions
(keep this section if you have suggestions on how to solve the problem. Otherwise delete it)
Complementary information
(add anything that can help identifying the problem such as log excerpts, screenshots, configuration dumps etc.)
[info] o.t.c.s.JobSrv - Looking for similar job in the last 10 minutes (worker=7390edfe350776f921219e1696eb409f, dataType=ip, data=Left(58.97.208.199), tlp=2, parameters={}) [info] o.t.c.s.AuditActor - Job QsMuM3sBSgl94jXJ84gZ has be updated (JsDefined("InProgress")) [info] o.t.c.s.ProcessJobRunnerSrv - Execute /opt/analyzers/ThreatBook/threatbook_analyzer.py in /opt/analyzers, timeout is 30 minutes [info] o.t.c.s.ProcessJobRunnerSrv - Job QsMuM3sBSgl94jXJ84gZ: /usr/bin/env: python3 [info] o.t.c.s.ProcessJobRunnerSrv - Job QsMuM3sBSgl94jXJ84gZ: : No such file or directory [info] o.t.c.s.AuditActor - Job QsMuM3sBSgl94jXJ84gZ has be updated (JsDefined("Failure")) [info] o.t.c.s.JobSrv - Job QsMuM3sBSgl94jXJ84gZ has finished with status Failure