Hi, All
I encountered some problem when I deploy zabbix 2.0 with offical documents.
Please help to check and analysis.
#cd /usr/local/src
#wget http://downloads.sourceforge.net/pro...dnetworks-kr-2
#tar -zxvf zabbix-2.0.0.tar.gz
#groupadd zabbix
#useradd -g zabbix zabbix
#mysql -uroot -p123456
mysql>create database zabbixdb;
mysql>insert into mysql.user(Host,User,Password) values('localhost','zabbixuser',password('123456') );
mysql>grant all on zabbixdb.* to 'zabbixuser'@'%' identified by '123456' with grant option;
mysql>flush privileges;
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/schema.sql
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/data.sql
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/images.sql
mysql>flush privileges;
mysql>exit;
#mkdir /usr/local/nginx/html/zabbix
#cp -R /usr/local/src/zabbix-2.0.0/frontends/php/* /usr/local/nginx/html/zabbix/
#chown www. -R /usr/local/nginx/html/zabbix
#chmod 700 -R /usr/local/nginx/html/zabbix
#vi /etc/php.ini
memory_limit = 256M
post_max_size = 32M
max_execution_time = 600
#cd /usr/local/src/zabbix-2.0.0
#./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl
#make install
#vi /usr/local/etc/zabbix_server.conf
DBName=zabbixdb
DBUser=zabbixuser
DBPassword=123456
#cp /usr/local/src/zabbix-2.0.0/misc/init.d/red hat/zabbix_agentd_ctl /etc/init.d/
#cp /usr/local/src/zabbix-2.0.0/misc/init.d/red hat/zabbix_server_ctl /etc/init.d/
#cd /usr/local/sbin/
#zabbix_server -c /usr/local/etc/zabbix_server.conf
#cd /etc/init.d/
#./zabbix_server_ctl start
END
when I open the http://132.160.160.31/zabbix/ (this's my local machine), I found the zabbix server no running.
I can use the commond "mysql -uzabbixuser -p123456" login the mysql successfully.
The iptables has permit 10050/10051 tcp/udp ports.
By the way, the server is running cacti normal.
What should I check when I do these operations.
I encountered some problem when I deploy zabbix 2.0 with offical documents.
Please help to check and analysis.
#cd /usr/local/src
#wget http://downloads.sourceforge.net/pro...dnetworks-kr-2
#tar -zxvf zabbix-2.0.0.tar.gz
#groupadd zabbix
#useradd -g zabbix zabbix
#mysql -uroot -p123456
mysql>create database zabbixdb;
mysql>insert into mysql.user(Host,User,Password) values('localhost','zabbixuser',password('123456') );
mysql>grant all on zabbixdb.* to 'zabbixuser'@'%' identified by '123456' with grant option;
mysql>flush privileges;
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/schema.sql
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/data.sql
mysql>source /usr/local/src/zabbix-2.0.0/database/mysql/images.sql
mysql>flush privileges;
mysql>exit;
#mkdir /usr/local/nginx/html/zabbix
#cp -R /usr/local/src/zabbix-2.0.0/frontends/php/* /usr/local/nginx/html/zabbix/
#chown www. -R /usr/local/nginx/html/zabbix
#chmod 700 -R /usr/local/nginx/html/zabbix
#vi /etc/php.ini
memory_limit = 256M
post_max_size = 32M
max_execution_time = 600
#cd /usr/local/src/zabbix-2.0.0
#./configure --enable-server --enable-agent --with-mysql --enable-ipv6 --with-net-snmp --with-libcurl
#make install
#vi /usr/local/etc/zabbix_server.conf
DBName=zabbixdb
DBUser=zabbixuser
DBPassword=123456
#cp /usr/local/src/zabbix-2.0.0/misc/init.d/red hat/zabbix_agentd_ctl /etc/init.d/
#cp /usr/local/src/zabbix-2.0.0/misc/init.d/red hat/zabbix_server_ctl /etc/init.d/
#cd /usr/local/sbin/
#zabbix_server -c /usr/local/etc/zabbix_server.conf
#cd /etc/init.d/
#./zabbix_server_ctl start
END
when I open the http://132.160.160.31/zabbix/ (this's my local machine), I found the zabbix server no running.
I can use the commond "mysql -uzabbixuser -p123456" login the mysql successfully.
The iptables has permit 10050/10051 tcp/udp ports.
By the way, the server is running cacti normal.
What should I check when I do these operations.
Comment