04-20-2018 08:28 AM - edited 04-20-2018 08:31 AM
Used OVA to deploy it on ESXi. Default admin/minemeld did not work after deployment and NO changes. Gives the message "ERROR CHECKING CREDENTIALS: Bad Gateway"
Logged in via CLI and ran the following:
ubuntu@minemeld:~$ sudo htpasswd /opt/minemeld/local/config/api/wsgi.htpasswd admin New password: Re-type new password: Updating password for user admin
ubuntu@minemeld:~$ sudo -u minemeld /opt/minemeld/engine/current/bin/supervisorctl -c /opt/minemeld/supervisor/config/supervisord.conf restart minemeld-web
minemeld-web: stopped
minemeld-web: ERROR (abnormal termination)
Still cant login after changing the password.
04-20-2018 08:38 AM
Found fix below.
sudo service minemeld stop sudo -H -u minemeld /opt/minemeld/engine/current/bin/pip install pip==9.0.3 sudo service minemeld start
04-20-2018 08:38 AM
Found fix below.
sudo service minemeld stop sudo -H -u minemeld /opt/minemeld/engine/current/bin/pip install pip==9.0.3 sudo service minemeld start
04-20-2018 10:45 AM
Hi drewdown,
Thanks for the answer to the problem! I was looking for that since 3 days ago... apparently this is a new bug introduced lately:
https://github.com/PaloAltoNetworks/minemeld-core/issues/270
I just couldn't figure out how to revert to pip < v10
Cheers!
04-23-2018 02:38 PM
Thanks! this worked for me!
07-23-2018 01:11 PM
Is there a permanent fix for this issue?
My MM instance keeps stopping and downgrading PIP per the instructions above revives it.
ubuntu@minemeld:~$ sudo service minemeld stop * Stopping: minemeld [ OK ] ubuntu@minemeld:~$ sudo -H -u minemeld /opt/minemeld/engine/current/bin/pip install pip==9.0.3 The directory '/home/minemeld/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/minemeld/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Requirement already satisfied: pip==9.0.3 in /opt/minemeld/engine/0.9.48.post1/lib/python2.7/site-packages /opt/minemeld/engine/0.9.48.post1/local/lib/python2.7/site-packages/pip/_vendor/urllib3/util/ssl_.py:339: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings SNIMissingWarning /opt/minemeld/engine/0.9.48.post1/local/lib/python2.7/site-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning /opt/minemeld/engine/0.9.48.post1/local/lib/python2.7/site-packages/pip/_vendor/urllib3/util/ssl_.py:137: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings InsecurePlatformWarning You are using pip version 9.0.3, however version 18.0 is available. You should consider upgrading via the 'pip install --upgrade pip' command. ubuntu@minemeld:~$ sudo service minemeld start * Starting: minemeld Unlinking stale socket /var/run/minemeld/minemeld.sock [ OK ] ubuntu@minemeld:~$
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 LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!