• 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

Resolved all sites down, browser downloads a 0kb file called 'download'

Erwin Fiten

Basic Pleskian
Since this morning, all my sites are down, and download a 0kb file, instead of showing the index page.
This is for apache sites? the ones with nginx caching give a '502 Bad Gateway' error.

PLESK backend is working.

Plesk Onyx for Linux
Version 17.8.11 Update #60


Already did :
  • service nginx restart
  • service apache2 restart
  • service sw-engine restart && service sw-cp-server restart

Didn't restart the server yet, afraid of losing data (backup is 1 day old.

Anything I can do ?

NGINX example : https://www.dansstudiocrescendo.be/
APACHE example : https://www.greetreekmans.be/

Erwin
 
Have you tried:
Code:
plesk repair web

Also, anything interesting in /var/log/apache2/error.log?
 
did a repair without luck. Here are some parts from the errorlog :
[Tue Jul 16 06:55:33.001455 2019] [mpm_event:notice] [pid 6370:tid 140020597112896] AH00489: Apache/2.4.25 (Debian) mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.7.13 OpenSSL/1.0.2s configured -- resuming normal operations
[Tue Jul 16 06:55:33.001510 2019] [core:notice] [pid 6370:tid 140020597112896] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 16 08:51:42.468391 2019] [proxy_fcgi:error] [pid 31677:tid 140020304283392] [client 54.36.148.231:38618] AH01071: Got error 'Primary script unknown\n'
[Tue Jul 16 09:50:08.574919 2019] [mpm_event:notice] [pid 6370:tid 140020597112896] AH00491: caught SIGTERM, shutting down

[Tue Jul 16 09:50:09.111855 2019] [suexec:notice] [pid 26679:tid 140678207242304] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Jul 16 09:50:10.074302 2019] [:notice] [pid 26680:tid 140678207242304] mod_bw : Memory Allocated 0 bytes (each conf takes 48 bytes)
[Tue Jul 16 09:50:10.074378 2019] [:notice] [pid 26680:tid 140678207242304] mod_bw : Version 0.92 - Initialized [0 Confs]
[Tue Jul 16 09:50:10.076918 2019] [:error] [pid 26680:tid 140678207242304] python_init: Python version mismatch, expected '2.7.5+', found '2.7.13'.
[Tue Jul 16 09:50:10.077001 2019] [:error] [pid 26680:tid 140678207242304] python_init: Python executable found '/usr/bin/python'.
[Tue Jul 16 09:50:10.077007 2019] [:error] [pid 26680:tid 140678207242304] python_init: Python path being used '/usr/lib/python2.7:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Tue Jul 16 09:50:10.077030 2019] [:notice] [pid 26680:tid 140678207242304] mod_python: Creating 8 session mutexes based on 6 max processes and 25 max threads.
[Tue Jul 16 09:50:10.077035 2019] [:notice] [pid 26680:tid 140678207242304] mod_python: using mutex_directory /tmp

[Tue Jul 16 09:53:30.002874 2019] [mpm_event:notice] [pid 30962:tid 140412998979648] AH00489: Apache/2.4.25 (Debian) mod_fcgid/2.3.9 mod_python/3.3.1 Python/2.7.13 OpenSSL/1.0.2s configured -- resuming normal operations
[Tue Jul 16 09:53:30.002973 2019] [core:notice] [pid 30962:tid 140412998979648] AH00094: Command line: '/usr/sbin/apache2'
[Tue Jul 16 09:53:35.801141 2019] [proxy_fcgi:error] [pid 30972:tid 140412849112832] [client 138.68.9.54:39500] AH01071: Got error 'Primary script unknown\n'
[Tue Jul 16 09:53:38.033097 2019] [proxy_fcgi:error] [pid 30971:tid 140412731774720] [client 138.68.9.54:39910] AH01071: Got error 'Primary script unknown\n'
[Tue Jul 16 09:53:41.256662 2019] [proxy_fcgi:error] [pid 30972:tid 140412840720128] [client 138.68.9.54:40552] AH01071: Got error 'Primary script unknown\n'
[Tue Jul 16 09:53:42.825332 2019] [proxy_fcgi:error] [pid 30972:tid 140412832327424] [client 138.68.9.54:40874] AH01071: Got error 'Primary script unknown\n'
[Tue Jul 16 09:53:48.829624 2019] [mpm_event:notice] [pid 30962:tid 140412998979648] AH00491: caught SIGTERM, shutting down
 
OK, next thing to try:
Code:
plesk installer --select-release-current --reinstall-patch --upgrade-installed-components
 
I had custom settings in '/usr/local/psa/admin/conf/templates/custom/domain/nginxDomainVirtualHost.php' that I already disabed.
Did the latest update, as you requested, without luck :

Code:
Patching file (481 of 483) /usr/local/psa/admin/htdocs/javascript/jsw.min.js.map
Patching file (482 of 483) /usr/local/psa/admin/plib/PartnerCentral/ApiClient.php
Patching file (483 of 483) /usr/lib/plesk-9.0/postfix-local
All patches were applied.


Patches were installed successfully.

The changes were applied successfully.
 
I'd check /var/log/syslog or /var/log/messages for anything unusual ("failed", "error" etc.) as the next step.
Then you can also perform a "plesk repair all"
And finally, reboot your server.
 
Didn't find any significant errors inside the logs, so i restarted the server (after +350 days uptime), and it looks OK now.

Thanks !
 
Back
Top