• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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 HTTP ERROR 500 and PHP Fatal error: Corrupted file in Unknown on line 0

urbanstudio

New Pleskian
After Upgrade from plesk Onyx to latest Plesk Obsidian yesterday the panel shows a blank page which is caused by a HTTP 500 error.

Tailing the Panel log shows following:

Code:
root@drgserver:~# tail -fn0 /var/log/plesk/panel.log
[02-Oct-2019 08:38:18 Europe/Berlin] PHP Fatal error:  Corrupted file in Unknown on line 0
[02-Oct-2019 08:38:18 Europe/Berlin] PHP Fatal error:  Corrupted file in Unknown on line 0
[02-Oct-2019 08:38:18 Europe/Berlin] PHP Fatal error:  Corrupted file in Unknown on line 0
[02-Oct-2019 08:38:20 Europe/Berlin] PHP Fatal error:  Corrupted file in Unknown on line 0

Trying to repair installation results in no error, but the PHP ERROR on accessing the panel is still theres
Code:
 plesk repair installation
Also complete repair was successful itself, but the ERROR from top of this message is still there.
Code:
 plesk repair all

Any suggestions?
 
Do you have any error messages in the output of commands like

# /usr/local/psa/admin/bin/php -m
# /usr/local/psa/admin/bin/php -v

?
 
no, this commands do not result in error:

Code:
root@drgserver:~# /usr/local/psa/admin/bin/php -m
[PHP Modules]
aps_php
Core
ctype
curl
date
dom
fileinfo
filter
ftp
gd
gettext
hash
iconv
imap
intl
json
libxml
lock_manager
mbstring
mysqli
mysqlnd
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
posix
psamisc
Reflection
session
SimpleXML
soap
sockets
SPL
sqlite3
standard
swkey
sysvshm
tokenizer
uuid
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
Code:
root@drgserver:~# /usr/local/psa/admin/bin/php -v
PHP 7.3.5 (cli) (built: Jul 19 2019 15:13:35) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.5, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.5, Copyright (c) 1999-2018, by Zend Technologies
 
Have you tried to restart sw-engine and sw-cp-server services? Any errors?
 
Have you checked

/var/log/sw-cp-server/error_log
/var/log/sw-cp-server/sw-engine.log

?
 
Content of /var/log/sw-cp-server/error_log
Code:
2019/09/30 01:56:34 [error] 7165#0: *7601 open() "/opt/psa/admin/htdocs/sitemap.xml" failed (2: No such file or directory), client: 71.6.199.23, server: , request: "GET /sitemap.xml HTTP/1.1", host: "151.252.57.$
2019/09/30 01:56:36 [error] 7165#0: *7602 open() "/opt/psa/admin/htdocs/.well-known/security.txt" failed (2: No such file or directory), client: 71.6.199.23, server: , request: "GET /.well-known/security.txt HTT$
2019/10/01 17:30:58 [notice] 17003#0: signal process started
2019/10/02 08:33:35 [notice] 16690#0: signal process started
Content of /var/log/sw-cp-server/sw-engine.log
Code:
[02-Oct-2019 11:02:54] NOTICE: Terminating ...
[02-Oct-2019 11:02:54] NOTICE: exiting, bye-bye!
[02-Oct-2019 11:02:55] NOTICE: fpm is running, pid 385
[02-Oct-2019 11:02:55] NOTICE: ready to handle connections
[02-Oct-2019 11:02:55] NOTICE: systemd monitor interval set to 10000ms
 
Ok, wait!
We found out, that one HDD on the server seems to be corrupted. We now replacing the HDD with a new one and will do a repair afterwards.

I get back if done so.
 
Thanks for your help!

The Issue was caused by a corrupted HDD in the Server.
After replacing the HDD and running the repair again all worked fine!

Sorry for the inconvinience...
 
Back
Top