• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved Problem with Apache

H.W.B

Regular Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
Version 18.0.52 Update #3
Hello,
My apache stops working.
I got the following errors...

Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2023-05-27 23:22:42.016] 66557:647274a202774 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2023-05-27 23:22:42.180] 66557:647274a202774 ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache-config' '-t'] with exit code [1]
[2023-05-27 23:22:42.190] 66557:647274a202774 ERR [panel] Apache config (16852225610.49287000) generation failed: Template_Exception: AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/info.conf:
Unknown Authz provider: local

file: /opt/psa/admin/plib/Template/Writer/Webserver/Abstract.php
line: 75
code: 0
AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/info.conf:
Unknown Authz provider: local

The webserver configuaration Troubleshooter can not repair this.
Also the Apache Errorlog does not show errors because apache is not running.

Does anybody know how to solve this??

Henk
 
If you read the warning it says it right there

[2023-05-27 23:22:42.190] 66557:647274a202774 ERR [panel] Apache config (16852225610.49287000) generation failed: Template_Exception: AH00526: Syntax error on line 9 of /etc/apache2/mods-enabled/info.conf:
Unknown Authz provider: local
Are you putting in custom mods? From the looks like you're not using standard configurations that Plesk provides either.

What you can do is re-generate all the configuration files using the follow command:

Bash:
plesk repair web

This will regenerate the configuration files for the web server and all domains.
 
@H.W.B An authentication provider module was disabled in Apache. You can try to
Code:
# a2enmod authz_host authz_user
# service apache2 restart
 
Hello Peter

Here is the result of you suggestion :

root@plesk:~# a2enmod authz_host authz_user
Considering dependency authz_core for authz_host:
Module authz_core already enabled
Enabling module authz_host.
Considering dependency authz_core for authz_user:
Module authz_core already enabled
Enabling module authz_user.
To activate the new configuration, you need to run:
systemctl restart apache2

root@plesk:~# service apache2 restart
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.
root@plesk:~# systemctl restart apache2
Job for apache2.service failed because the control process exited with error code.
See "systemctl status apache2.service" and "journalctl -xeu apache2.service" for details.

root@plesk:~# systemctl status apache2.service
× apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2023-05-28 09:12:44 CEST; 1min 11s ago
Docs: Apache HTTP Server Version 2.4 Documentation - Apache HTTP Server Version 2.4
Process: 196944 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
CPU: 290ms

May 28 09:12:44 plesk.henkbartels.company systemd[1]: Starting The Apache HTTP Server...
May 28 09:12:44 plesk.henkbartels.company apachectl[196948]: AH00526: Syntax error on line 25 of /etc/apache2/plesk.conf.d/server.conf:
May 28 09:12:44 plesk.henkbartels.company apachectl[196948]: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
May 28 09:12:44 plesk.henkbartels.company apachectl[196944]: Action 'start' failed.
May 28 09:12:44 plesk.henkbartels.company apachectl[196944]: The Apache error log may have more information.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
May 28 09:12:44 plesk.henkbartels.company systemd[1]: apache2.service: Failed with result 'exit-code'.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: Failed to start The Apache HTTP Server.

root@plesk:~# journalctl -xeu apache2.service
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 17264.
May 28 09:12:27 plesk.henkbartels.company apachectl[196938]: AH00526: Syntax error on line 25 of /etc/apache2/plesk.conf.d/server.conf:
May 28 09:12:27 plesk.henkbartels.company apachectl[196938]: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
May 28 09:12:27 plesk.henkbartels.company apachectl[196934]: Action 'start' failed.
May 28 09:12:27 plesk.henkbartels.company apachectl[196934]: The Apache error log may have more information.
May 28 09:12:27 plesk.henkbartels.company systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
May 28 09:12:27 plesk.henkbartels.company systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
May 28 09:12:27 plesk.henkbartels.company systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit apache2.service has failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ A start job for unit apache2.service has finished with a failure.
░░
░░ The job identifier is 17264 and the job result is failed.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: Starting The Apache HTTP Server...
░░ Subject: A start job for unit apache2.service has begun execution
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ A start job for unit apache2.service has begun execution.
░░
░░ The job identifier is 17379.
May 28 09:12:44 plesk.henkbartels.company apachectl[196948]: AH00526: Syntax error on line 25 of /etc/apache2/plesk.conf.d/server.conf:
May 28 09:12:44 plesk.henkbartels.company apachectl[196948]: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration
May 28 09:12:44 plesk.henkbartels.company apachectl[196944]: Action 'start' failed.
May 28 09:12:44 plesk.henkbartels.company apachectl[196944]: The Apache error log may have more information.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: apache2.service: Control process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ An ExecStart= process belonging to unit apache2.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: apache2.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
May 28 09:12:44 plesk.henkbartels.company systemd[1]: Failed to start The Apache HTTP Server.
░░ Subject: A start job for unit apache2.service has failed
░░ Defined-By: systemd
░░ Support: Enterprise open source support | Ubuntu
░░
░░ A start job for unit apache2.service has finished with a failure.
░░
░░ The job identifier is 17379 and the job result is failed.
lines 3097-3162/3162 (END)

Any other suggestions??

Henk
 
If you read the warning it says it right there


Are you putting in custom mods? From the looks like you're not using standard configurations that Plesk provides either.

What you can do is re-generate all the configuration files using the follow command:

Bash:
plesk repair web

This will regenerate the configuration files for the web server and all domains

Hello scsa20
The repair function can not repair this.
Henk
 
This is now a different error. Previously it was about a missing Authz module, now the new issue is

Syntax error on line 25 of /etc/apache2/plesk.conf.d/server.conf:
Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

What was changed on the Apache web server before that modules are missing? Did you manually update, add or remove any Apache packages or did you do any other system updates that changed such modules as dependencies?

Please check the file
/etc/httpd/conf.modules.d/00-base.conf
and activate all modules mentioned in that file. Then restart web server.
 
Hello,
Thank you for your help.
Problem was not resolved, so i had to reinstall the server completly. Luckely it was only 1 day old, so there was no domains etc on it.
Henk
 
Back
Top