we have upgraded os version from rocky 7 to rocky 9, but apache webservice is failing with below reason.
░░ The job identifier is 12145.
Oct 29 17:00:13 ip-10-49-96-36.bfsnpss.bfsaws.net httpd[31413]: httpd: Syntax error on line 156 of /etc/httpd/conf/httpd.conf: Syntax error on line 3 of /etc/httpd/sites-enabled/siteminder.conf: Cannot load /opt/CA/webagent/bin/libmod_sm24.so into server: libsmerrlog.so: cannot open shared object file: No such file or directory
░░ Subject: Unit process exited
░░
░░ An ExecStart= process belonging to unit httpd.service has exited.
░░
This is not something provided by Rocky, so if you are using this application or whatever it is, ask that vendor for assistance as it looks like their app/plugin is the problem. They need to provide one that supports Rocky 9. Otherwise, disable the module in the Apache config
find line 156 and comment/delete it to disable the module or disable the config file siteminder.conf
You have a Siteminder agent configured for your webserver, but that specific agent version is not present on the machine.
Either you need to install the right version of Siteminder, or if you have it installed but it’s a newer version ('cos of upgrading) then you need to point to the right agent files.
One has to note that the only supported way to upgrade is:
Fresh install of Rocky 9
Install necessary applications
Deploy appropriate config for the new versions of applications
Transfer user data
If that “siteminder” is crucial for the security of the service (website), then it is a good thing that Apache does not start without it.
If there is no “siteminder” for Rocky 9, then the website has to be changed to use some alternative that provides required functionality. (That is part of the necessary applications and appropriate config.)