Zabbix logon page error Solution

Source: Internet
Author: User

ZabbixLogin PageErrorThe specific solution is as follows!

After running Zabbix normally for a long time, I suddenly opened the zabbix homepage one day and found an error on the homepage.

[ERROR: Database upted, missed default user 'guest ']

Ignore the error and log on with the normal account and password. The page crashes.

Fatal error: Maximum execution time of 300 seconds exceeded in/var/www/admin_site/htdocs/zabbix/include/config. inc. php on line 342

The number of Zabbix serer processes remains unchanged (23). However, the number of connections generated by zabbix server is much less than that of the server, reducing the number of close wait links from about 200 time wait links to several close wait links.

Restart zabbix. the problem persists.

Solution Process

After investigation, I had restarted mysql at the time of the problem. I suspect that the database may be damaged due to the restart of MySQL.

Further Check: all databases and tables in the MySQL database are found to be disconnected from all innodb databases (not just the Zabbix database) and cannot be accessed. An error is returned: [ERROR]/usr/local/mysql/bin/mysqld: Incorrect information in file :'. /db/table. frm '. While MyISAM tables are good, basically locking is a problem caused by Innodb parameter adjustment.

Recalling the operation at that time, because the system was upgraded with 2 GB of memory, I had manually modified my. cnf and adjusted the innodb parameter.

# Before modification:

 
 
  1. innodb_buffer_pool_size = 400M  
  2.  
  3. innodb_log_file_size = 40M  
  4.  

# After modification:

 
 
  1. innodb_buffer_pool_size = 1G  
  2.  
  3. innodb_log_file_size = 128M  
  4.  

After searching for information on the Internet, find the reason because innodb_log_file_size has changed. The system finds the original log file and is overwhelmed, and the result fails.

The solution is also very simple. Just delete the ib_logfile * under the data Directory (I am here ib_logfile0 and ib_logfile1) and then start mysql and let it re-build on its own.

After reading the above article, I believe everyone has found out the cause of the error on the Zabbix login page. It will be difficult to encounter such an error in the future!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.