THIS KNOWLEDGE BASE HAS BEEN ARCHIVED AND IS NO LONGER BEING UPDATED
Please visit library.nagios.com/docs for the latest and most up-to-date documentation.
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 - Installing XI Fails To Install Dependency pymssql
Viewed 9878 times since Mon, Oct 17, 2016
Nagios XI - How To Test Check Commands From The Command-line
Viewed 53537 times since Tue, Jan 26, 2016
Nagios Log Server - License Activation Issues
Viewed 5984 times since Wed, Dec 13, 2017
Nagios XI - Upgrade errors - root.crontab.orig: cannot overwrite existing file
Viewed 5495 times since Tue, Jan 26, 2016
Nagios Core - Nagios service does not start - Error processing object config files!
Viewed 33697 times since Thu, Jan 21, 2016
Nagios XI - Hosts Pending/Gray
Viewed 13221 times since Tue, Jan 6, 2015
Nagios XI - Running Out Of Disk Space On The Nagios XI VM
Viewed 26482 times since Tue, Jan 27, 2015
Nagios XI - Scheduled Reports Not Running
Viewed 6828 times since Thu, Aug 10, 2017
Nagios Log Server - Newline Character Added When Adding A Filter To A Search
Viewed 6362 times since Wed, Apr 27, 2016
Turning Off PHP Notices and Deprecated Messages
Viewed 5597 times since Wed, Oct 20, 2021