[Csync2] initial installation howto debian: Establishing SSL connection failed

Wayne Gemmell wayne at flashmedia.co.za
Tue May 13 11:07:26 CEST 2008


On Friday 04 April 2008 11:44:38 www.tiri.li high availability wrote:
> Why fails the SSL connection ?
>
> Thanks for any help in advance.

I have exactly the same problem with the same simple setup. I just thought I'd 
chip in with a strace of the server instance hoping someone will have a 
solution for this.

<strace>
	open("/lib/libgpg-error.so.0", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\6\0\000"..., 512) = 
512
fstat64(3, {st_mode=S_IFREG|0644, st_size=11468, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7ce5000
mmap2(NULL, 14352, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
0xb7ce1000
mmap2(0xb7ce4000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|
MAP_DENYWRITE, 3, 0x2) = 0xb7ce4000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7ce0000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7ce06b0, limit:1048575, 
seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
seg_not_present:0, useable:1}) = 0
mprotect(0xb7ec2000, 4096, PROT_READ)   = 0
munmap(0xb7fbd000, 46991)               = 0
set_tid_address(0xb7ce06f8)             = 30366
set_robust_list(0xb7ce0700, 0xc)        = 0
futex(0xbfb2ec40, 0x81 /* FUTEX_??? */, 1) = 0
rt_sigaction(SIGRTMIN, {0xb7d172c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb7d17340, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
uname({sys="Linux", node="gateway2", ...}) = 0
brk(0)                                  = 0x805e000
brk(0x807f000)                          = 0x807f000
access("/etc/csync2.lock", F_OK)        = -1 ENOENT (No such file or 
directory)
uname({sys="Linux", node="gateway2", ...}) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
setsockopt(3, SOL_SOCKET, SO_LINGER, {onoff=1, linger=5}, 8) = 0
setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0
bind(3, {sa_family=AF_INET, sin_port=htons(30865), 
sin_addr=inet_addr("0.0.0.0")}, 16) = 0
listen(3, 5)                            = 0
rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}, 8) = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 1), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7fc8000
write(1, "Csync2 daemon running. Waiting f"..., 48Csync2 daemon running. 
Waiting for connections.
) = 48
accept(3, {sa_family=AF_INET, sin_port=htons(41044), 
sin_addr=inet_addr("192.168.0.1")}, [16]) = 4
clone(<30367> New connection from 192.168.0.1:41044.
Peer> SSL\n
Local> OK (activating_ssl).\n
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0xb7ce06f8) = 30367
close(4)                                = 0
accept(3, <30367> Establishing SSL connection failed.
</strace>

Any ideas?

-- 
Regards
Wayne 


More information about the Csync2 mailing list