I have more information. I commented out chroot in the config file and it works.
#chroot = /usr/local/var/run/stunnel/
-----Original Message-----
From: stunnel-users-bounces(a)mirt.net [mailto:stunnel-users-bounces@mirt.net]On Behalf Of Garg, Jai V (Jai)
Sent: Friday, October 08, 2004 6:04 PM
To: stunnel-users(a)mirt.net
Subject: [stunnel-users] RE: stunnel on Solaris 2.6 or 7?
I have more informaton on the problem. It is giving the following error when doing pthread_create() in create_client()
open(/dev/zero): No such file or directory
libthread panic: alloc_chunk (PID: 8605 LWP 1)
stacktrace:
ef3c9938
ef3c83e8
ef3c8184
ef3cebf0
ef3cbdf8
ef3cfe80
1ad24
1ba28
1bbb8
13e68
0
-----Original Message-----
From: Garg, Jai V (Jai)
Sent: Friday, October 08, 2004 3:42 PM
To: stunnel-users(a)mirt.net
Subject: stunnel on Solaris 2.6 or 7?
Hello,
Has anyone successfully used stunnel on Solaris 2.6 or Solaris 7? I would appreciate if you can provide the binary.
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:
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
04
2004.10.08 13:05:20 LOG7[21833:1]: RAND_status claims sufficient entropy for the PRNG
2004.10.08 13:05:20 LOG6[21833:1]: PRNG seeded successfully
2004.10.08 13:05:20 LOG5[21833:1]: FD_SETSIZE=1024, file ulimit=64 -> 29 clients allowed
2004.10.08 13:05:20 LOG7[21833:1]: FD 4 in non-blocking mode
2004.10.08 13:05:20 LOG7[21833:1]: SO_REUSEADDR option set on accept socket
2004.10.08 13:05:20 LOG7[21833:1]: SeS_SOCKS_NJ bound to 0.0.0.0:1373
2004.10.08 13:05:20 LOG7[21833:1]: FD 5 in non-blocking mode
2004.10.08 13:05:20 LOG7[21833:1]: FD 6 in non-blocking mode
2004.10.08 13:05:20 LOG7[21834:1]: Created pid file /stunnel-client.pid
2004.10.08 13:05:25 LOG7[21834:1]: SeS_SOCKS_NJ accepted FD=0 from 155.184.22.17:62844
2004.10.08 13:05:25 LOG7[21834:1]: FD 0 in non-blocking mode
I appreciate all help with this.
Jai