• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Restore apache module settings in config files

Henryk

New Pleskian
Hi all,

Background
in the plesk admin pages I activated an apache module for testing.
I was wondering why the web page showed only 2 activated modules at that time (fcgid and sysenv).
After deactivation of the activated module plesk changed many config files and deactivated almost all modules for real.

Of course, Apache could not start anymore because many commands were unknown.
I could manually activate the modules based on the error messages up to a point where Apache starts but hangs without error message.

Now I'm lost...

Questions
How could I restore the default apache module settings mainly at /etc/httpd/conf.modules.d? plesk repair web did not change the files
I have a plesk server backup. Would that fix the apache config files? It does not contain the files itself.
However, the apache module settings must be stored in the database. Could I extract the settings from the sql dump, restore it and force plesk to rewrite the apache config files?

Any help is appreciated.
Henryk
 
Hi,
Information about Apache modules stored here in PSA database:
SQL:
select * from ServiceNodeEnvironment where section='webservice' and name='apache_modules_list'\G
It is stored as a JSON array, but it is possible to read.

Also, you can try to switch MPM Mode from Event to Prefork. It allows to start Apache service.

And 'plesk repair db' highlights missing modules
Let me know if any further assistance is required.
 
You can run the following in SSH terminal:

plesk repair web -server
This will regenerate the Apache configuration files in Linux.

Then, you want to double-check the configuration of Apache modules and validate the Apache configuration:

plesk repair web -apache-modules
and
plesk repair web -validate-configuration


I highly suggest everyone who encountered this issue to bookmark this documentation for future reference. Good luck!
 
Back
Top