1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

CentOS8にzabbix_server4を入れたらうまく動かない

Last updated at Posted at 2019-12-01

環境

  • CentOS Linux release 8.0.1905 (Core)
  • zabbix_server 4.4.3
  • MariaDB 10.3.11

現象

zabbixのインストールは普通に完了するものの、
zabbixサーバのパラメータ値が「いいえ」になっていて、うまくみられない。
ログにこんなエラーが。

2307:20191201:221020.888 database is down: reconnecting in 10 seconds
2307:20191201:221030.889 [Z3001] connection to database 'zabbix' failed: [1045] Access denied for user 'zabbix'@'localhost' (using password: NO)

原因

設定時にDBのパスワードを設定したが、/etc/zabbix/zabbix_server.confに反映されてない。

対策

/etc/zabbix/zabbix_server.confにパスワードを書いてあげる。
下記の行のコメントアウトを外して、設定したパスワードを書く。

DBPassword=your_db_password

うちではこれで動作しました!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?