Remove apache from checkmk 1.4.1

Hi,

I wanted to removed the Apache from the checkMK and uninstall the Apache. I tried uninstall apache httpd RPM but it was giving error saying that Apache RPM is used by ChcekMK RPM.Please let me know the steps to remove the Apache or uninstall the Apache.

Thanks
Subbu.

Hi ,

Please let me know if any one tried to remove the Apache from CheckMK .

Thanks

No, I have never tried this. And I don’t think it is supported.

1 Like

You asked a similar question some time ago and we suggested updating apache and checkmk. Didn’t that work?

However, to answer your current question: No, I haven’t tried to uninstall Apache and I doubt anyone has. It’s for a reason that the RPM package of checkmk lists Apache as a dependency. It’s because, well, checkmk depends on it.

But you can ignore all these checks and break the dependency, presumably also break your checkmk installation. If this is what you want to risk, then try

rpm --erase --no-deps apache

Before doing so, I’d try to stop and disable all Apache instances and see if your checkmk installation is stil usable without GUI. To do so, run

su - SITENAME
omd stop 
omd config set APACHE_MODE none
omd start
exit

systemctl stop apache2.service
systemctl disable apache2.service

Now no apache instance will be running and it’s quite easy to undo these steps.

Please let us know how your checkmk is now behaving.

1 Like

Thanks you so much

i followed same steps .1 erased the apache RPM
rpm -e --nodeps httpd
rpm -e --nodeps httpd-filesystem-2.4.35-5.el7.noarch
rpm -e --nodeps httpd-tools-2.4.35-5.el7.x86_64
then did the below configs.
su - SITENAME
omd stop
omd config set APACHE_MODE none
omd start
exit

Checkmk is working as usually. Surprisingly no issues are observed.

I’d try rebooting your checkmk host before getting too excited.

2 Likes