Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to start the bot from IntelMQ-Manager #22

Open
kodebrain opened this issue Feb 28, 2023 · 3 comments
Open

Unable to start the bot from IntelMQ-Manager #22

kodebrain opened this issue Feb 28, 2023 · 3 comments

Comments

@kodebrain
Copy link

I'm able to run the bot from the terminal by running intelmqctl run CERTBundKontakt-Expert but can't start from the IntelMQ-Manager. Issue is only with the CERTBund bots and every other bots can be started/stopped from the GUI.

Checking the logs from the IntelMQ Monitor tab
Logs > Log Level: All doesn't display anything but when I filter it down to Info it list some logs. It should list every type of logs when All is selected ?

@sebix
Copy link
Contributor

sebix commented Feb 28, 2023

What does intelmqctl start CERTBundKontakt-Expert show? That starts the bot as a daemon and is the same command that the Manager (actually the IntelMQ API == the backend) executes.

I suspect that the executable (/usr/(local/)bin/intelmq.bots.experts.certbund_contact.expert) is missing.

@kodebrain
Copy link
Author

Starting CERTBundKontakt-Expert...
CERTBundKontakt-Expert: CERTBundKontaktExpertBot initialized with id CERTBundKontakt-Expert and intelmq 3.1.0 and python 3.8.10 (default, Nov 14 2022, 12:59:47) as process 19880.
CERTBundKontakt-Expert: Bot is starting.
CERTBundKontakt-Expert: Loading Harmonization configuration from '/etc/intelmq/harmonization.conf'.
CERTBundKontakt-Expert: Loading source pipeline and queue 'CERTBundKontakt-Expert-queue'.
CERTBundKontakt-Expert: Connected to source queue.
CERTBundKontakt-Expert: Loading destination pipeline and queues {'_default': ['CERTBundRule-Expert-queue']}.
CERTBundKontakt-Expert: Connected to destination queues.
CERTBundKontakt-Expert: Sections: ['source'].
CERTBundKontakt-Expert: Connecting to PostgreSQL: database='contactdb', user='intelmq', host='localhost', port=5432, sslmode='require'.
CERTBundKontakt-Expert: Connected to PostgreSQL.
CERTBundKontakt-Expert: Bot initialization completed.
CERTBundKontakt-Expert: Loading source pipeline and queue 'CERTBundKontakt-Expert-queue'.
CERTBundKontakt-Expert: Connected to source queue.
CERTBundKontakt-Expert: Loading destination pipeline and queues {'_default': ['CERTBundRule-Expert-queue']}.
CERTBundKontakt-Expert: Connected to destination queues.
CERTBundKontakt-Expert: Waiting for incoming message.

I can stop the bot from the Manager after it runs as above but can't start it

@sebix
Copy link
Contributor

sebix commented Mar 1, 2023

This is interesting. Another possible reason could be, that executables of these bots are not in $PATH.
What do which intelmq.bots.experts.deduplicator.expert and which intelmq.bots.experts.certbund_contact.expert show?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants