stunnel4-5.50 start failed

Hanhan lee <[email protected]> Thu, 26 Dec 2019 10:47:59 +0800
Newsgroups gmane.network.stunnel.user
Message-ID <CAMw5uaTKC+2oD1Q4giBGj8bQ_PJtyYwL_wbLGYyxjQThngFhtQ@mail.gmail.com>
--===============1772623065604183871==
Content-Type: multipart/alternative; boundary="0000000000005c2adc059a9268b2"

--0000000000005c2adc059a9268b2
Content-Type: text/plain; charset="UTF-8"

I compiled stunnel4-5.50 with openssl 1.1.1d.
When I run stunnel, it will print some messages and stop:

[ ] Clients allowed=500
[.] stunnel 5.50 on arm-none-linux-gnueabi platform
[.] Compiled/running with OpenSSL 1.1.1d  10 Sep 2019
[.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI
[ ] errno: (*__errno_location ())
[.] Reading configuration from file /conf/stunnel.conf
[.] UTF-8 byte order mark not detected
[.] FIPS mode disabled
[ ] Compression disabled
[ ] No PRNG seeding was required
[ ] Initializing service [adviserd]
[ ] Ciphers: AES256-SHA256:!RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM
[ ] TLS options: 0x02104004 (+0x00004000, -0x00000000)
[ ] Loading certificate from file: /conf/certs/server.pem
[ ] Certificate loaded from file: /conf/certs/server.pem
[ ] Loading private key from file: /conf/certs/privkey.pem
[:] Insecure file permissions on /conf/certs/privkey.pem
[ ] Private key loaded from file: /conf/certs/privkey.pem
[ ] Private key check succeeded
[ ] DH initialization needed for DHE-PSK-CHACHA20-POLY1305
[ ] DH initialization
[ ] Could not load DH parameters from /conf/certs/server.pem
[ ] Using dynamic DH parameters
[ ] ECDH initialization
[ ] ECDH initialized with curve prime256v1
[.] Configuration successful
[ ] Binding service [adviserd]
[ ] Listening file descriptor created (FD=8)
[ ] Setting accept socket options (FD=8)
[ ] Option SO_REUSEADDR set on accept socket
[ ] Option TCP_NODELAY set on accept socket
[ ] Service [adviserd] (FD=8) bound to :::7582
[!] Cannot open log file: /var/log/stunnel.log
[ ] Deallocating section defaults
[ ] Unbinding service [adviserd]
[ ] Service [adviserd] closed (FD=8)
[ ] Service [adviserd] closed
[ ] Deallocating section [adviserd]

I have no idea what's wrong with this, help!

Many thanks

--0000000000005c2adc059a9268b2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I compiled stunnel4-5.50 with openssl 1.1.1d.<div>When I r=
un stunnel, it will print some messages and stop:</div><div><br></div><div>=
[ ] Clients allowed=3D500<br>[.] stunnel 5.50 on arm-none-linux-gnueabi pla=
tform<br>[.] Compiled/running with OpenSSL 1.1.1d =C2=A010 Sep 2019<br>[.] =
Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<br>[ ] err=
no: (*__errno_location ())<br>[.] Reading configuration from file /conf/stu=
nnel.conf<br>[.] UTF-8 byte order mark not detected<br>[.] FIPS mode disabl=
ed<br>[ ] Compression disabled<br>[ ] No PRNG seeding was required<br>[ ] I=
nitializing service [adviserd]<br>[ ] Ciphers: AES256-SHA256:!RC4:HIGH:!MD5=
:!aNULL:!EDH:!AESGCM<br>[ ] TLS options: 0x02104004 (+0x00004000, -0x000000=
00)<br>[ ] Loading certificate from file: /conf/certs/server.pem<br>[ ] Cer=
tificate loaded from file: /conf/certs/server.pem<br>[ ] Loading private ke=
y from file: /conf/certs/privkey.pem<br>[:] Insecure file permissions on /c=
onf/certs/privkey.pem<br>[ ] Private key loaded from file: /conf/certs/priv=
key.pem<br>[ ] Private key check succeeded<br>[ ] DH initialization needed =
for DHE-PSK-CHACHA20-POLY1305<br>[ ] DH initialization<br>[ ] Could not loa=
d DH parameters from /conf/certs/server.pem<br>[ ] Using dynamic DH paramet=
ers<br>[ ] ECDH initialization<br>[ ] ECDH initialized with curve prime256v=
1<br>[.] Configuration successful<br>[ ] Binding service [adviserd]<br>[ ] =
Listening file descriptor created (FD=3D8)<br>[ ] Setting accept socket opt=
ions (FD=3D8)<br>[ ] Option SO_REUSEADDR set on accept socket<br>[ ] Option=
 TCP_NODELAY set on accept socket<br>[ ] Service [adviserd] (FD=3D8) bound =
to :::7582<br>[!] Cannot open log file: /var/log/stunnel.log<br>[ ] Dealloc=
ating section defaults<br>[ ] Unbinding service [adviserd]<br>[ ] Service [=
adviserd] closed (FD=3D8)<br>[ ] Service [adviserd] closed<br>[ ] Deallocat=
ing section [adviserd]<br></div><div><br></div><div>I have no idea what&#39=
;s wrong with this, help!</div><div><br></div><div>Many thanks</div></div>

--0000000000005c2adc059a9268b2--

--===============1772623065604183871==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
stunnel-users mailing list
[email protected]
https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

--===============1772623065604183871==--