• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2023-03-13 18:37:56] ERR [util_exec] proc_close() failed ['/opt/psa

namecaps

New Pleskian
Hi All,

I'm relatively new to Plesk, and have basic CLI skills.

The company I work with has recently inherited some older Rackspace Cloud Servers running Debian 7.11 and Plesk Onyx 17.5.3.

Rackspace Cloud Backups weren't working, which required me to run a bunch of commands via SSH. Some errored, some didn't, but we got there in the end and the Cloud Backups are now running successfully. BUT it's possible (not certain!) that in my efforts to get the backups working I might have caused/triggered the following issue:

--------------------
Error: Can not reconfigure web server configurations: Unable to execute httpdmng: [2023-03-13 18:37:56] ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/apache_control_adapter' '--restart' '--restart-interval' '0' '--http-port' '80' '--https-port' '443'] with exit code [255]
[2023-03-13 18:37:57] ERR [panel] Apache config (16787037420.74631200) generation failed: Template_Exception: Can not restart web server: httpd stop failed
12 /usr/sbin/apache2 processes are killed
0 ../lib/apache2/mpm-prefork/apache2 processes are killed

file: /opt/psa/admin/plib/Service/Driver/Web/Server/Apache.php
line: 109
code: 0
Can not restart web server: httpd stop failed
12 /usr/sbin/apache2 processes are killed
0 ../lib/apache2/mpm-prefork/apache2 processes are killed
--------------------

NOTE: the above represent progress after I FIRST experienced this issue:


I followed the Resolution instructions in the above article (to comment out LoadModule python_module /usr/lib/apache2/modules/mod_python.so), which then allowed me to restart Apache successfully, which I wasn't able to do.

But now I can't get past the error I've reported above, and running plesk repair web fails with the above errors. But I am able to restart the web server from the CLI.

Any help to resolve this issue would be much appreciated!
 
p.s. When I do 'successfully' restart Apache I get this:

root@pl2:/etc/apache2/plesk.conf.d# service apache2 restart
[....] Restarting web server: apache2[Mon Mar 13 19:12:17 2023] [notice] Digest: generating secret for digest authentication
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
[Mon Mar 13 19:12:17 2023] [notice] Digest: generating secret for digest authentication
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
Warning: DocumentRoot [/var/www/vhosts/<client_url>/httpdocs/public_html] does not exist
. ok
root@pl2:/etc/apache2/plesk.conf.d#
 
I can't help but think that his is part of the problem too:

E: Some index files failed to download. They have been ignored, or old ones used instead.

Command '/bin/bash < /tmp/tmpZ6DEqL/aum' returned non-zero exit status 1

Unable to download tortix rule set

Failed to get D-Bus connection: No connection to service manager.

Failed to get D-Bus connection: No connection to service manager.

/bin/systemctl: invalid option -- 'l'
 
I know that we're booting into Init, and yet "Failed to get D-Bus connection" is associated with systemd.

So all very mixed up, not sure how to resolve.
 
Back
Top