On 08/01/2014 11:58 PM, Mișu Moldovan wrote:
> Adrian Sevcenco <adrian.sevce...@cern.ch> wrote:
>> On 08/01/2014 10:50 PM, Mișu Moldovan wrote:
>>> Dacă ai trecut (teoretic și practic) prin exemplele de acolo și
>>> înțelegi în mare cum funcționeaza Zabbix, cred că ai făcut un mare
>>> pas înainte și ai să știi și că, de regulă, primul lucru când nu-ți
>>> merge ceva e să crești nivelul de debug și să verifici logul,
>>> eventual eliminând ce nu e relevant cu -v.
>> yeap ... primul lucru facut ;)
> 
> Nu-mi place să mă repet, dar, de dragul Zabbixului, o să o fac… :) Din
> grepul tău (cam ciudat, nu pot să nu remarc) pe configul serverului
> rezultă că nivelul de debug este 2, deci va loga doar erorile. Mărește
> la 3, eventual chiar la 4 (pentru debug), repornește serverul și
> reîncearcă cu ochii pe loguri.
> 
> Dacă ai făcut deja asta, scuze pentru deranj. E o disonanță logică
> pentru mine între subiectul firului de discuție (care presupune ceva
> timp pierdut), nivelul de debug din configul dat pe listă la un moment
> dat și remarca de acum că asta ai făcut primul lucru.
eroarea e aceiasi si la 4 si la 2 ... initial am pus 4 si pentru ca nu
ma intresesau initializarile reusite de module si alte chestii am lasat
la 2 ..

cu 4 arata asha:
4694:20140802:131906.945 Starting Zabbix Server. Zabbix 2.2.5 (revision
47411).
  4694:20140802:131906.945 ****** Enabled features ******
  4694:20140802:131906.945 SNMP monitoring:           YES
  4694:20140802:131906.945 IPMI monitoring:           YES
  4694:20140802:131906.945 WEB monitoring:            YES
  4694:20140802:131906.945 VMware monitoring:         YES
  4694:20140802:131906.945 Jabber notifications:      YES
  4694:20140802:131906.945 Ez Texting notifications:  YES
  4694:20140802:131906.945 ODBC:                      YES
  4694:20140802:131906.945 SSH2 support:              YES
  4694:20140802:131906.945 IPv6 support:              YES
  4694:20140802:131906.945 ******************************
  4694:20140802:131906.946 using configuration file:
/etc/zabbix/zabbix_server.conf
  4694:20140802:131906.946 In load_modules()
  4694:20140802:131906.946 End of load_modules():SUCCEED
  4694:20140802:131906.946 In init_database_cache()
  4694:20140802:131906.947 In zbx_mem_required_size() size:0
chunks_num:4 descr:'history cache' param:'HistoryCacheSize'
  4694:20140802:131906.947 End of zbx_mem_required_size() size:543
  4694:20140802:131906.947 In zbx_mem_create() descr:'history cache'
param:'HistoryCacheSize' size:8388575
  4694:20140802:131906.947 zbx_shmget() removing existing shm_id:9175042
  4694:20140802:131906.947 valid user addresses: [0x7f9207039170,
0x7f9207838fd0] total size: 8388192
  4694:20140802:131906.947 End of zbx_mem_create()
  4694:20140802:131906.947 In zbx_mem_required_size() size:0
chunks_num:1 descr:'history text cache' param:'HistoryTextCacheSize'
  4694:20140802:131906.947 End of zbx_mem_required_size() size:435
  4694:20140802:131906.947 In zbx_mem_create() descr:'history text
cache' param:'HistoryTextCacheSize' size:16777216
  4694:20140802:131906.947 zbx_shmget() removing existing shm_id:9207811
  4694:20140802:131906.948 valid user addresses: [0x7f9206039178,
0x7f9207038ff0] total size: 16776824
  4694:20140802:131906.948 End of zbx_mem_create()
  4694:20140802:131906.948 In init_trend_cache()
  4694:20140802:131906.948 In zbx_mem_required_size() size:0
chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
  4694:20140802:131906.948 End of zbx_mem_required_size() size:422
  4694:20140802:131906.948 In zbx_mem_create() descr:'trend cache'
