Home » Categories » Multiple Categories

Web Browser Reports 330 Error Content Encoding

Problem Description

In rare circumstances you may come across the following error in your web browser when accessing one of the Nagios products:

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.

Error 330 (net::ERR_CONTENT_DECODING_FAILED): Unknown error.




The Apache web server requires zlib.output_compression to be configured to On in the /etc/php.ini file.

Execute the following command to open the file in vi:

vi /etc/php.ini

When using the vi editor, to make changes press i on the keyboard first to enter insert mode. Press Esc to exit insert mode.


To locate the line zlib.output_compression = type the following:

/output_compression =


This should take you directly to the line. Change the setting to On:

zlib.output_compression = On


When you have finished, save the changes in vi by typing:


and press Enter.


The last step is to restart the Apache service using one of the commands below:

RHEL 6 | CentOS 6 | Oracle Linux 6

service httpd restart


RHEL 7 | CentOS 7 | Oracle Linux 7

systemctl restart httpd.service


Ubuntu 14

service apache2 restart


Debian | Ubuntu 16/18

systemctl restart apache2.service



After the service has restarted the problem should no longer occur.



Final Thoughts

For any support related questions please visit the Nagios Support Forums at:


0 (0)
Article Rating (No Votes)
Rate this article
  • Icon PDFExport to PDF
  • Icon MS-WordExport to MS Word
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Nagios XI - HTTP 500 Error / White Screen After Login
Viewed 734 times since Mon, Feb 29, 2016
Nagios XI - SNMPTT Service generates Cannot find module errors
Viewed 782 times since Sun, Apr 9, 2017
Nagios Network Analyzer - Top 5 Talkers is not appearing for my device
Viewed 670 times since Wed, Apr 29, 2015
Viewed 921 times since Thu, Nov 16, 2017
Nagios XI - Configuration Verification Failed
Viewed 1978 times since Mon, Jan 25, 2016
Nagios Network Analyzer - Graph Says "No Data Available"
Viewed 864 times since Tue, Jan 27, 2015
Nagios XI - MK Livestatus Problems With Mod-Gearman
Viewed 769 times since Thu, Feb 25, 2016
Nagios Reactor - Update Check On Main Page Produces Error
Viewed 297 times since Thu, Jan 21, 2016
Nagios Log Server - Logstash not running after upgrade to 2.0
Viewed 592 times since Tue, Nov 14, 2017
Pages Not Displaying Correctly
Viewed 935 times since Mon, Jan 25, 2016