¸®´ª½º ¼³Á¤ÆÄÀÏÀÇ ip º¯°æÀ» ¹®ÀÇ µå¸³´Ï´Ù.

   Á¶È¸ 4003   Ãßõ 0    

 기존 x.x.x.11로 쓰던 ip가 충돌나서 서버 ip를 x.x.x.21로 변경하였습니다.

 다른 설정은 다 변경하거나 기본으로 사용ip가 변경 됐는데 

 zabbix는 초기 웹 설정때 ip를 박아놓은 탓인지

 db 연결이 안되면서 db 접속을 못하고 있습니다.

 zabbix 재설치와 환경설정 파일등에서 db ip를 localhost로 고정해놨는데도

 접속시 동일하게 발생하여 문제를 해결하고자 합니다.


find 명령으로 *.conf 파일에서 x.x.x.11로 설정된 내용이 하나라도 있는지

해당 디스크 내에서 모두 검색하는 명령을 쓰고 싶습니다.


Database error

  • Error connecting to database: Access denied for user 'zabbix'@'localhost' (using password: YES)


도움 부탁드립니다.


ªÀº±Û Àϼö·Ï ½ÅÁßÇÏ°Ô.
db Á¢¼Óµµ ¾ÈµÇ´Â zabbix ¼­¹ö°¡ ÇÁ·Î¼¼½º°¡ ÀÌ·¸°Ô³ª ¸¹ÀÌ ¶°ÀÖ½À´Ï´Ù.

zabbix    3832    1  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
zabbix    3834    1  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
zabbix    3835  3834  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
zabbix    3836  3834  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
zabbix    3837  3834  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
zabbix    3838  3834  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
zabbix    3839  3834  0 19:53 ?        00:00:00 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
zabbix    3840  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 0.031659 sec, idle 60 sec]
zabbix    3842  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: housekeeper [startup idle for 30 minutes]
zabbix    3843  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: timer #1 [updated 0 hosts, suppressed 0 events in 0.000254 sec, idle 59 sec]
zabbix    3844  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: http poller #1 [got 0 values in 0.000422 sec, idle 5 sec]
zabbix    3845  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.000343 sec, idle 60 sec]
zabbix    3846  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: history syncer #1 [processed 0 values, 0 triggers in 0.000019 sec, idle 1 sec]
zabbix    3847  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.000018 sec, idle 1 sec]
zabbix    3848  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: history syncer #3 [processed 1 values, 0 triggers in 0.001689 sec, idle 1 sec]
zabbix    3849  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.000020 sec, idle 1 sec]
zabbix    3850  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.000800 sec, idle 3 sec]
zabbix    3852  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000027 sec, idle 5 sec]
zabbix    3853  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000024 sec, idle 1 sec]
zabbix    3854  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: task manager [processed 0 task(s) in 0.000239 sec, idle 5 sec]
zabbix    3855  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: poller #1 [got 0 values in 0.000014 sec, idle 1 sec]
zabbix    3856  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: poller #2 [got 1 values in 0.000271 sec, idle 1 sec]
zabbix    3857  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000017 sec, idle 1 sec]
zabbix    3858  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: poller #4 [got 0 values in 0.000013 sec, idle 1 sec]
zabbix    3859  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: poller #5 [got 0 values in 0.000014 sec, idle 1 sec]
zabbix    3860  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: unreachable poller #1 [got 0 values in 0.000017 sec, idle 5 sec]
zabbix    3861  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: trapper #1 [processed data in 0.001858 sec, waiting for connection]
zabbix    3862  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: trapper #2 [processed data in 0.001600 sec, waiting for connection]
zabbix    3863  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: trapper #3 [processed data in 0.000000 sec, waiting for connection]
zabbix    3864  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: trapper #4 [processed data in 0.000000 sec, waiting for connection]
zabbix    3865  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: trapper #5 [processed data in 0.001632 sec, waiting for connection]
zabbix    3867  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: icmp pinger #1 [got 0 values in 0.000015 sec, idle 5 sec]
zabbix    3868  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: alert manager #1 [sent 0, failed 0 alerts, idle 5.002923 sec during 5.002993 sec]
zabbix    3869  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: alerter #1 started
zabbix    3870  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: alerter #2 started
zabbix    3880  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: alerter #3 started
zabbix    3881  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: preprocessing manager #1 [queued 0, processed 4 values, idle 5.000848 sec during 5.000925 sec]
zabbix    3882  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: preprocessing worker #1 started
zabbix    3884  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: preprocessing worker #2 started
zabbix    3885  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: preprocessing worker #3 started
zabbix    3886  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: lld manager #1 [processed 0 LLD rules during 5.005231 sec]
zabbix    3887  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: lld worker #1 started
zabbix    3888  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: lld worker #2 [processed 1 LLD rules, idle 9.169516 sec during 9.319105 sec]
zabbix    3889  3832  0 19:53 ?        00:00:00 /usr/sbin/zabbix_server: alert syncer [queued 0 alerts(s), flushed 0 result(s) in 0.000434 sec, idle 1 sec]
root      4643  2402  0 20:06 pts/1    00:00:00 grep --color=auto zabbix
¹«¾Æ 2021-04
Ȥ.. ip°¡ ¾È¹Ù²ï°Ç ¾Æ´ÑÁö¿ä?
ÇØ°á Çß½À´Ï´Ù. ip ¹®Á¦°¡ ¾Æ´Ï¶ó zabbix °èÁ¤ pw º¯°æÀÌ ¹®Á¦¿´³×¿ä.

https://m.blog.naver.com/PostView.nhn?blogId=hanajava&logNo=221830422285&proxyReferer=https:%2F%2Fwww.google.com%2F

ÂüÁ¶ µµ¿ò¹ÞÀº url ÀÔ´Ï´Ù.


QnA
Á¦¸ñPage 3818/5683
2015-12   1491940   ¹é¸Þ°¡
2014-05   4955427   Á¤ÀºÁØ1
2015-10   4002   ¹ðÄ¿
2014-08   4002   ¿Õ¿ëÇÊ
2015-07   4002   jack33
2018-06   4002   À¯·ÉEÁ¤ÇØÁØ
2019-07   4002   ¼­Å¶º¸µå
2014-09   4002   Olorin
2018-05   4002   Àü¼³¼ÓÀǹ̡¦
2015-04   4002   ȲÁø¿ì
2018-01   4001   ĵÀ§µå
2018-08   4001   nisi
2015-10   4001   ±è°Ç¿ì
2015-09   4001   ¾È¼ºÇö
2014-02   4001   ¾¾µð°øÀå
2014-09   4001   ¸¶ÀÌÄÚÄÚ
2014-07   4001   ÁÖȲº°
2018-01   4001   pisaro1
2017-11   4001   ÇÞ»ìÇѽºÇ¬
2016-07   4001   ³ªÆÄÀÌ°­½ÂÈÆ
2017-01   4001   isaiah
2014-01   4001   ÆÒ´õ³Ê±¼ÀÌ