Installation of Zabbix in Centos 7
-
Looks healthy from a permissions standpoint.
-
[lakshmana@dny-lnx-zabbix ~]$ sestatus -v
SELinux status: disabled
[lakshmana@dny-lnx-zabbix ~]$ -
Okay, so SELinux is off.
-
Curious... It looks like all the tables are there now.
What happens if you:
mysql -u root -p
use zabbixdb;
describe users;?
-
The output is provided below
[lakshmana@dny-lnx-zabbix ~]$ sudo mysql -u root -p
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 423
Server version: 5.5.44-MariaDB MariaDB ServerCopyright (c) 2000, 2015, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use zabbixdb;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -ADatabase changed
MariaDB [zabbixdb]> describe users;
+----------------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+----------------+---------------------+------+-----+---------+-------+
| userid | bigint(20) unsigned | NO | PRI | NULL | |
| alias | varchar(100) | NO | UNI | | |
| name | varchar(100) | NO | | | |
| surname | varchar(100) | NO | | | |
| passwd | char(32) | NO | | | |
| url | varchar(255) | NO | | | |
| autologin | int(11) | NO | | 0 | |
| autologout | int(11) | NO | | 900 | |
| lang | varchar(5) | NO | | en_GB | |
| refresh | int(11) | NO | | 30 | |
| type | int(11) | NO | | 1 | |
| theme | varchar(128) | NO | | default | |
| attempt_failed | int(11) | NO | | 0 | |
| attempt_ip | varchar(39) | NO | | | |
| attempt_clock | int(11) | NO | | 0 | |
| rows_per_page | int(11) | NO | | 50 | |
+----------------+---------------------+------+-----+---------+-------+
16 rows in set (0.00 sec) -
Okay... now...
select userid,name from users;
-
MariaDB [zabbixdb]> select userid,name from users;
+--------+--------+
| userid | name |
+--------+--------+
| 1 | Zabbix |
| 2 | |
+--------+--------+
2 rows in set (0.00 sec) -
It looks like the data has loaded right... let's check one more...
select imageid,imagetype,name from images limit 10;
-
The output is given below
MariaDB [zabbixdb]> select imageid,imagetype,name from images limit 10;
+---------+-----------+---------------------+
| imageid | imagetype | name |
+---------+-----------+---------------------+
| 1 | 1 | Cloud_(128) |
| 2 | 1 | Cloud_(24) |
| 3 | 1 | Cloud_(48) |
| 4 | 1 | Cloud_(64) |
| 5 | 1 | Cloud_(96) |
| 6 | 1 | Crypto-router_(128) |
| 7 | 1 | Crypto-router_(24) |
| 8 | 1 | Crypto-router_(48) |
| 9 | 1 | Crypto-router_(64) |
| 10 | 1 | Crypto-router_(96) |
+---------+-----------+---------------------+ -
Okay, so everything appears to be working.
What happens if you http://<ip of your server>/zabbix ?
-
The zabbix installation page comes
-
Ah, okay, that is good, then. 8-)
Go through the installation process one step at a time. Send a screenshot if you get any errors.
-
The issue I am facing here is given below
-
@Lakshmana look at how I edited your post so that the image would show up. If you type it in like that you actually get the inline image.
-
Also... Check the spelling in your php.ini file's date.timezone...
http://php.net/manual/en/timezones.asia.php
Shows it as Asia/Kolkata (one t, not two).
After that, restart Apache again, and you should be good.
-
Also, the timezone should be UTC. Why is it being set to Asia?
-
I just followed the steps given in the link for the configuration and now i will change
-
how to change the time zone to your place
?? -
@Lakshmana said:
how to change the time zone to your place
??How did you change it to Asia initially?
-
By this command given in the unixmen
Edit file /etc/httpd/conf.d/zabbix:
vi /etc/httpd/conf.d/zabbix.conf
Update your timezone:php_value date.timezone Asia/Kolkata