-
Notifications
You must be signed in to change notification settings - Fork 57
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
Wazuh-Python Internal Error: wazuh-framework not found. #14
Comments
Hi @ttany, what version are you running?. In order to check your version, execute the following commands:
Thanks. |
Thanks @jesuslinares: [root@WazuhServer logs]# cat /etc/ossec-init.conf
[root@WazuhServer logs]# cat /var/ossec/api/package.json | grep version ELK is v5.4.0! |
Hi, It seems the error is in the API, not in kibana. So, execute the following query in your manager:
Let me know if it works and paste here the api logs. I hope with this information we can determine what is happening. Thanks. |
Hi!
|
Please, go to Then restart the API and send the request. Let's see what says the API log ( Do you have Python installed?. Regards. |
I have installed Python and changed the config.logs to "debug"!
|
Check if the following directory exists: The error is due to What is your Python version?. Thanks. |
Python version is 2.7.13 |
Is it working changing that line? |
Hi, my password authentication working fine. i already checked browser as well curl -s -u laxman:qwer1234 -k -X GET "http://127.0.0.1:55000/" curl -s -u laxman:qwer1234 -k -X GET "http://127.0.0.1:55000/agents" after enabling debug on config.json getting this output.WazuhAPI 2017-06-14 12:24:15: ::ffff:12.107.176.9 GET /agents
|
python --version elk component version 5.4 |
jesuslinares,Thank you very much!I have solved my problem!Python is not install according to your requirements! |
@ttany what kind of change you made for python. how to add user through this command. i used below mentioned command as well sudo htpasswd -c user laxman, but that not working. sudo node htpasswd -c user laxman Error: Cannot find module '/var/ossec/api/scripts/htpasswd' |
I had the same issue:
The actual error was:
In my case, it was broken because I copied the data dir to another partition and looks like there was a symlink badly copied. Not sure why do we need it there at all.
|
Hi @Laxman-SM, Wazuh API 2.0 only works with Wazuh manager 2.0. If you want to change the the user/password:
@roman-vynar, If you are using CentOS 7, the default version of SQLite is right. So, you can prevent to load that library from /var/ossec/api/configuration/config.js Change: Thanks for the feedback!. |
@jesuslinares thanks for your software and support! |
@jesuslinares I install the wazuh on centos 6.9 , I yum update the default version of python2.6 to python 2.7 and also get the same error. How can I do ? Thanks! |
@whoami001 Check out the documentation: https://documentation.wazuh.com/current/installation-guide/installing-wazuh-server/wazuh_server_rpm.html#installing-wazuh-api Just install the python27 package and restart the API:
Regards. |
@jesuslinares I reinstall centos 7 , slove the problem. |
@whoami001 great!. CentOS 7 is a perfect choice. |
Hello!
I met a problem, I click on the ADD NEW API error in Kibana:
Unexpected error. Wazuh - Python Internal error: Wazuh - framework is not found.
Wazuh-API error log is as follows:
The text was updated successfully, but these errors were encountered: