Client hangs for more than 10mins, and then it switches to the second policy server, anyone meets this before? Client log: cf3 No existing connection to 10.96.72.56 is established... cf3 Set cfengine port number to 5308 = 5308 cf3 Connect to 10.96.72.56 = 10.96.72.56 on port 5308 cf3 LastSaw host 10.96.72.56 now cf3 skipidentify was promised, so we are trusting and simply announcing the identity as (dx-5b40d02.off.dp.ask.com) for this host cf3 Couldn't recv cf3 !!! System error for recv: "Connection reset by peer" cf3 Protocol transaction broken off cf3 !!! System reports error for recv: "Connection reset by peer" cf3 I: Report relates to a promise with handle "" cf3 I: Made in version 'not specified' of '/disk1/sp/cfengine//cfagent/inputs/update.cf' near line 61 cf3 !! Authentication dialogue with 10.96.72.56 failed cf3 Unable to establish connection with 10.96.72.56 cf3 Connection to 10.96.72.60 is already open and ready...
GDB info for cf-serverd: (gdb) info thread 4 Thread -1216349264 (LWP 31548) 0xb7cd20d3 in mallopt () from /lib/tls/libc.so.6 3 Thread -1211892816 (LWP 32761) 0xb7d43321 in pthread_setcanceltype () from /lib/tls/libc.so.6 2 Thread -1217397840 (LWP 11086) 0xb7f20436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 1 Thread -1211890656 (LWP 2707) 0xb7d43321 in pthread_setcanceltype () from /lib/tls/libc.so.6 Thread 4 (Thread -1216349264 (LWP 31548)): #0 0xb7cd20d3 in mallopt () from /lib/tls/libc.so.6 #1 0xb7cd18fb in mallopt () from /lib/tls/libc.so.6 #2 0xb7cd0c43 in malloc () from /lib/tls/libc.so.6 #3 0x08086dc8 in NewScope (name=0x82a25d0 "\030") at scope.c:110 #4 0x0808d728 in RegExMatchFullString (rex= {rx = {buffer = 0x82a1e10 "", allocated = 92, used = 92, syntax = 242428, fastmap = 0x828d160 "", translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 1, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0}, failed = 0, regexp = 0x8288130 "10.96.*"}, teststring=0x8288d29 "10.96.24.130") at matching.c:641 #5 0x0808cbdd in FullTextMatch (regexp=0x8288130 "10.96.*", teststring=0x8288d29 "10.96.24.130") at matching.c:55 #6 0x08070ed1 in IsMatchItemIn (list=0x8288110, item=0x8288d29 "10.96.24.130") at item-lib.c:1048 #7 0x0804ed4a in AccessControl ( filename=0xb77f2920 "/disk1/sp/cfengine/cf-masterfiles/cf3.0401", conn=0x8288508, encrypt=1, vadmit=0x8288040, vdeny=0x8288090) at server.c:1971 #8 0x0804cc1f in BusyWithConnection (conn=0x8288508) at server.c:1270 #9 0x0804c4c8 in HandleConnection (conn=0x8288508) at server.c:890 #10 0xb7f1bb63 in start_thread () from /lib/tls/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #11 0xb7d3718a in clone () from /lib/tls/libc.so.6 Thread 3 (Thread -1211892816 (LWP 32761)): #0 0xb7d43321 in pthread_setcanceltype () from /lib/tls/libc.so.6 #1 0x0808d71c in RegExMatchFullString (rex= {rx = {buffer = 0xb7800588 "", allocated = 92, used = 92, syntax = 242428, fastmap = 0xb7800480 "", translate = 0x0, re_nsub = 0, can_be_null = 0, regs_allocated = 0, fastmap_accurate = 1, no_sub = 0, not_bol = 0, not_eol = 0, newline_anchor = 0}, failed = 0, regexp = 0x8286df0 "10.96.*"}, teststring=0x82a7bd1 "10.96.24.33") at matching.c:640 #2 0x0808cbdd in FullTextMatch (regexp=0x8286df0 "10.96.*", teststring=0x82a7bd1 "10.96.24.33") at matching.c:55 #3 0x08070ed1 in IsMatchItemIn (list=0x8286b00, item=0x82a7bd1 "10.96.24.33") at item-lib.c:1048 #4 0x080521bd in CheckStoreKey (conn=0x82a73b0, key=0x82a1b58) at server.c:3432 #5 0x0804f971 in AuthenticationDialogue (conn=0x82a73b0, recvbuffer=0xb7c3d9a0 "", recvlen=61) at server.c:2357 #6 0x0804cf42 in BusyWithConnection (conn=0x82a73b0) at server.c:1023 #7 0x0804c4c8 in HandleConnection (conn=0x82a73b0) at server.c:890 #8 0xb7f1bb63 in start_thread () from /lib/tls/libpthread.so.0 #9 0xb7d3718a in clone () from /lib/tls/libc.so.6 ---Type <return> to continue, or q <return> to quit--- Thread 2 (Thread -1217397840 (LWP 11086)): #0 0xb7f20436 in __lll_mutex_lock_wait () from /lib/tls/libpthread.so.0 #1 0xb7f1d893 in _L_mutex_lock_26 () from /lib/tls/libpthread.so.0 #2 0x00000000 in ?? () #3 0x00000000 in ?? () #4 0x00000000 in ?? () #5 0x00000000 in ?? () #6 0x00000000 in ?? () #7 0xb780c028 in ?? () #8 0xb76fea38 in ?? () #9 0x080990d5 in ThreadLock (name=4294967292) at transaction.c:333 #10 0x080990d5 in ThreadLock (name=4294967292) at transaction.c:333 #11 0x0804c4ff in HandleConnection (conn=0x0) at server.c:896 #12 0xb7f1bb63 in start_thread () from /lib/tls/libpthread.so.0 #13 0xb7d3718a in clone () from /lib/tls/libc.so.6 Thread 1 (Thread -1211890656 (LWP 2707)): #0 0xb7d43321 in pthread_setcanceltype () from /lib/tls/libc.so.6 #1 0x080710c0 in DeleteItem (liststart=0x0, item=0xb7d91900) at item-lib.c:1129 #2 0x0804bf84 in PurgeOldConnections (list=0x828d4e8, now=1271617506) at server.c:672 #3 0x0804b8e8 in StartServer (argc=3, argv=0xbfc58674) at server.c:430 ---Type <return> to continue, or q <return> to quit--- #4 0x0804b1a1 in main (argc=3, argv=0xbfc58674) at server.c:173 #0 0xb7d43321 in pthread_setcanceltype () from /lib/tls/libc.so.6 (gdb)
_______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine