UnS3eN
Basic Pleskian
- Server operating system version
- AlmaLinux 9.6
- Plesk version and microupdate number
- 18.0.74
Keep getting an Apache error and can't seem to figure out how to fix it:
httpd -t returns Syntax OK
Trying to start the service returns exit code 1 with no explanation
When trying to repair a domain:
This bit of code is the only clue
But the file seems to be either encrypted or corrupted as trying to cat it returns binary "garbage"
Currently spinning up a fresh VM to install clean plesk in case I need a donor
Code:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Can not restart web server: apache_control_adapter[1133370]: Apache is down, start it instead of gracefulapache_control_adapter[1133370]: apache_action(graceful): invoke_httpd_action failed, trying second timeapache_control_adapter[1133370]: Apache is down, start it instead of gracefulINFO: [Fri Nov 14 13:25:22 GMT 2025]: Service: apache, Action: start Trying to start service httpd... activating***** problem report *****Warning: start service httpd failed/usr/local/psa/admin/sbin/pleskrc execution failed:Job for httpd.service failed because the control process exited with error code.See "systemctl status httpd.service" and "journalctl -xeu httpd.service" for details.. Detailed error descriptions were sent to you by email. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
httpd -t returns Syntax OK
Trying to start the service returns exit code 1 with no explanation
When trying to repair a domain:
Code:
# plesk repair web -y domain.tld
Checking web server configuration. Please wait
Repairing web server configuration for the domain domain.tld .... [2025-11-14 13:57:10.894] 1145096:69173527c30ea ERR [util_exec] proc_close() failed ['/usr/local/psa/admin/bin/httpdmng' '--reconfigure-domain' 'domain.tld'] with exit code [1]
[FAILED]
- httpdmng failed: [2025-11-14 13:57:09.868]
1145102:691735281ace6 ERR [util_exec] proc_close() failed
['/usr/local/psa/admin/bin/apache_control_adapter' '--restart'
'--restart-interval' '0' '--http-port' '7080' '--https-port'
'7081' '--graceful'] with exit code [255]
[2025-11-14 13:57:10.798] 1145102:691735281ace6 ERR [panel]
Apache config (17631286160.02739900) generation failed:
Template_Exception: Can not restart web server:
apache_control_adapter[1145165]: Apache is down, start it
instead of graceful
apache_control_adapter[1145165]: apache_action(graceful):
invoke_httpd_action failed, trying second time
apache_control_adapter[1145165]: Apache is down, start it
instead of graceful
INFO: [Fri Nov 14 13:57:04 GMT 2025]: Service: apache, Action:
start
Trying to start service httpd... activating
***** problem report *****
Warning: start service httpd failed
/usr/local/psa/admin/sbin/pleskrc execution failed:
Job for httpd.service failed because the control process exited
with error code.
See "systemctl status httpd.service" and "journalctl -xeu
httpd.service" for details.
file:
/usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 149
code: 0
Can not restart web server: apache_control_adapter[1145165]:
Apache is down, start it instead of graceful
apache_control_adapter[1145165]: apache_action(graceful):
invoke_httpd_action failed, trying second time
apache_control_adapter[1145165]: Apache is down, start it
instead of graceful
INFO: [Fri Nov 14 13:57:04 GMT 2025]: Service: apache, Action:
start
Trying to start service httpd... activating
***** problem report *****
Warning: start service httpd failed
/usr/local/psa/admin/sbin/pleskrc execution failed:
Job for httpd.service failed because the control process exited
with error code.
See "systemctl status httpd.service" and "journalctl -xeu
httpd.service" for details.
Checking php-fpm configuration
Repairing php-fpm configuration for the domain domain.tld ....... [OK]
Error messages: 0; Warnings: 0; Errors resolved: 0
[2025-11-14 13:57:13.673] 1145096:69173527c30ea ERR [panel] Malformed UTF-8 characters, possibly incorrectly encoded
exit status 1
Code:
# journalctl -xeu httpd.service
Nov 14 13:51:11 vl-plesk3.localdomain systemd[1]: httpd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Nov 14 13:51:11 vl-plesk3.localdomain systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit httpd.service has failed
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ A start job for unit httpd.service has finished with a failure.
░░
░░ The job identifier is 1542110 and the job result is failed.
Nov 14 13:51:16 vl-plesk3.localdomain systemd[1]: httpd.service: Scheduled restart job, restart counter is at 7205.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ Automatic restarting of the unit httpd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
Nov 14 13:51:16 vl-plesk3.localdomain systemd[1]: Stopped The Apache HTTP Server.
░░ Subject: A stop job for unit httpd.service has finished
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ A stop job for unit httpd.service has finished.
░░
░░ The job identifier is 1542322 and the job result is done.
Nov 14 13:51:16 vl-plesk3.localdomain systemd[1]: Starting The Apache HTTP Server...
░░ Subject: A start job for unit httpd.service has begun execution
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ A start job for unit httpd.service has begun execution.
░░
░░ The job identifier is 1542322.
Nov 14 13:51:17 vl-plesk3.localdomain systemd[1]: httpd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ An ExecStart= process belonging to unit httpd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
Nov 14 13:51:17 vl-plesk3.localdomain systemd[1]: httpd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ The unit httpd.service has entered the 'failed' state with result 'exit-code'.
Nov 14 13:51:17 vl-plesk3.localdomain systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit httpd.service has failed
░░ Defined-By: systemd
░░ Support: https://wiki.almalinux.org/Help-and-Support
░░
░░ A start job for unit httpd.service has finished with a failure.
░░
░░ The job identifier is 1542322 and the job result is failed.
This bit of code is the only clue
Code:
file:
/usr/local/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 149
code: 0
But the file seems to be either encrypted or corrupted as trying to cat it returns binary "garbage"
Currently spinning up a fresh VM to install clean plesk in case I need a donor