Ad Widget

Collapse

Not taking config into account

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • LawsHosting
    Junior Member
    • Aug 2015
    • 1

    #1

    Not taking config into account

    Yes, I know there are a lot of "zabbix server is not running the information may not be current" posts about, however:
    Originally posted by /tmp/zabbix_server.log
    [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'root'@'localhost' (using password: NO)
    2260:20150829:173800.765 database is down: reconnecting in 10 seconds
    and the zabbix_server.conf
    /etc/zabbix/zabbix_server.conf
    /root/zabbix-2.4.6/conf/zabbix_server.conf
    /usr/local/etc/zabbix_server.conf
    Not one of them has root as the DBUser

    To set up the database, I did:
    Code:
    mysql -uroot -p
    create database zabbix character set utf8 collate utf8_bin;
    grant all privileges on zabbix.* to zabbix@localhost identified by '<password>';
    quit;
    mysql -uzabbix -p zabbix < schema.sql
    mysql -uzabbix -p zabbix < images.sql
    mysql -uzabbix -p zabbix < data.sql
    What the heck is going on?
  • ingus.vilnis
    Senior Member
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Mar 2014
    • 908

    #2
    Hello and welcome to Zabbix forums!

    How did you get so many configuration files?

    Now I see you can at least start your Zabbix server and see the log file. The configuration file is also listed in the log when starting Zabbix server.
    Code:
    cat /tmp/zabbix_server.log | grep using
    Once you get the correct path to the file you can continue from there.

    Hope this helps!

    Best Regards,
    Ingus

    Comment

    Working...