Hi,
I have error whrn checking the "systemctl status wazuh-api"
[root@wazuhmanager auth]# systemctl status wazuh-api
● wazuh-api.service - Wazuh API daemon
Loaded: loaded (/etc/systemd/system/wazuh-api.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Wed 2019-10-23 12:09:21 UTC; 34min ago
Docs: https://documentation.wazuh.com/current/user-manual/api/index.html
Process: 50026 ExecStop=/bin/kill -HUP $MAINPID (code=exited, status=1/FAILURE)
Process: 50010 ExecStart=/usr/bin/node /var/ossec/api/app.js (code=exited, status=1/FAILURE)
Main PID: 50010 (code=exited, status=1/FAILURE)
Oct 23 12:09:21 wazuhmanager kill[50026]: -q, --queue use sigqueu...)
Oct 23 12:09:21 wazuhmanager kill[50026]: -p, --pid print pids ...m
Oct 23 12:09:21 wazuhmanager kill[50026]: -l, --list [=] list signal...e
Oct 23 12:09:21 wazuhmanager kill[50026]: -L, --table list signal...s
Oct 23 12:09:21 wazuhmanager kill[50026]: -h, --help display this help a...t
Oct 23 12:09:21 wazuhmanager kill[50026]: -V, --version output version info...t
Oct 23 12:09:21 wazuhmanager systemd[1]: wazuh-api.service: control process ...1
Oct 23 12:09:21 wazuhmanager kill[50026]: For more details see kill(1).
Oct 23 12:09:21 wazuhmanager systemd[1]: Unit wazuh-api.service entered fail....
Oct 23 12:09:21 wazuhmanager systemd[1]: wazuh-api.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@wazuhmanager auth]#
Hello Hattim Khaleel,
This behavior may be cause by different reasons, in order to determine more information about the failed service please run 'journalctl -u wazuh-api'. And provide us with the output so we may have some more information about the issue.
This may occur for example, if there are file permission issues, missing nodejs version 4.6.1 or greater, or other misconfigurations.
Please check if Nodejs is installed by running 'node -v' which will provide the installed version number.
If the problem persists please let us know and we will be glad to help you find a solution.
Best regards,
Daria Kempny
systemctl restart wazuh-api
--
You received this message because you are subscribed to the Google Groups "Wazuh mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wazuh+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/wazuh/a7ffa7fe-8b04-490e-af0c-862cbdc0a7a1%40googlegroups.com.