<div dir="ltr">Thanks,<div>I tried to comment out "output = /var/log/stunnel.log" and it works.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Flo Rance <<a href="mailto:trourance@gmail.com">trourance@gmail.com</a>> 於 2019年12月27日 週五 下午10:07寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">This is where the problem lies:<br>
<br>
[!] Cannot open log file: /var/log/stunnel.log<br>
<br>
<br>
On Thu, 26 Dec 2019 at 03:48, Hanhan lee <<a href="mailto:kennewmail@gmail.com" target="_blank">kennewmail@gmail.com</a>> wrote:<br>
><br>
> I compiled stunnel4-5.50 with openssl 1.1.1d.<br>
> When I run stunnel, it will print some messages and stop:<br>
><br>
> [ ] Clients allowed=500<br>
> [.] stunnel 5.50 on arm-none-linux-gnueabi platform<br>
> [.] Compiled/running with OpenSSL 1.1.1d  10 Sep 2019<br>
> [.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<br>
> [ ] errno: (*__errno_location ())<br>
> [.] Reading configuration from file /conf/stunnel.conf<br>
> [.] UTF-8 byte order mark not detected<br>
> [.] FIPS mode disabled<br>
> [ ] Compression disabled<br>
> [ ] No PRNG seeding was required<br>
> [ ] Initializing service [adviserd]<br>
> [ ] Ciphers: AES256-SHA256:!RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM<br>
> [ ] TLS options: 0x02104004 (+0x00004000, -0x00000000)<br>
> [ ] Loading certificate from file: /conf/certs/server.pem<br>
> [ ] Certificate loaded from file: /conf/certs/server.pem<br>
> [ ] Loading private key from file: /conf/certs/privkey.pem<br>
> [:] Insecure file permissions on /conf/certs/privkey.pem<br>
> [ ] Private key loaded from file: /conf/certs/privkey.pem<br>
> [ ] Private key check succeeded<br>
> [ ] DH initialization needed for DHE-PSK-CHACHA20-POLY1305<br>
> [ ] DH initialization<br>
> [ ] Could not load DH parameters from /conf/certs/server.pem<br>
> [ ] Using dynamic DH parameters<br>
> [ ] ECDH initialization<br>
> [ ] ECDH initialized with curve prime256v1<br>
> [.] Configuration successful<br>
> [ ] Binding service [adviserd]<br>
> [ ] Listening file descriptor created (FD=8)<br>
> [ ] Setting accept socket options (FD=8)<br>
> [ ] Option SO_REUSEADDR set on accept socket<br>
> [ ] Option TCP_NODELAY set on accept socket<br>
> [ ] Service [adviserd] (FD=8) bound to :::7582<br>
> [!] Cannot open log file: /var/log/stunnel.log<br>
> [ ] Deallocating section defaults<br>
> [ ] Unbinding service [adviserd]<br>
> [ ] Service [adviserd] closed (FD=8)<br>
> [ ] Service [adviserd] closed<br>
> [ ] Deallocating section [adviserd]<br>
><br>
> I have no idea what's wrong with this, help!<br>
><br>
> Many thanks<br>
> _______________________________________________<br>
> stunnel-users mailing list<br>
> <a href="mailto:stunnel-users@stunnel.org" target="_blank">stunnel-users@stunnel.org</a><br>
> <a href="https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users" rel="noreferrer" target="_blank">https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users</a><br>
</blockquote></div>