Hi,I use stunnel 4.20 with syslog-ng 2.0,os is centos 5.0.but there are bind errors: ........................... 2007.06.22 05:56:36 LOG7[2898:3086632640]: SO_REUSEADDR option set on accept socket 2007.06.22 05:56:36 LOG3[2898:3086632640]: Error binding 5141 to 192.168.0.1:5141 2007.06.22 05:56:36 LOG3[2898:3086632640]: bind: Cannot assign requested address (99)
The stunnel conf : ............................ cert = /usr/local/stunnel/etc/stunnel/syslog-ng-server.pem CAfile = /usr/local/stunnel/etc/stunnel/syslog-ng-client.pem [5141] accept = 192.168.0.1:5141 connect = 127.0.0.1:514
How to correct it?Any suggestion and advice are appreciated. Thanks. Regards.
Around about 2007-06-22 09:40 +0800, ictforever drawled:
2007.06.22 05:56:36 LOG3[2898:3086632640]: Error binding 5141 to 192.168.0.1:5141 2007.06.22 05:56:36 LOG3[2898:3086632640]: bind: Cannot assign requested address (99)
Could be something is already bound to that port.
Do a 'sudo lsof -i tcp' and see if there are any LISTEN sockets with that port already opened. (Netstat -ntp will show you as well, if your netstat supports those args.)
After reading and becoming dizzy, I'm looking for someone who can help me setup stunnel and openssl on a Windows 2003 server and XP client to secure IMAP, POP, SMTP, etc.
If you are interested, please email me with what you would change. I'm starting from scratch on a new server and I don't have a background in this but I am a programmer so as long as you can explain it, I am sure we can get it working.
Thanks, John