new ZABBIX user; fresh ZABBIX v4.0.3 LTS install; on virgin (nearly) Ubuntu Focal Fossa;
ADVapologyANCE if this is actually covered elsewhere -- i did see similar posts -- but all asked for addtional details -- so I've take the liberty of providing them as well.
I'm not very familiar with MariaDB and completely a noob wrt ZABBIX.
Any hints you might provide are sincerely appreciated.
Best,
_sam
...
_sam@ubu1804dd:/tmp$ zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
Enter password: XXXXX
ERROR 1118 (42000) at line 1278: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
...
+++++++
DETAILS
+++++++
what version of Zabbix?
_sam@ubu1804dd:/tmp$ wget https://repo.zabbix.com/zabbix/4.0/u...+focal_all.deb
--2020-12-14 14:11:38-- https://repo.zabbix.com/zabbix/4.0/u...+focal_all.deb
Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4064 (4.0K) [application/octet-stream]
Saving to: ‘zabbix-release_4.0-3+focal_all.deb’
zabbix-release_4.0-3+focal_all.deb 100%[================================================== ================================================== ========>] 3.97K --.-KB/s in 0s
2020-12-14 14:11:38 (441 MB/s) - ‘zabbix-release_4.0-3+focal_all.deb’ saved [4064/4064]
_sam@ubu1804dd:/tmp$
what database (MySQL, MariaDB, or Percona) are you using AND what's the exact version of the database software?
Maria 10.3.25
_sam@ubu1804dd:/tmp$ service mysql status
● mariadb.service - MariaDB 10.3.25 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2020-12-14 14:26:27 UTC; 1min 23s ago
Docs: man:mysqld(8)
Process: 346939 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 346948 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 346950 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_PO>
Main PID: 346998 (mysqld)
Tasks: 13 (limit: 4502)
Memory: 35.4M
CGroup: /system.slice/mariadb.service
└─346998 /usr/sbin/mysqld
Dec 14 14:26:27 ubu1804dd systemd[1]: Starting MariaDB 10.3.25 database server...
Dec 14 14:26:28 ubu1804dd mysqld[346998]: 2020-12-14 14:26:28 0 [Note] /usr/sbin/mysqld (mysqld 10.3.25-MariaDB-0ubuntu0.20.04.1) starting as process 346998 ...
Dec 14 14:26:28 ubu1804dd mysqld[346998]: 2020-12-14 14:26:28 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32186)
_sam@ubu1804dd:/tmp$
what Linux distro and version?
Ubuntu Focal Fossa 20.04.1 LTS
when you connect as the database root user and run the following command, what lines does it output:
Code:
SHOW GLOBAL VARIABLES LIKE 'innodb_file%';
...
MariaDB [(none)]> show global variables like 'innodb_file%';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_format | |
| innodb_file_per_table | ON |
+-----------------------+-------+
2 rows in set (0.001 sec)
MariaDB [(none)]>
...
Also while connected to the database as the database root user, what does this output:
Code:
SHOW GLOBAL VARIABLES LIKE 'innodb%prefix';
...
MariaDB [(none)]> show global variables like 'innodb%prefix';
+---------------------+-------+
| Variable_name | Value |
+---------------------+-------+
| innodb_large_prefix | |
+---------------------+-------+
1 row in set (0.001 sec)
MariaDB [(none)]>
...
ADVapologyANCE if this is actually covered elsewhere -- i did see similar posts -- but all asked for addtional details -- so I've take the liberty of providing them as well.
I'm not very familiar with MariaDB and completely a noob wrt ZABBIX.
Any hints you might provide are sincerely appreciated.
Best,
_sam
...
_sam@ubu1804dd:/tmp$ zcat /usr/share/doc/zabbix-server-mysql*/create.sql.gz | mysql -uzabbix -p zabbix
Enter password: XXXXX
ERROR 1118 (42000) at line 1278: Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.
...
+++++++
DETAILS
+++++++
what version of Zabbix?
_sam@ubu1804dd:/tmp$ wget https://repo.zabbix.com/zabbix/4.0/u...+focal_all.deb
--2020-12-14 14:11:38-- https://repo.zabbix.com/zabbix/4.0/u...+focal_all.deb
Resolving repo.zabbix.com (repo.zabbix.com)... 178.128.6.101, 2604:a880:2:d0::2062:d001
Connecting to repo.zabbix.com (repo.zabbix.com)|178.128.6.101|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4064 (4.0K) [application/octet-stream]
Saving to: ‘zabbix-release_4.0-3+focal_all.deb’
zabbix-release_4.0-3+focal_all.deb 100%[================================================== ================================================== ========>] 3.97K --.-KB/s in 0s
2020-12-14 14:11:38 (441 MB/s) - ‘zabbix-release_4.0-3+focal_all.deb’ saved [4064/4064]
_sam@ubu1804dd:/tmp$
what database (MySQL, MariaDB, or Percona) are you using AND what's the exact version of the database software?
Maria 10.3.25
_sam@ubu1804dd:/tmp$ service mysql status
● mariadb.service - MariaDB 10.3.25 database server
Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2020-12-14 14:26:27 UTC; 1min 23s ago
Docs: man:mysqld(8)
Process: 346939 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
Process: 346948 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 346950 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_PO>
Main PID: 346998 (mysqld)
Tasks: 13 (limit: 4502)
Memory: 35.4M
CGroup: /system.slice/mariadb.service
└─346998 /usr/sbin/mysqld
Dec 14 14:26:27 ubu1804dd systemd[1]: Starting MariaDB 10.3.25 database server...
Dec 14 14:26:28 ubu1804dd mysqld[346998]: 2020-12-14 14:26:28 0 [Note] /usr/sbin/mysqld (mysqld 10.3.25-MariaDB-0ubuntu0.20.04.1) starting as process 346998 ...
Dec 14 14:26:28 ubu1804dd mysqld[346998]: 2020-12-14 14:26:28 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32186)
_sam@ubu1804dd:/tmp$
what Linux distro and version?
Ubuntu Focal Fossa 20.04.1 LTS
when you connect as the database root user and run the following command, what lines does it output:
Code:
SHOW GLOBAL VARIABLES LIKE 'innodb_file%';
...
MariaDB [(none)]> show global variables like 'innodb_file%';
+-----------------------+-------+
| Variable_name | Value |
+-----------------------+-------+
| innodb_file_format | |
| innodb_file_per_table | ON |
+-----------------------+-------+
2 rows in set (0.001 sec)
MariaDB [(none)]>
...
Also while connected to the database as the database root user, what does this output:
Code:
SHOW GLOBAL VARIABLES LIKE 'innodb%prefix';
...
MariaDB [(none)]> show global variables like 'innodb%prefix';
+---------------------+-------+
| Variable_name | Value |
+---------------------+-------+
| innodb_large_prefix | |
+---------------------+-------+
1 row in set (0.001 sec)
MariaDB [(none)]>
...
Comment