Subject | Stunnel/Firebird bind error |
---|---|
Author | nxciro |
Post date | 2006-06-17T13:29:05Z |
Hello
I am trying to set up stunnel for firebird
(using the receipt from the ib-phoenix site
which has a small error describing the rehashing
of the server.crt) so far I can connect from windows
machines to the Fb 1.5.3 SS running on Suse10.0 (which also runs the
stunnel server), but I have problems to connect from Suse10.1
(new install , just latest patches of the day)
The certificate verification on the Suse10.1 machine works
ok , but then Stunnel does not come up , here is the log file:
+++++
2006.06.17 20:51:04 LOG5[13200:1]: stunnel 4.14 on
x86_64-suse-linux-gnu UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.8a
11 Oct 2005
2006.06.17 20:51:04 LOG7[13200:1]: Snagged 64 random bytes
from /root/.rnd
2006.06.17 20:51:04 LOG7[13200:1]: Wrote 1024 new random bytes
to /root/.rnd
2006.06.17 20:51:04 LOG7[13200:1]: RAND_status claims sufficient
entropy for the PRNG
2006.06.17 20:51:04 LOG6[13200:1]: PRNG seeded successfully
2006.06.17 20:51:04 LOG7[13200:1]:
Certificate: /etc/stunnel/client.pem
2006.06.17 20:51:04 LOG7[13200:1]: Key file: /etc/stunnel/client.key
2006.06.17 20:51:04 LOG7[13200:1]: Loaded verify certificates
from /etc/stunnel/CAcert.pem
2006.06.17 20:51:04 LOG7[13200:1]: Verify directory set
to /etc/stunnel/certs
2006.06.17 20:51:04 LOG5[13200:1]: Peer certificate
location /etc/stunnel/certs
2006.06.17 20:51:04 LOG6[13200:1]: file ulimit = 1024 (can be changed
with 'ulimit -n')
2006.06.17 20:51:04 LOG6[13200:1]: poll() used - no FD_SETSIZE limit
for file descriptors
2006.06.17 20:51:04 LOG5[13200:1]: 500 clients allowed
2006.06.17 20:51:04 LOG7[13200:1]: FD 5 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: FD 6 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: FD 7 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: SO_REUSEADDR option set on accept
socket
2006.06.17 20:51:04 LOG3[13200:1]: Error binding firebird to
127.0.0.0:3050
2006.06.17 20:51:04 LOG3[13200:1]: bind: Address already in use (98)
****
Well , I have a fb SS 2.0 RC2 running on the Suse10.1 machine
but this should not be a problem or am I wrong here ?
the stunnel.conf file
has following entry
[firebird]
accept = 127.0.0.1:3050
connect = (ip not shown):3051
Thanks for any ideas.
I am trying to set up stunnel for firebird
(using the receipt from the ib-phoenix site
which has a small error describing the rehashing
of the server.crt) so far I can connect from windows
machines to the Fb 1.5.3 SS running on Suse10.0 (which also runs the
stunnel server), but I have problems to connect from Suse10.1
(new install , just latest patches of the day)
The certificate verification on the Suse10.1 machine works
ok , but then Stunnel does not come up , here is the log file:
+++++
2006.06.17 20:51:04 LOG5[13200:1]: stunnel 4.14 on
x86_64-suse-linux-gnu UCONTEXT+POLL+IPv4+LIBWRAP with OpenSSL 0.9.8a
11 Oct 2005
2006.06.17 20:51:04 LOG7[13200:1]: Snagged 64 random bytes
from /root/.rnd
2006.06.17 20:51:04 LOG7[13200:1]: Wrote 1024 new random bytes
to /root/.rnd
2006.06.17 20:51:04 LOG7[13200:1]: RAND_status claims sufficient
entropy for the PRNG
2006.06.17 20:51:04 LOG6[13200:1]: PRNG seeded successfully
2006.06.17 20:51:04 LOG7[13200:1]:
Certificate: /etc/stunnel/client.pem
2006.06.17 20:51:04 LOG7[13200:1]: Key file: /etc/stunnel/client.key
2006.06.17 20:51:04 LOG7[13200:1]: Loaded verify certificates
from /etc/stunnel/CAcert.pem
2006.06.17 20:51:04 LOG7[13200:1]: Verify directory set
to /etc/stunnel/certs
2006.06.17 20:51:04 LOG5[13200:1]: Peer certificate
location /etc/stunnel/certs
2006.06.17 20:51:04 LOG6[13200:1]: file ulimit = 1024 (can be changed
with 'ulimit -n')
2006.06.17 20:51:04 LOG6[13200:1]: poll() used - no FD_SETSIZE limit
for file descriptors
2006.06.17 20:51:04 LOG5[13200:1]: 500 clients allowed
2006.06.17 20:51:04 LOG7[13200:1]: FD 5 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: FD 6 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: FD 7 in non-blocking mode
2006.06.17 20:51:04 LOG7[13200:1]: SO_REUSEADDR option set on accept
socket
2006.06.17 20:51:04 LOG3[13200:1]: Error binding firebird to
127.0.0.0:3050
2006.06.17 20:51:04 LOG3[13200:1]: bind: Address already in use (98)
****
Well , I have a fb SS 2.0 RC2 running on the Suse10.1 machine
but this should not be a problem or am I wrong here ?
the stunnel.conf file
has following entry
[firebird]
accept = 127.0.0.1:3050
connect = (ip not shown):3051
Thanks for any ideas.