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.

 

 

Resolution

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:

:wq

and press Enter.

 

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

 

RHEL 7 + | CentOS 7 + | Oracle Linux 7 +

systemctl restart httpd.service

 

Debian | Ubuntu 16/18/20

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:

http://support.nagios.com/forum/



Special Offer For Knowledgebase Visitors! Get a huge discount on Nagios Log Server by clicking below.

Get 60% Off Nagios Log Server!

Did you know? Nagios provides complete monitoring of: Windows, Linux, UNIX, Servers, Websites, SNMP, DHCP, DNS, Email, Storage, Files, Apache, IIS, EC2, and more!

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 - Optimizing The PHP Settings File
Viewed 64591 times since Thu, Jul 13, 2017
Nagios XI - STRICT_TRANS_TABLES
Viewed 7625 times since Thu, Nov 16, 2017
Nagios XI - Core 4 Load Spikes on 1.75 and 7 Hour Intervals
Viewed 4670 times since Mon, Jan 25, 2016
Nagios XI - MSSQL Wizards - Adaptive Server connection failed
Viewed 11666 times since Thu, Aug 3, 2017
CCM says unapplied changes exist, but none listed
Viewed 5913 times since Mon, Feb 27, 2017
Nagios XI - ERROR: unable to open include file: /etc/mrtg/conf.d/xxxxxxx.cfg
Viewed 8162 times since Wed, Jun 1, 2016
NDOUtils - Message Queue Exceeded
Viewed 16074 times since Thu, Jan 21, 2016
Nagios XI - Problems Using Nagios XI With Proxies
Viewed 13976 times since Mon, Jan 25, 2016
Nagios XI - Issues with mod_gearman and Performance Data Newlines: "\n"
Viewed 4255 times since Tue, Feb 2, 2016
Nagios Core - ERROR: Could not create or update nagios.configtest
Viewed 7930 times since Mon, Oct 16, 2017