cannot change wazuh password

5,588 views
Skip to first unread message

arman fahrizal

unread,
Dec 29, 2021, 10:09:45 PM12/29/21
to Wazuh mailing list
hi ... i try to change wazuh password using "wazuh-passwords-tool.sh" but it always give respond 'ERROR: The backup could not be created'
any solution??
thanks
wazuh error.PNG

Miguel Verdaguer Velazquez

unread,
Dec 30, 2021, 4:32:41 AM12/30/21
to Wazuh mailing list
Hi,
It looks as if the securityadmin.sh script is not being able to correctly create a backup for your passwords. To get more information as to the nature of the error, could you please run the script on your host with the same arguments as now plus the argument `-v`? Please, send me the output of the script after removing any personal information that would be in it, as ip's or passwords.

arman fahrizal

unread,
Jan 2, 2022, 7:51:23 PM1/2/22
to Wazuh mailing list
that is the respond with -v
Capture.PNG

Miguel Verdaguer

unread,
Jan 3, 2022, 4:20:00 AM1/3/22
to wa...@googlegroups.com

Hi,

Seeing the error given in your output with -v, the solution seems to be removing the folder /usr/share/elasticsearch/backup. You can do this by running the command sudo rm -r /usr/share/elasticsearch/backup.

--
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/2fc7e580-0bb0-4203-b040-951c379538a1n%40googlegroups.com.

arman fahrizal

unread,
Jan 3, 2022, 8:59:42 PM1/3/22
to Wazuh mailing list
i have following what u suggested by removing  /usr/share/elasticsearch/backup folder n try to change the username and account again but it give another error like in the picture below

i found the solution by foolowing step on this discussion https://groups.google.com/g/wazuh/c/rAl0vI_0294/m/s88DtMkVCgAJ
thanks a lot for your time n answer  =D

Capture.PNG

Miguel Verdaguer

unread,
Jan 4, 2022, 4:30:20 AM1/4/22
to wa...@googlegroups.com

Great, glad to hear you got it working. Any other problem you can write here or in our slack group.

Reply all
Reply to author
Forward
0 new messages