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/

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 - Notifications Not Sending In XI 5.3.0
Viewed 3105 times since Tue, Oct 4, 2016
Nagios XI - Warning: Duplicate definition found for contact ’xi_default_contact’
Viewed 3318 times since Tue, Jan 26, 2016
Nagios XI - ERROR: unable to open include file: conf.d/*.cfg
Viewed 3740 times since Sun, May 29, 2016
Nagios XI - Installing XI Fails To Install Dependency pymssql
Viewed 3946 times since Mon, Oct 17, 2016
Nagios XI - SNMPTT Service generates Cannot find module errors
Viewed 3864 times since Sun, Apr 9, 2017
Nagios XI - Ajaxterm Installation Aborted
Viewed 2663 times since Tue, Jan 26, 2016
Nagios XI - Error while converting SVG
Viewed 2604 times since Thu, Aug 3, 2017
Nagios XI - Reset Upgrade Status In Web Interface
Viewed 7225 times since Tue, May 7, 2019
Forwarding Logs from Nagios Log Server to Another Destination
Viewed 2896 times since Wed, Sep 16, 2020
Nagios XI - Profile Build Failed
Viewed 8334 times since Tue, Aug 2, 2016