param:'TrendCacheSize' size:4194304
  4694:20140802:131906.948 zbx_shmget() removing existing shm_id:9240580
  4694:20140802:131906.948 valid user addresses: [0x7f9205c39170,
0x7f9206038ff0] total size: 4193920
  4694:20140802:131906.948 End of zbx_mem_create()
  4694:20140802:131906.948 End of init_trend_cache()
  4694:20140802:131906.948 End of init_database_cache()
  4694:20140802:131906.948 In init_configuration_cache() size:8388608
  4694:20140802:131906.948 In zbx_mem_create() descr:'configuration
cache' param:'CacheSize' size:7130317
  4694:20140802:131906.948 zbx_shmget() removing existing shm_id:9273349
  4694:20140802:131906.949 valid user addresses: [0x7f920556c170,
0x7f9205c38cc0] total size: 7129936
  4694:20140802:131906.949 End of zbx_mem_create()
  4694:20140802:131906.950 In zbx_strpool_create()
  4694:20140802:131906.950 In zbx_mem_create() descr:'string pool'
param:'CacheSize' size:1258291
  4694:20140802:131906.950 zbx_shmget() removing existing shm_id:9306118
  4694:20140802:131906.950 valid user addresses: [0x7f9205438168,
0x7f920556b328] total size: 1257920
  4694:20140802:131906.950 End of zbx_mem_create()
  4694:20140802:131906.950 End of zbx_strpool_create()
  4694:20140802:131906.950 End of init_configuration_cache()
  4694:20140802:131906.950 In init_selfmon_collector()
  4694:20140802:131906.950 init_selfmon_collector() size:7056
  4694:20140802:131906.950 zbx_shmget() removing existing shm_id:9338887
  4694:20140802:131906.950 End of init_selfmon_collector()
collector:0x7f9205436000
  4694:20140802:131906.950 In zbx_vc_init()
  4694:20140802:131906.950 In zbx_mem_required_size() size:0
chunks_num:1 descr:'value cache size' param:'ValueCacheSize'
  4694:20140802:131906.950 End of zbx_mem_required_size() size:427
  4694:20140802:131906.951 In zbx_mem_create() descr:'value cache size'
param:'ValueCacheSize' size:8388608
  4694:20140802:131906.951 zbx_shmget() removing existing shm_id:9371656
  4694:20140802:131906.951 valid user addresses: [0x7f9204c36170,
0x7f9205435ff0] total size: 8388224
  4694:20140802:131906.951 End of zbx_mem_create()
  4694:20140802:131906.951 End of zbx_vc_init()
  4694:20140802:131906.963 In DBcheck_version()
  4694:20140802:131906.963 In DBconnect() flag:0
  4694:20140802:131906.981 [Z3001] connection to database 'zabbix'
failed: [1045] Access denied for user 'zabbix'@'localhost' (using
password: YES)
  4694:20140802:131906.981 Database is down. Reconnecting in 10 seconds.


cu 2 arata asha:
4770:20140802:131956.297 Starting Zabbix Server. Zabbix 2.2.5 (revision
47411).
  4770:20140802:131956.297 ****** Enabled features ******
  4770:20140802:131956.297 SNMP monitoring:           YES
  4770:20140802:131956.297 IPMI monitoring:           YES
  4770:20140802:131956.297 WEB monitoring:            YES
  4770:20140802:131956.297 VMware monitoring:         YES
  4770:20140802:131956.297 Jabber notifications:      YES
  4770:20140802:131956.297 Ez Texting notifications:  YES
  4770:20140802:131956.297 ODBC:                      YES
  4770:20140802:131956.297 SSH2 support:              YES
  4770:20140802:131956.298 IPv6 support:              YES
  4770:20140802:131956.298 ******************************
  4770:20140802:131956.298 using configuration file:
/etc/zabbix/zabbix_server.conf
  4770:20140802:131956.305 [Z3001] connection to database 'zabbix'
failed: [1045] Access denied for user 'zabbix'@'localhost' (using
password: YES)

Adrian



_______________________________________________
RLUG mailing list
RLUG@lists.lug.ro
http://lists.lug.ro/mailman/listinfo/rlug

Raspunde prin e-mail lui