Hi,
The setup.py reads intelmq/bots/BOTS file during installation and installs all bots as script. intelmqctl and others are installed in the same manner.
Which operating system are you using? Which version of intelmq are you using? Please show the output of `pip3 list`. Where is intelmqctl located? Which other intelmq.* files are there? What was the complete (!) output of the mentioned commands?
Without more information I really can't help. I am not a fortuneteller. Unfortunately.
Sebastian
On 08/01/2017 10:43 AM, Vaclav Bruzek wrote:
Hi, I've trid several methods of installtion:
- pip3 install . (with and withou -e option)
- python3 setup.py install
with simmilar degree of success that is not having the deffinitions in /usr/local/bin/
intelmqctl wtih bot id sais following: intelmqctl: Starting xxxx-parser... intelmqctl: xxxx-parser failed to START because the file cannot be found.
On 17 July 2017 at 12:26, Sebastian Wagner <wagner@cert.at mailto:wagner@cert.at> wrote:
Hi, On 07/14/2017 04:05 PM, Vaclav Bruzek wrote:
I had the definition in BOTS and configs, the files were there as specified by the path. It was suggested to me that that the definitons in /usr/local/bin/"bot path" were missing which indeed was true but creating the respective files solved some issues and created some more as it happens.
You created the files /usr/local/bin/intelmq.bots... manually? Better let them created by installing intelmq with pip. After adding new bots, you need to run the installation method again. It creates the executables in the bin-directory for you. See also https://github.com/certtools/intelmq/blob/master/docs/Developers-Guide.md#update <https://github.com/certtools/intelmq/blob/master/docs/Developers-Guide.md#update>
The intelmqctl now recognizes the bots and runs them, but when I try to stop the bot it displays that the bot wasn't running.
What does `intelmqctl run bot-id` show? Sebastian -- // Sebastian Wagner <wagner@cert.at> <mailto:wagner@cert.at> - T: +43 1 5056416 7201 // CERT Austria - https://www.cert.at/ // Eine Initiative der nic.at <http://nic.at> GmbH - https://www.nic.at/ // Firmenbuchnummer 172568b, LG Salzburg
-- S pozdravem, Václav Brůžek