Ad Widget

Collapse

listener failed: socket() for [[-]:10051] failed: [22] Invalid argument

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • node49
    Junior Member
    • Nov 2011
    • 1

    #1

    listener failed: socket() for [[-]:10051] failed: [22] Invalid argument

    Hi everybody!

    I installed Zabbix server but can`t run it cause of problem i can not understand. Google was helpless.

    Here is full log:
    __________________________
    21773:20111118:093706.110 Starting Zabbix Server. Zabbix 1.8.8 (revision 21965).
    21773:20111118:093706.110 ****** Enabled features ******
    21773:20111118:093706.110 SNMP monitoring: YES
    21773:20111118:093706.111 IPMI monitoring: NO
    21773:20111118:093706.111 WEB monitoring: YES
    21773:20111118:093706.111 Jabber notifications: YES
    21773:20111118:093706.111 Ez Texting notifications: YES
    21773:20111118:093706.111 ODBC: NO
    21773:20111118:093706.111 SSH2 support: NO
    21773:20111118:093706.111 IPv6 support: NO
    21773:20111118:093706.111 ******************************
    21773:20111118:093706.111 In DBconnect() flag:1
    21773:20111118:093706.117 query [txnlev:0] [SET NAMES utf8]
    21773:20111118:093706.117 End of DBconnect():0
    21773:20111118:093706.117 query [txnlev:0] [select refresh_unsupported from config where 1=1 and configid between 000000000000000 and 09999999999
    9999]
    21773:20111118:093706.117 In init_database_cache()
    21773:20111118:093706.117 In zbx_mem_required_size() size:8421040 chunks_num:4 descr:'history cache' param:'HistoryCacheSize'
    21773:20111118:093706.117 End of zbx_mem_required_size() size:8421535
    21773:20111118:093706.117 In zbx_mem_create() descr:'history cache' param:'HistoryCacheSize' size:8421535
    21773:20111118:093706.117 valid user addresses: [0x7f5ca3d2c160, 0x7f5ca4534098] total size: 8421176
    21773:20111118:093706.117 End of zbx_mem_create()
    21773:20111118:093706.117 In zbx_mem_required_size() size:16777216 chunks_num:1 descr:'history text cache' param:'HistoryTextCacheSize'
    21773:20111118:093706.117 End of zbx_mem_required_size() size:16777627
    21773:20111118:093706.118 In zbx_mem_create() descr:'history text cache' param:'HistoryTextCacheSize' size:16777627
    21773:20111118:093706.118 valid user addresses: [0x7f5ca2d2b168, 0x7f5ca3d2b190] total size: 16777256
    21773:20111118:093706.118 End of zbx_mem_create()
    21773:20111118:093706.118 In zbx_mem_required_size() size:4194304 chunks_num:1 descr:'trend cache' param:'TrendCacheSize'
    21773:20111118:093706.118 End of zbx_mem_required_size() size:4194702
    21773:20111118:093706.118 In zbx_mem_create() descr:'trend cache' param:'TrendCacheSize' size:4194702
    21773:20111118:093706.118 valid user addresses: [0x7f5ca292a158, 0x7f5ca2d2a188] total size: 4194352
    21773:20111118:093706.118 End of zbx_mem_create()
    21773:20111118:093706.118 End of init_database_cache()
    21773:20111118:093706.118 In init_configuration_cache() size:8388608
    21773:20111118:093706.118 In zbx_mem_create() descr:'configuration cache' param:'CacheSize' size:7130317
    21773:20111118:093706.118 valid user addresses: [0x7f5ca225d160, 0x7f5ca2929cc8] total size: 7129960
    21773:20111118:093706.118 End of zbx_mem_create()
    21773:20111118:093706.118 In zbx_strpool_create()
    21773:20111118:093706.118 In zbx_mem_create() descr:'string pool' param:'CacheSize' size:1258291
    21773:20111118:093706.118 valid user addresses: [0x7f5ca2129158, 0x7f5ca225c328] total size: 1257936
    21773:20111118:093706.118 End of zbx_mem_create()
    21773:20111118:093706.118 End of zbx_strpool_create()
    21773:20111118:093706.118 End of init_configuration_cache()
    21773:20111118:093706.118 In init_selfmon_collector()
    21773:20111118:093706.118 init_selfmon_collector() size:7032
    21773:20111118:093706.119 End of init_selfmon_collector() collector:0x7f5ca2127000
    21773:20111118:093706.119 In DBupdate_triggers_status_after_restart()
    21773:20111118:093706.119 query [txnlev:1] [begin;]
    21773:20111118:093706.119 query [txnlev:1] [select distinct t.triggerid,t.type,t.value,t.error from hosts h,items i,functions f,triggers t where
    h.hostid=i.hostid and i.itemid=f.itemid and f.triggerid=t.triggerid and h.status in (0) and i.status in (0) and i.type not in (2) and i.key_ not i
    n ('status','zabbix[log]') and t.status in (0) and t.triggerid between 000000000000000 and 099999999999999]
    21773:20111118:093706.119 query [txnlev:1] [commit;]
    21773:20111118:093706.119 End of DBupdate_triggers_status_after_restart()
    21773:20111118:093706.119 listener failed: socket() for [[-]:10051] failed: [22] Invalid argument
    ______________________________

    MySQL server with DB located on remote host.
  • mgoodman
    Member
    • Apr 2011
    • 33

    #2
    Maybe this will help:



    Basically, make sure you update your kernel. This is in the installation documentation as well.

    Comment

    • sn00p
      Junior Member
      • Feb 2012
      • 9

      #3
      Sorry for necroposting but problem persists in openvz environment nowdays.

      We've fixed it by removing SOCK_CLOEXEC flag from everywhere in
      src/libs/zbxcomms/comms.c

      Don't know about perfomance affection but this fix is stable for production

      Comment

      Working...