Hi,
I am setting up Zabbix on Ubuntu 24.04 Noble. I am at the step of being able to access the Zabbix web interface over TCP port 80, but I cannot get past the "Configure DB connection" step. I have validated that the username/password works logging into the mysql DB using the command "sudo mysql -u zabbix -p". I have executed all commands within the setup guy.
At first (and may still be), I read forums already online regarding a potential mySQL socket issue. I ran the below command to identify my socket for mySQL server.
mysql> SHOW VARIABLES LIKE 'socket';
+---------------+-----------------------------+
| Variable_name | Value |
+---------------+-----------------------------+
| socket | /var/run/mysqld/mysqld.sock
I then updated this socket path in my '/etc/zabbiz/zabbix_server.conf' file in the DBSocket= field. I also already updated my 'mysqli.default_socket = ' value to the above socket path in my VM's "/etc/php/8.3/apache2/php.ini".
I restarted all services, and I'm still not able to configure a DB connection.
May someone please help me troubleshoot and correct this? I'm willing to do a Teams or Zoom call too.
Kind Regards,
Jay
I am setting up Zabbix on Ubuntu 24.04 Noble. I am at the step of being able to access the Zabbix web interface over TCP port 80, but I cannot get past the "Configure DB connection" step. I have validated that the username/password works logging into the mysql DB using the command "sudo mysql -u zabbix -p". I have executed all commands within the setup guy.
At first (and may still be), I read forums already online regarding a potential mySQL socket issue. I ran the below command to identify my socket for mySQL server.
mysql> SHOW VARIABLES LIKE 'socket';
+---------------+-----------------------------+
| Variable_name | Value |
+---------------+-----------------------------+
| socket | /var/run/mysqld/mysqld.sock
I then updated this socket path in my '/etc/zabbiz/zabbix_server.conf' file in the DBSocket= field. I also already updated my 'mysqli.default_socket = ' value to the above socket path in my VM's "/etc/php/8.3/apache2/php.ini".
I restarted all services, and I'm still not able to configure a DB connection.
May someone please help me troubleshoot and correct this? I'm willing to do a Teams or Zoom call too.
Kind Regards,
Jay
Comment