Warning: Failed to bind to ldap server '127.0.0.1' as user 'CN=Administrator,CN=Users,DC=core,DC=dir,DC=telstra,DC=com': Can't contact LDAP server
Error: Failed to search for user1.
ocm5-197-196:~ # cat /root/stunnel.log
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Clients allowed=500
2013.01.02 19:31:43 LOG5[18156:46934667927072]: stunnel 4.54 on x86_64-unknown-linux-gnu platform
2013.01.02 19:31:43 LOG5[18156:46934667927072]: Compiled/running with OpenSSL 0.9.8a 11 Oct 2005
2013.01.02 19:31:43 LOG5[18156:46934667927072]: Threading:PTHREAD SSL:+ENGINE Auth:none Sockets:POLL+IPv6
2013.01.02 19:31:43 LOG5[18156:46934667927072]: Reading configuration from file /root/stunnel-4.54/tools/stunnel.conf
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Compression not enabled
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Snagged 64 random bytes from /root/.rnd
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Wrote 1024 new random bytes to /root/.rnd
2013.01.02 19:31:43 LOG7[18156:46934667927072]: PRNG seeded successfully
2013.01.02 19:31:43 LOG6[18156:46934667927072]: Initializing service [ldap]
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Certificate: /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Certificate loaded
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Key file: /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Private key loaded
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Loaded verify certificates from /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Loaded /opt/crt_key.pem revocation lookup file
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Could not load DH parameters from /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Using hardcoded DH parameters
2013.01.02 19:31:43 LOG7[18156:46934667927072]: DH initialized with 2048-bit key
2013.01.02 19:31:43 LOG7[18156:46934667927072]: ECDH initialized with curve prime256v1
2013.01.02 19:31:43 LOG7[18156:46934667927072]: SSL options set: 0x01000004
2013.01.02 19:31:43 LOG6[18156:46934667927072]: Initializing service [ldap-ha]
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Certificate: /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Certificate loaded
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Key file: /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Private key loaded
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Loaded verify certificates from /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Loaded /opt/crt_key.pem revocation lookup file
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Could not load DH parameters from /opt/crt_key.pem
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Using hardcoded DH parameters
2013.01.02 19:31:43 LOG7[18156:46934667927072]: DH initialized with 2048-bit key
2013.01.02 19:31:43 LOG7[18156:46934667927072]: ECDH initialized with curve prime256v1
2013.01.02 19:31:43 LOG7[18156:46934667927072]: SSL options set: 0x01000004
2013.01.02 19:31:43 LOG5[18156:46934667927072]: Configuration successful
2013.01.02 19:31:43 LOG7[18156:46934667927072]: Service [ldap] (FD=7) bound to
0.0.0.0:3892013.01.02 19:31:43 LOG7[18156:46934667927072]: Service [ldap-ha] (FD=8) bound to
0.0.0.0:8389
2013.01.02 19:31:43 LOG7[18157:46934667927072]: Created pid file /var/run/stunnel.pid
2013.01.02 19:32:02 LOG7[18157:46934667927072]: Service [ldap] accepted (FD=3) from
127.0.0.1:39760
2013.01.02 19:32:02 LOG7[18157:1073809728]: Service [ldap] started
2013.01.02 19:32:02 LOG5[18157:1073809728]: Service [ldap] accepted connection from
127.0.0.1:39760
2013.01.02 19:32:02 LOG7[18157:1073809728]: SSL state (accept): before/accept initialization
2013.01.02 19:32:02 LOG3[18157:1073809728]: SSL_accept: 140760FC: error:140760FC:SSL routines:SSL23_GET_CLIENT_HELLO:unknown protocol <----------
2013.01.02 19:32:02 LOG5[18157:1073809728]: Connection reset: 0 byte(s) sent to SSL, 0 byte(s) sent to socket
2013.01.02 19:32:02 LOG7[18157:1073809728]: Local socket (FD=3) closed
2013.01.02 19:32:02 LOG7[18157:1073809728]: Service [ldap] finished (0 left)
appreciate your help.