• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Plesk 11.0.9 - unable to view log files in panel

XAMeLeOH

New Pleskian
[SOLVED] Plesk 11.0.9 - unable to view log files in panel

Dear support team,

I unable to see site log files (access_log or error_log). The panel opens a new empty window with no record. In /var/log/sw-cp-server/error_log I got this:
2013-05-24 14:54:14: (mod_fastcgi.c.2746) FastCGI-stderr: PHP Fatal error: Call to undefined function gzopen() in /opt/psa/admin/htdocs/domains/logs/log_file_viewer.php on line 59

I've checked for compression modules
# /usr/bin/sw-engine-cgi -m | grep ^z
zip
zlib

After this I tried to run script with gzopen by sw-engine-cgi:
/usr/bin/sw-engine-cgi -a << EOF
<?php
var_dump(gzopen("/dev/null", "r"));
EOF
Result is:
Interactive mode enabled

X-Powered-By: PHP/5.3.10
Content-type: text/html

<br />
<b>Fatal error</b>: Call to undefined function gzopen() in <b>-</b> on line <b>2</b><br />

At the same time original php works well:
# php -r 'var_dump(gzopen("/dev/null", "r"));'
resource(5) of type (stream)

Can you please give me solution or any workaround?
 
Last edited:
Back
Top