I am trying to get Zabbix 3.4 up and running and having trouble getting the web ui to complete the install process.
Using a fresh build of CentOS 7 from my cloud provider I then install Postgesql 10.1 and start the process defined in the 3.4 documentation for installing from packages for RH/CentOS.
All of the shell commands for the install process items seemed to operate properly.
Got the zabbix-server process up and running properly with a little extra work. Had to change the authenticate for the local sockets in the postgresql pg-hba-conf file because pg really seems to love ident more than anyone else.
Changed this value to peer. Once that was done the service starts perfectly and no errors show up in the zabbix or pg logs.
When it was time to install the front end I ran into a small issue again because of postgresql permissions. I really did not want to put in a complex authentication solution, at least not yet, and using localhost and password auth seemed a less than desirable choice (pretty sure that's all plain text and while the traffic stays local seemed like a poor solution). So I just removed the db host value and set the port to zero then made an apache db user with privs to the zabbix db and let it authenticate via the OS user that httpd runs as. This all worked well; the db connection worked and the authentication errors stopped but....
Now I'm getting a "The frontend does not match Zabbix database."
Research and the error seems to indicate there is a mismatch between some versioning the the front end code and values in the DB. This is a fresh install from packages on a new OS so that seems odd.
I decided to try dropping the db and recreating and populating it using the processes in the manual for packaged based installs:
sudo -u postgres createdb -O zabbix zabbix
zcat /usr/share/doc/zabbix-server-pgsql*/create.sql.gz | sudo -u zabbix psql zabbix
I did not do the proxy steps because this is not a proxy instance. Perhaps that is needed for the main server too but the documentation does not seem to imply that?
Any experienced folks who can point me in the right direction?
Thanks for taking the time to read this message,
JP
Using a fresh build of CentOS 7 from my cloud provider I then install Postgesql 10.1 and start the process defined in the 3.4 documentation for installing from packages for RH/CentOS.
All of the shell commands for the install process items seemed to operate properly.
Got the zabbix-server process up and running properly with a little extra work. Had to change the authenticate for the local sockets in the postgresql pg-hba-conf file because pg really seems to love ident more than anyone else.
Changed this value to peer. Once that was done the service starts perfectly and no errors show up in the zabbix or pg logs.When it was time to install the front end I ran into a small issue again because of postgresql permissions. I really did not want to put in a complex authentication solution, at least not yet, and using localhost and password auth seemed a less than desirable choice (pretty sure that's all plain text and while the traffic stays local seemed like a poor solution). So I just removed the db host value and set the port to zero then made an apache db user with privs to the zabbix db and let it authenticate via the OS user that httpd runs as. This all worked well; the db connection worked and the authentication errors stopped but....
Now I'm getting a "The frontend does not match Zabbix database."
Research and the error seems to indicate there is a mismatch between some versioning the the front end code and values in the DB. This is a fresh install from packages on a new OS so that seems odd.
I decided to try dropping the db and recreating and populating it using the processes in the manual for packaged based installs:
sudo -u postgres createdb -O zabbix zabbix
zcat /usr/share/doc/zabbix-server-pgsql*/create.sql.gz | sudo -u zabbix psql zabbix
I did not do the proxy steps because this is not a proxy instance. Perhaps that is needed for the main server too but the documentation does not seem to imply that?
Any experienced folks who can point me in the right direction?
Thanks for taking the time to read this message,
JP
Comment