-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/15/10 2:37 PM, Stefan Bruda wrote: > Hi, > > I have upgraded stunnel4 to the version mentioned in the subject. > This new version however fails to connect. This is what I get in the > logs (IP addresses obscured): > > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: Reading > configuration from file > /var/folders/bk/bkbnVDi1EkGHozZkZEKxSU+++TI/-Tmp-/vm583262314 > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: > Configuration successful > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: Clients > allowed=500 > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: stunnel > 4.34 on i386-apple-darwin10.5.0 with OpenSSL 0.9.8l 5 Nov 2009 > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: > Threading:PTHREAD SSL:ENGINE Sockets:SELECT,IPv6 Auth:LIBWRAP > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: > connect_blocking: connected x.x.x.x:993 > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: Service > stunnel connected remote server from y.y.y.y:55876 > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: Error > detected on socket (read) file descriptor: Socket operation on non-socket (38) > Nov 15 14:15:18 godel stunnel[26702]: LOG5[26702:140735073397920]: Connection > reset: 0 bytes sent to SSL, 109 bytes sent to socket > > Looking further into the matter it would appear that the binary itself > is not working well. Indeed, with the 4.34 in place I get: > > < godel:~ > which stunnel > /opt/sw64/bin/stunnel > < godel:~ > stunnel -version > -bash: /opt/sw64/sbin/stunnel: No such file or directory > > Note that /opt/sw64 is my Fink root. With the 4.10 in place things > work as they should: > > < godel:~ > which stunnel > /opt/sw64/sbin/stunnel > < godel:~ > stunnel -version > stunnel 4.10 on i686-apple-darwin10.5.0 PTHREAD+IPv4+LIBWRAP with OpenSSL > 0.9.8l 5 Nov 2009 > > Global options > cert = /opt/sw64/etc/stunnel/stunnel.pem > ciphers = AES:ALL:!aNULL:!eNULL:+RC4:@STRENGTH > debug = 5 > key = /opt/sw64/etc/stunnel/stunnel.pem > pid = /opt/sw64/var/run/stunnel.pid > RNDbytes = 64 > RNDfile = /dev/urandom > RNDoverwrite = yes > session = 300 seconds > verify = none > > Service-level options > TIMEOUTbusy = 300 seconds > TIMEOUTclose = 60 seconds > TIMEOUTconnect = 10 seconds > TIMEOUTidle = 43200 seconds > > I am using stunnel to connect to an IMAP server from within VM if > that's of any use. > > The older version (4.33-101) worked beautifully. I have downgraded to > 4.10 and this works beautifully too. Any idea what I should do to > make the latest and greatest work? > > I am running fink 0.29.17 (x86_64, unstable) on Mac OS 10.6.5. > > Many thanks in advance, > Stefan >
Try starting a new terminal window or run "hash -r" since you're using bash. The stunnel executable moved: you show /opt/sw64/sbin/stunnel as the executable for stunnel-4.10 and /opt/sw64/bin/stunnel for stunnel-4.34, but the lookup table containing everything in the PATH in your shell session didn't automatically update itself for some reason. > P.S. By the way, is there any possibility to revert to the immediately > older version after an upgrade? I cannot seem to figure out how. > If by "immediately older" you mean "the version before updating", then the answer is yes, provided that you didn't run "fink cleanup". You can use "fink dumpinfo -fallversions <packagename>" to find all of the known versions of a package: stable, unstable, binary distribution, and locally built binary. The locally built ones are marked with a "b". Then you can install the older version with apt-get: sudo apt-get install package=1.2.3-4 Note that apt-get needs = between the package name and version, rather than -. - -- Alexander Hansen, Ph.D. Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzhn3UACgkQB8UpO3rKjQ9WggCdExeBIouD27eAMvdfY0PDvNpA 1J0AoIuuUgJbqz76gqinvLcWKVO9bxJN =Eu3G -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
