Common errors on the Zabbix server Web side

Source: Internet
Author: User
Tags log log

Installation appears PHP option Max_input_time

Workaround: Change the two max_input_time = 60 in the php.ini file to 300


Installation appears PHP always_populate_raw_post_data on off

FIX: The cfrontendsetup.php file is modified to:


See:http://php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
*
* @return Array
*/
Public Function Checkphpalwayspopulaterawpostdata () {
$current = Ini_get (' Always_populate_raw_post_data ');
$current =-1;
Return Array (
' Name ' = _ (' PHP always_populate_raw_post_data '),
' Current ' = ($current! =-1)? _ (' on '): _ (' off '),
' Required ' = _ (' Off '),
' Result ' = ($current! =-1)? SELF::CHECK_FATAL:SELF::CHECK_OK,
' Error ' = _ (' PHP always_populate_raw_post_data must be set to-1. ')
);

}


650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M01/8E/7F/wKioL1jCRmrgktiFAAL56lbc45E260.png-wh_500x0-wm_ 3-wmp_4-s_4096719059.png "title=" ' 2h5t%4jks (1s4]lc1a@8u5.png "alt=" wkiol1jcrmrgktifaal56lbc45e260.png-wh_50 "/ >

Next

Connecting to a database

vi/usr/local/zabbix/etc/zabbix_agentd.conf change Hostnsame=zabbix server to hostname= native IP or host name

VI/USR/LOCAL/ZABBIX/ETC/ZABBIX_AGENTD.CONF basic configuration unchanged, dbpasswd= changed to dbpasswd = MySQL database password

650) this.width=650; "Src=" https://s5.51cto.com/wyfs02/M00/8E/7F/wKioL1jCRn-Tq8vDAAKNrV-MLjc848.png-wh_500x0-wm_ 3-wmp_4-s_2868117917.png "title="}lg@l3[@w%} '}uzi3 ' Pma_1.png "alt=" wkiol1jcrn-tq8vdaaknrv-mljc848.png-wh_50 "/ >


Next


650) this.width=650; "Src=" https://s1.51cto.com/wyfs02/M02/8E/7F/wKioL1jCRsTxid6wAAHHmkw9fKQ117.png-wh_500x0-wm_ 3-wmp_4-s_2543982162.png "title=" Z95~s1}b5$b3 (f6r4{aqfpl.png "alt=" wkiol1jcrstxid6waahhmkw9fkq117.png-wh_50 "/ >

Login name/password: Admin/zabbix


Login successful display Zabbix sever not running and viewing/tmp/zabbix_server.log log file display

1576:20170307:071712.529 database is down:reconnecting in seconds

1576:20170307:071722.529 [Z3001] connection to database ' Zabbix ' failed: [2002] Can ' t connect to local MySQL server Throug H socket '/var/lib/mysql/mysql.sock '

Obviously '/var/lib/mysql/mysql.sock ' does not exist, default Mysql.sock in/tmp, create a soft link, mysql.sock point to/var/lib/mysql/mysql.sock: ln-s/tmp/ Mysql.sock/var/lib/mysql/mysql.sock












This article is from the "12271750" blog, please be sure to keep this source http://12281750.blog.51cto.com/12271750/1905130

Common errors on the Zabbix server Web side

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.