Problems with CentOs 7 and MM 0.9.52

Reply
L7 Applicator

Re: Problems with CentOs 7 and MM 0.9.52

The error means that the webui repo had changes in it. Are you sure you deleted the /opt/minemeld/www directory before rerunning the playbook?

Check here for detailed instructions: https://github.com/PaloAltoNetworks/minemeld-ansible/tree/develop#upgrade-minemeld

 

Luigi

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori 

 

I executed the procedure again. Now I got:

 

Captura_error_ansible_minemeld_2.PNG

 

I double checked the folder "minemeld" before start and minemeld/prototypes, minemeld/www and minemeld/engine were deleted.

 

Regards

 

 

L7 Applicator

Re: Problems with CentOs 7 and MM 0.9.52

That is a different error. CentOS7 you are installing on has SELinux disabled. You can comment out the first task of this Ansible playbook here: https://github.com/PaloAltoNetworks/minemeld-ansible/blob/master/roles/minemeld/tasks/CentOS-7-post....

 

Luigi

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori 

 

Now I got it

 

Captura_error_ansible_minemeld_3.PNG

 

Regards

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori 

 

I proceeded the same way. I commented the lines related to opening ports at the firewall. Now I got 0 errors.

 

Captura_error_ansible_minemeld_4.PNG

 

However, I'm not able to login at MM WEGUI, and the status shows a fatal "Error to Engine":

 

Captura_error_minemeld_status.PNG

 

I got in minemeld/log/minemeld-engine.log the following:

 

ERROR: Invalid config /opt/minemeld/local/config/committed-config.yml: Unknown node class youtubeminer.PlaylistMiner

 

How do I able an extension, since I'm not able to login.

 

Regards

 

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori 

 

I removed MM from my server and started the installation from zero. I still got the "Fatal Error" for the engine when checking the status, and in my "minemeld-engine.log" I have:

 

Captura_minemeld_engine_0_9_60_log.PNG

 

I can confirm that I don't have " /var/run/redis/redis.sock".

In my MM WEBGUI I got "timeout" when trying to login.

Right now, I'm unable to use Minemeld.

Regards

 

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori ,

 

the health of the system shows that the process "gunicorn" is probably in problem.

 

Captura_MM_top_health.PNG

 

Regards

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @lmori ,

 

could you explain me what the status "BACKOFF" means for "minemeld-web":

 

Captura_Minemeld_Web_log_status.PNG

 

Best regards

Thank you

 

 

 

L2 Linker

Re: Problems with CentOs 7 and MM 0.9.52

I am still getting this error when following the directions on github.

 

 

TASK [minemeld : collectd types] *****************************************************************************************************************************************************************
ok: [127.0.0.1]

TASK [minemeld : open https port] ****************************************************************************************************************************************************************
fatal: [127.0.0.1]: FAILED! => {"changed": true, "cmd": ["firewall-cmd", "--zone=public", "--add-service=https"], "delta": "0:00:00.387290", "end": "2019-04-18 10:04:07.098549", "msg": "non-zero return code", "rc": 252, "start": "2019-04-18 10:04:06.711259", "stderr": "FirewallD is not running", "stderr_lines": ["FirewallD is not running"], "stdout": "", "stdout_lines": []}
to retry, use: --limit @/opt/minemeld-ansible/local.retry

PLAY RECAP ***************************************************************************************************************************************************************************************
127.0.0.1 : ok=75 changed=50 unreachable=0 failed=1

 

 

L4 Transporter

Re: Problems with CentOs 7 and MM 0.9.52

Hi @StephenBradley 

 

You can comment the next four tasks

 

#- name: open https port
#  command: firewall-cmd --zone=public --add-service=https
#- name: open http port
#  command: firewall-cmd --zone=public --add-service=http
#- name: open https port (permanent)
#  command: firewall-cmd --zone=public --permanent --add-service=https
#- name: open http port (permanent)
#  command: firewall-cmd --zone=public --permanent --add-service=http

This will allow you to complete the installation. Even executing this procedures, my MM is not working.

 

Regards

 

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the Live Community as a whole!

The Live Community thanks you for your participation!