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