You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
For unknown reasons, on one of our servers, /etc/systemd/system contained a "httpd.service" file. In that file some service properties of Apache were defined, like
[Service]
EnvironmentFile=/etc/sysconfig/httpd
This worked well with the existing Apache installation. But during the centos2alma conversion, Apache is replaced by a new version, and the EnvironmentFile entry was no longer valid. This lead to a situation where Apache entered an auto-restart rotation and failed to start over and over and over again. The problem with that situation for a user is, that an error message like "Environment file not found" is logged to /var/log/messages, but where is that file defined? Well, it was defined in a superfluous /etc/systemd/system/httpd.service file.
Describe the solution you'd like
We propose to pre-check the existence of /etc/systemd/system/httpd.service, but also entries in /etc/systemd/system/httpd.service.d. An informative message should be displayed to a user, telling the user that these files might contain settings that will discontinue to work with a new Apache installation.
Describe alternatives you've considered
n/a
The text was updated successfully, but these errors were encountered:
As far as I can tell, EnvironmentFile=/etc/sysconfig/httpd in httpd.service configuration is fine for a standard Plesk installation. After the conversion process, this value should not be present in the httpd.service file because the file should be substituted with the new version. Unless the file was manually modified on the CentOS 7 side.
Maybe httpd.service was customized before the conversion? Don't you have /etc/systemd/system/httpd.service.rmpnew on the server?
Is your feature request related to a problem? Please describe.
For unknown reasons, on one of our servers, /etc/systemd/system contained a "httpd.service" file. In that file some service properties of Apache were defined, like
[Service]
EnvironmentFile=/etc/sysconfig/httpd
This worked well with the existing Apache installation. But during the centos2alma conversion, Apache is replaced by a new version, and the EnvironmentFile entry was no longer valid. This lead to a situation where Apache entered an auto-restart rotation and failed to start over and over and over again. The problem with that situation for a user is, that an error message like "Environment file not found" is logged to /var/log/messages, but where is that file defined? Well, it was defined in a superfluous /etc/systemd/system/httpd.service file.
Describe the solution you'd like
We propose to pre-check the existence of /etc/systemd/system/httpd.service, but also entries in /etc/systemd/system/httpd.service.d. An informative message should be displayed to a user, telling the user that these files might contain settings that will discontinue to work with a new Apache installation.
Describe alternatives you've considered
n/a
The text was updated successfully, but these errors were encountered: