-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
Here is the solution once it has happened.
Why wazuh-manager service wont start on boot and can't be enabled.
The same happens on almalinux 9.2 (probably on most RHEL/CENTOS compatible OSes actually - as they are all systemd systems)
It would be so much nicer if we were told to 1st install chckconfig. As it can not be installed later once wazuh-manager with the first SysV scripts has been installed, without manual fixup and intervention.
I am including the actual output and errors that show when one tries to enable it in the hope that others having the issue will find this solution.
systemctl enable --now wazuh-manager
Synchronizing state of wazuh-manager.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable wazuh-manager
Failed to execute /usr/lib/systemd/systemd-sysv-install: No such file or directory
systemctl status wazuh-manager
wazuh-manager.service - Wazuh manager
Loaded: loaded (/usr/lib/systemd/system/wazuh-manager.service; disabled; preset: disabled)
dnf install chkconfig -y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : chkconfig-1.20-2.el9.x86_64 1/1
Error unpacking rpm package chkconfig-1.20-2.el9.x86_64
Verifying : chkconfig-1.20-2.el9.x86_64 1/1
Failed:
chkconfig-1.20-2.el9.x86_64
Error: Transaction failed
Metadata
Metadata
Assignees
Labels
No labels