unable to use systemctl

82 views
Skip to first unread message

maha

unread,
Jun 23, 2023, 2:33:10 AM6/23/23
to Wazuh mailing list
when I try to use systemctl it is giving me error saying.
attached image for reference.

systemctl-error.jpg

Thank you

Tomas Sarquis

unread,
Jun 23, 2023, 2:51:27 AM6/23/23
to Wazuh mailing list
Hi maha

I assume that's the Wazuh OVA, right? Confirm this, please. Also, if that's the case, can you tell me which version it is?
If it is not the OVA, give me some background on this so I could help you.

Regards

maha

unread,
Jun 23, 2023, 3:13:03 AM6/23/23
to Wazuh mailing list
Yes,  Im using the Wazuh-OVA 4.4.4. configured in VMWare.

Tomas Sarquis

unread,
Jun 23, 2023, 3:24:25 AM6/23/23
to Wazuh mailing list
Thanks. Let me see if I can reproduce this.

Tomas Sarquis

unread,
Jun 23, 2023, 4:28:31 AM6/23/23
to Wazuh mailing list
I tried this in a fresh new OVA machine and I had no problem performing the commands above (see image attached).

Have you made any configuration that could have broken this?

Please, try with the following commands and show me the output:
- Log in to privileged user:       sudo su
- Restart the network service: systemctl restart network
- Log out:                                     exit
image.png
Message has been deleted

maha

unread,
Jun 23, 2023, 5:08:22 AM6/23/23
to Wazuh mailing list
I followed this https://www.reddit.com/r/Wazuh/comments/ryh48l/how_can_i_set_the_wazuh_server_to_use_a_static_ip/
Then tried to restart the network.

This is fresh installation of wazuh-ova.

Tomas Sarquis

unread,
Jun 23, 2023, 5:19:03 AM6/23/23
to Wazuh mailing list
What happens if you execute the commands I asked you above?


> Please, try with the following commands and show me the output:
> - Log in to privileged user:       sudo su
> - Restart the network service: systemctl restart network
> - Log out:                                     exit

maha

unread,
Jun 23, 2023, 5:32:58 AM6/23/23
to Wazuh mailing list
sudo.jpg
even running the command in sudo gives the same error.

Tomas Sarquis

unread,
Jun 23, 2023, 5:44:47 AM6/23/23
to Wazuh mailing list
Perfect. We can be sure that it is not a privilege problem.

Can you show me which changes did you make to the /etc/sysconfig/network-scripts/ifcfg-eth0 file? Please, be as specific as possible.

Tomas Sarquis

unread,
Jun 23, 2023, 5:48:23 AM6/23/23
to Wazuh mailing list
Also, what's the output of systemctl status network.service ?

maha

unread,
Jun 23, 2023, 5:50:32 AM6/23/23
to Wazuh mailing list
I removed the old configurations and added this.

network.jpg

the wazuh-server is now running on the new IP, and I'm able visit the dashboard at new ip.

dashb.jpg

maha

unread,
Jun 23, 2023, 5:54:46 AM6/23/23
to Wazuh mailing list
this is  the output of systemctl status network.service
network 2.jpg

Tomas Sarquis

unread,
Jun 23, 2023, 6:09:12 AM6/23/23
to Wazuh mailing list
Is everything working well then? Did you manage to change the IP address?

maha

unread,
Jun 23, 2023, 6:23:36 AM6/23/23
to Wazuh mailing list
yes i changed the IP address. thank you

maha

unread,
Jun 23, 2023, 7:02:50 AM6/23/23
to Wazuh mailing list
but unable to restart wazuh-indexer

 indexer.jpg

Tomas Sarquis

unread,
Jun 23, 2023, 7:52:48 AM6/23/23
to Wazuh mailing list
This just happens after the network configuration?

What's the output of systemctl status wazuh-indexer.service ?

maha

unread,
Jun 26, 2023, 4:28:33 AM6/26/23
to Wazuh mailing list
This indexer was not starting even before the network configuration.

wazuh-1.jpg




Tomas Sarquis

unread,
Jun 26, 2023, 4:38:31 AM6/26/23
to Wazuh mailing list
Hi maha

So, you are telling me that the Wazuh image is not working out of the box? Without ANY configuration of yours?

Have you changed the virtual machine's hardware specifications?

maha

unread,
Jun 26, 2023, 6:09:42 AM6/26/23
to Wazuh mailing list

HI Tomas,

My network is behind a firewall. I think That might be the cause.
As per VM there were no changes done.

I'll talk to the firewall team and make few changes.

Thank You.

Tomas Sarquis

unread,
Jun 26, 2023, 6:50:19 AM6/26/23
to Wazuh mailing list
Okay, maha. The OVA image usually works well out of the box. It's very weird to have an error without any changes applied. So, it is very likely this error comes from an external source.

I'll be here for any other messages.

maha

unread,
Jul 3, 2023, 7:34:48 AM7/3/23
to Wazuh mailing list
Hi,

Update [SOLVED]

For Further Reference.
Disabling the Core Isolation in Device security solved it.


Thank You.
 core isloation.jpg

Reply all
Reply to author
Forward
0 new messages