<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE>RE: stunnel on Solaris 2.6 or 7?</TITLE>
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=222593223-08102004>I have
more information. I commented out chroot in the config file and it
works.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=222593223-08102004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN
class=222593223-08102004>#chroot =
/usr/local/var/run/stunnel/<BR></SPAN></FONT></DIV>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> stunnel-users-bounces@mirt.net
[mailto:stunnel-users-bounces@mirt.net]<B>On Behalf Of </B>Garg, Jai V
(Jai)<BR><B>Sent:</B> Friday, October 08, 2004 6:04 PM<BR><B>To:</B>
stunnel-users@mirt.net<BR><B>Subject:</B> [stunnel-users] RE: stunnel on Solaris
2.6 or 7?<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial color=#0000ff size=2>I have more informaton on the
problem. It is giving the following error when doing pthread_create() in
create_client()</FONT> </P>
<P><FONT face=Arial color=#0000ff size=2>open(/dev/zero): No such file or
directory</FONT> <BR><FONT face=Arial color=#0000ff size=2>libthread panic:
alloc_chunk (PID: 8605 LWP 1)</FONT> <BR><FONT face=Arial color=#0000ff
size=2>stacktrace:</FONT> <BR><FONT face=Arial color=#0000ff
size=2> ef3c9938</FONT> <BR><FONT
face=Arial color=#0000ff size=2>
ef3c83e8</FONT> <BR><FONT face=Arial color=#0000ff
size=2> ef3c8184</FONT> <BR><FONT
face=Arial color=#0000ff size=2>
ef3cebf0</FONT> <BR><FONT face=Arial color=#0000ff
size=2> ef3cbdf8</FONT> <BR><FONT
face=Arial color=#0000ff size=2>
ef3cfe80</FONT> <BR><FONT face=Arial color=#0000ff
size=2> 1ad24</FONT> <BR><FONT
face=Arial color=#0000ff size=2>
1ba28</FONT> <BR><FONT face=Arial color=#0000ff
size=2> 1bbb8</FONT> <BR><FONT
face=Arial color=#0000ff size=2>
13e68</FONT> <BR><FONT face=Arial color=#0000ff
size=2> 0</FONT> </P>
<P><FONT face=Arial color=#0000ff size=2></FONT><SPAN lang=en-us></SPAN><SPAN
lang=en-us></SPAN><SPAN lang=en-us> <FONT face=Tahoma size=1>-----Original
Message-----</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Tahoma
size=1>From: </FONT></B> <FONT face=Tahoma size=1>Garg, Jai V (Jai)
</FONT></SPAN><BR><SPAN lang=en-us><B><FONT face=Tahoma
size=1>Sent: </FONT></B> <FONT face=Tahoma size=1>Friday, October 08,
2004 3:42 PM</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT face=Tahoma
size=1>To: </FONT></B> <FONT face=Tahoma
size=1>stunnel-users@mirt.net</FONT></SPAN> <BR><SPAN lang=en-us><B><FONT
face=Tahoma size=1>Subject: </FONT></B>
<FONT face=Tahoma size=1>stunnel on Solaris 2.6 or 7?</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial size=2>Hello,</FONT></SPAN> <BR><SPAN
lang=en-us> <FONT face=Arial
size=2>Has anyone successfully used stunnel on Solaris 2.6 or Solaris 7? I
would appreciate if you can provide the binary.</FONT></SPAN></P>
<P><SPAN lang=en-us> <FONT face=Arial
size=2>I am using gcc (tried both 3.3.2 and 3.4.2) on 2.6. It compiles,
but it seems to hang somewhere after accepting a connection. Here's the
log:</FONT></SPAN></P>
<P><SPAN lang=en-us><FONT face=Arial size=2>2004.10.08 13:05:20 LOG5[21833:1]:
stunnel 4.05 on sparc-sun-solaris2.6 PTHREAD with OpenSSL 0.9.7d 17 Mar
20</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>04</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=2>2004.10.08 13:05:20 LOG7[21833:1]:
RAND_status claims sufficient entropy for the PRNG</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial size=2>2004.10.08 13:05:20 LOG6[21833:1]: PRNG
seeded successfully</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>2004.10.08 13:05:20 LOG5[21833:1]: FD_SETSIZE=1024, file ulimit=64 ->
29 clients allowed</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>2004.10.08 13:05:20 LOG7[21833:1]: FD 4 in non-blocking
mode</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>2004.10.08
13:05:20 LOG7[21833:1]: SO_REUSEADDR option set on accept socket</FONT></SPAN>
<BR><SPAN lang=en-us><FONT face=Arial size=2>2004.10.08 13:05:20 LOG7[21833:1]:
SeS_SOCKS_NJ bound to 0.0.0.0:1373</FONT></SPAN> <BR><SPAN lang=en-us><FONT
face=Arial size=2>2004.10.08 13:05:20 LOG7[21833:1]: FD 5 in non-blocking
mode</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial size=2>2004.10.08
13:05:20 LOG7[21833:1]: FD 6 in non-blocking mode</FONT></SPAN> <BR><SPAN
lang=en-us><FONT face=Arial size=2>2004.10.08 13:05:20 LOG7[21834:1]: Created
pid file /stunnel-client.pid</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>2004.10.08 13:05:25 LOG7[21834:1]: SeS_SOCKS_NJ accepted FD=0 from
155.184.22.17:62844</FONT></SPAN> <BR><SPAN lang=en-us><FONT face=Arial
size=2>2004.10.08 13:05:25 LOG7[21834:1]: FD 0 in non-blocking
mode</FONT></SPAN> </P>
<P><SPAN lang=en-us> <FONT face=Arial
size=2>I appreciate all help with this.</FONT></SPAN> </P>
<P><SPAN lang=en-us><FONT face=Arial size=2>Jai</FONT></SPAN> </P></BODY></HTML>