When trying to start the Zabbix server, I get the following error:
Starting zabbix_server: /usr/local/sbin/zabbix_server [29360]: Cannot open [/tmp/zabbix_server.log] [Permission denied]
[FAILED]
In My zabbix_server.log file:
18959:20100129:202911.592 [Z3001] Connection to database 'zabbix' failed: [104\
5] Access denied for user 'root'@'localhost' (using password: NO)
How do I change it so that it tries to connect with the correct user / password? (I have set a password for my root account, so it can't connect to the database.)
Best Answer
Alright, you have two mistakes here : The first one : the log have to be in /var/log (well or somewhere else but not into /tmp) :
edit the file /etc/zabbix/zabbix_server.conf and look for this entry :
And check you have the same error. For the database access, you can launch :
so you will be able to set a new password. OR, edit the file : /etc/zabbix/zabbix_server.conf again, at the end of the file, you will see :
Note that you will also have to edit the file /etc/zabbix/dbconfig.php :
so the password match.