Hi All,
This is my first post and new to zabbix. Great software and I have been adding few nodes and it was working until today. When I try to login I get "database error: connection refused" error on the login page. I have logged into zabbix VM and can see mysql is out of space. Would really appreciate if someone could let me know how to fix this issue?
mysql service status:
mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mysqld.service.d
└─override.conf
Active: failed (Result: exit-code) since Fri 2020-11-20 02:30:08 UTC; 22min ago
Process: 1109 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS)
Process: 1107 ExecStart=/usr/libexec/mysqld --basedir=/usr (code=exited, status=1/FAILURE)
Process: 1069 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 1044 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 1107 (code=exited, status=1/FAILURE)
Status: "Server startup in progress"
Error: 28 (No space left on device)
when I run df -h i can see that sda5 which is 100%.
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 8.5M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 4.0G 997M 3.1G 25% /
/dev/sda1 488M 80M 373M 18% /boot
/dev/sda3 1014M 40M 975M 4% /tmp
/dev/sda5 4.5G 4.5G 20K 100% /var/lib/mysql
tmpfs 787M 0 787M 0% /run/user/0
I have expanded the VM hard drive but not sure how to expand sql portion to have more space. I'm running zabbix appliance which is running on centos.
Thank you.
This is my first post and new to zabbix. Great software and I have been adding few nodes and it was working until today. When I try to login I get "database error: connection refused" error on the login page. I have logged into zabbix VM and can see mysql is out of space. Would really appreciate if someone could let me know how to fix this issue?
mysql service status:
mysqld.service - MySQL 8.0 database server
Loaded: loaded (/usr/lib/systemd/system/mysqld.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/mysqld.service.d
└─override.conf
Active: failed (Result: exit-code) since Fri 2020-11-20 02:30:08 UTC; 22min ago
Process: 1109 ExecStopPost=/usr/libexec/mysql-wait-stop (code=exited, status=0/SUCCESS)
Process: 1107 ExecStart=/usr/libexec/mysqld --basedir=/usr (code=exited, status=1/FAILURE)
Process: 1069 ExecStartPre=/usr/libexec/mysql-prepare-db-dir mysqld.service (code=exited, status=0/SUCCESS)
Process: 1044 ExecStartPre=/usr/libexec/mysql-check-socket (code=exited, status=0/SUCCESS)
Main PID: 1107 (code=exited, status=1/FAILURE)
Status: "Server startup in progress"
Error: 28 (No space left on device)
when I run df -h i can see that sda5 which is 100%.
df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 8.5M 3.9G 1% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 4.0G 997M 3.1G 25% /
/dev/sda1 488M 80M 373M 18% /boot
/dev/sda3 1014M 40M 975M 4% /tmp
/dev/sda5 4.5G 4.5G 20K 100% /var/lib/mysql
tmpfs 787M 0 787M 0% /run/user/0
I have expanded the VM hard drive but not sure how to expand sql portion to have more space. I'm running zabbix appliance which is running on centos.
Thank you.

Comment