Hello all,
Sorry for my english, I'm french.
I have a strange issue regarding zabbix account on zabbix server. I explain...
About 1 year ago I've installed Zabbix on a Linux server (Debian) named "serverA".
I've created the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB (on MariaDB).
All worked fine.
A couple of months later I've decided to change the hostname from "serverA" to "serverB".
I've created the user 'zabbix'@'serverB' and gave grants privileges to zabbix DB (on MariaDB) and I've deleted the user 'zabbix'@'serverA'.
That's when the first issue arrose :
When I wanted to add or modify something on zabbix UI I received an error message saying that the user definer 'zabbix'@'serverA' (user with old hostname) didn't have rights on DB. (???)
After a couple of hours to try to understand why I've decided to recreate the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB.
And all worked fine.
And yesterday I've decide to (re)modify the hostname from "serverB" to "serverC".
I've created the user 'zabbix'@'serverC' and gave grants privileges to zabbix DB (on MariaDB) and I've deleted the users 'zabbix'@'serverA' and 'zabbix'@'serverB'.
But I've forgotten the first issue...
So another issue arrose :
When I wanted to add or modify something on zabbix UI I received an error message saying that the user definer 'zabbix'@'serverB' (user with second old hostname) didn't have rights on DB. (???)
I've decided to recreate the user 'zabbix'@'serverB' and gave grants privileges to zabbix DB.
But... and it's very strange... I received an second error message saying that the user definer 'zabbix'@'serverA' (user with first old hostname) didn't have rights on DB.
Incomprehensible !!!
So I've decided to recreate the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB.
And all worked fine.
But now I have 3 definer users "zabbix" with 3 different hosts !!!
I don't understand why and how to resolve this issue and keep only the last definer user "zabbix" with the last hostname 'serverC'.
Thank's for your help.
For information :
- only hostnames have been changed, not IP address
*******
Zabbix 7.0.0rc3
Sorry for my english, I'm french.
I have a strange issue regarding zabbix account on zabbix server. I explain...
About 1 year ago I've installed Zabbix on a Linux server (Debian) named "serverA".
I've created the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB (on MariaDB).
All worked fine.
A couple of months later I've decided to change the hostname from "serverA" to "serverB".
I've created the user 'zabbix'@'serverB' and gave grants privileges to zabbix DB (on MariaDB) and I've deleted the user 'zabbix'@'serverA'.
That's when the first issue arrose :
When I wanted to add or modify something on zabbix UI I received an error message saying that the user definer 'zabbix'@'serverA' (user with old hostname) didn't have rights on DB. (???)
After a couple of hours to try to understand why I've decided to recreate the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB.
And all worked fine.
And yesterday I've decide to (re)modify the hostname from "serverB" to "serverC".
I've created the user 'zabbix'@'serverC' and gave grants privileges to zabbix DB (on MariaDB) and I've deleted the users 'zabbix'@'serverA' and 'zabbix'@'serverB'.
But I've forgotten the first issue...
So another issue arrose :
When I wanted to add or modify something on zabbix UI I received an error message saying that the user definer 'zabbix'@'serverB' (user with second old hostname) didn't have rights on DB. (???)
I've decided to recreate the user 'zabbix'@'serverB' and gave grants privileges to zabbix DB.
But... and it's very strange... I received an second error message saying that the user definer 'zabbix'@'serverA' (user with first old hostname) didn't have rights on DB.
Incomprehensible !!!
So I've decided to recreate the user 'zabbix'@'serverA' and gave grants privileges to zabbix DB.
And all worked fine.
But now I have 3 definer users "zabbix" with 3 different hosts !!!
I don't understand why and how to resolve this issue and keep only the last definer user "zabbix" with the last hostname 'serverC'.
Thank's for your help.
For information :
- only hostnames have been changed, not IP address
*******
Zabbix 7.0.0rc3




Comment