Ad Widget

Collapse

MYSQL errors after running snmp-mibs-downloader

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • edenmor
    Junior Member
    • Aug 2020
    • 1

    #1

    MYSQL errors after running snmp-mibs-downloader

    Hello people.
    Zabbix server version - 5.0.1
    OS- Ubuntu 20.04

    Eveything worked OK, until i issued those commands :
    sudo apt-get install snmp-mibs-downloader
    sudo download-mibs
    sudo sed -i "s/^\(mibs *:\).*/#\1/" /etc/snmp/snmp.conf
    sudo service snmpd restart

    As a result, zabbix server got broken.

    This is what showed up in the logs of zabbix server :
    26224:20200815:135725.932 database is down: reconnecting in 10 seconds
    26146:20200815:135725.939 [Z3001] connection to database 'zabbix' failed: [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 95

    and from the mysql logs:
    2020-08-11 12:38:23 39 [Warning] Aborted connection 39 to db: 'zabbix' user: 'root' host: 'localhost' (Got an error reading communication packets)

    i tried a lot of things; increasing max_connections in mysql DB settings, changed values in zabbix_server.conf file. nothing helped and it is still down, and when i try to start zabbix server again the same error appeared in logs.

    Please, Help! it looks like something broken with the snmp in zabbix...
    Last edited by edenmor; 16-08-2020, 22:49.
Working...