Running Web Agent 12.52SP1CR11 and it seems it doesn't support restart with Apache 2.4.46, even if documentation states that it is supported (1)(2).
More, the Apache version is higher than 2.4.27 (3).
Web Agent 12.52SP1CR11 on Apache 2.4.46;
Upgrade to Web Agent 12.52SP1CR12 when this one will be available.
Note that the fix will apply only to Apache 2.4.27 version and above. For lower Apache versions, Apache server should have restart_pending symbol (3).
(1)
Need Apache-based Web Agent to Support a Restart Option (CQ155242)
Symptom:
An enhancement request to support a restart option on the Apache-based servers was received.
Solution:
This issue is fixed.
STAR Issue # 20919250:01
(2)
Defects Fixed in 12.52 SP1 CR01
21601916-01 85711 When doing a restart or graceful restart of an
Apache web server on Red Hat Linux 5.3, the system hangs and an error
occurs. The Web Agent does not handle these restarts properly.
(3)
When doing Apache graceful restart, Web Agent reports error "PID Cache error"