Re: stunnel4-5.50 start failed

Hanhan lee <[email protected]> Sat, 28 Dec 2019 08:46:03 +0800
Newsgroups gmane.network.stunnel.user
Message-ID <CAMw5uaS6npfWTfBqhzp0RpOYXvBakCfqfnVdnETuH_p_=NRcwg@mail.gmail.com>
--===============0485992123085397719==
Content-Type: multipart/alternative; boundary="000000000000f371bd059ab8ef6d"

--000000000000f371bd059ab8ef6d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks,
I tried to comment out "output =3D /var/log/stunnel.log" and it works.

Flo Rance <[email protected]> =E6=96=BC 2019=E5=B9=B412=E6=9C=8827=E6=97=
=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=8810:07=E5=AF=AB=E9=81=93=EF=BC=9A

> This is where the problem lies:
>
> [!] Cannot open log file: /var/log/stunnel.log
>
>
> On Thu, 26 Dec 2019 at 03:48, Hanhan lee <[email protected]> wrote:
> >
> > I compiled stunnel4-5.50 with openssl 1.1.1d.
> > When I run stunnel, it will print some messages and stop:
> >
> > [ ] Clients allowed=3D500
> > [.] 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=3D8)
> > [ ] Setting accept socket options (FD=3D8)
> > [ ] Option SO_REUSEADDR set on accept socket
> > [ ] Option TCP_NODELAY set on accept socket
> > [ ] Service [adviserd] (FD=3D8) bound to :::7582
> > [!] Cannot open log file: /var/log/stunnel.log
> > [ ] Deallocating section defaults
> > [ ] Unbinding service [adviserd]
> > [ ] Service [adviserd] closed (FD=3D8)
> > [ ] Service [adviserd] closed
> > [ ] Deallocating section [adviserd]
> >
> > I have no idea what's wrong with this, help!
> >
> > Many thanks
> > _______________________________________________
> > stunnel-users mailing list
> > [email protected]
> > https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users
>

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

<div dir=3D"ltr">Thanks,<div>I tried to comment out &quot;output =3D /var/l=
og/stunnel.log&quot; and it works.</div></div><br><div class=3D"gmail_quote=
"><div dir=3D"ltr" class=3D"gmail_attr">Flo Rance &lt;<a href=3D"mailto:tro=
[email protected]">[email protected]</a>&gt; =E6=96=BC 2019=E5=B9=B412=E6=
=9C=8827=E6=97=A5 =E9=80=B1=E4=BA=94 =E4=B8=8B=E5=8D=8810:07=E5=AF=AB=E9=81=
=93=EF=BC=9A<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Thi=
s 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 &lt;<a href=3D"mailto:kennewmail@g=
mail.com" target=3D"_blank">[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt; I compiled stunnel4-5.50 with openssl 1.1.1d.<br>
&gt; When I run stunnel, it will print some messages and stop:<br>
&gt;<br>
&gt; [ ] Clients allowed=3D500<br>
&gt; [.] stunnel 5.50 on arm-none-linux-gnueabi platform<br>
&gt; [.] Compiled/running with OpenSSL 1.1.1d=C2=A0 10 Sep 2019<br>
&gt; [.] Threading:PTHREAD Sockets:POLL,IPv6 TLS:ENGINE,FIPS,OCSP,PSK,SNI<b=
r>
&gt; [ ] errno: (*__errno_location ())<br>
&gt; [.] Reading configuration from file /conf/stunnel.conf<br>
&gt; [.] UTF-8 byte order mark not detected<br>
&gt; [.] FIPS mode disabled<br>
&gt; [ ] Compression disabled<br>
&gt; [ ] No PRNG seeding was required<br>
&gt; [ ] Initializing service [adviserd]<br>
&gt; [ ] Ciphers: AES256-SHA256:!RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM<br>
&gt; [ ] TLS options: 0x02104004 (+0x00004000, -0x00000000)<br>
&gt; [ ] Loading certificate from file: /conf/certs/server.pem<br>
&gt; [ ] Certificate loaded from file: /conf/certs/server.pem<br>
&gt; [ ] Loading private key from file: /conf/certs/privkey.pem<br>
&gt; [:] Insecure file permissions on /conf/certs/privkey.pem<br>
&gt; [ ] Private key loaded from file: /conf/certs/privkey.pem<br>
&gt; [ ] Private key check succeeded<br>
&gt; [ ] DH initialization needed for DHE-PSK-CHACHA20-POLY1305<br>
&gt; [ ] DH initialization<br>
&gt; [ ] Could not load DH parameters from /conf/certs/server.pem<br>
&gt; [ ] Using dynamic DH parameters<br>
&gt; [ ] ECDH initialization<br>
&gt; [ ] ECDH initialized with curve prime256v1<br>
&gt; [.] Configuration successful<br>
&gt; [ ] Binding service [adviserd]<br>
&gt; [ ] Listening file descriptor created (FD=3D8)<br>
&gt; [ ] Setting accept socket options (FD=3D8)<br>
&gt; [ ] Option SO_REUSEADDR set on accept socket<br>
&gt; [ ] Option TCP_NODELAY set on accept socket<br>
&gt; [ ] Service [adviserd] (FD=3D8) bound to :::7582<br>
&gt; [!] Cannot open log file: /var/log/stunnel.log<br>
&gt; [ ] Deallocating section defaults<br>
&gt; [ ] Unbinding service [adviserd]<br>
&gt; [ ] Service [adviserd] closed (FD=3D8)<br>
&gt; [ ] Service [adviserd] closed<br>
&gt; [ ] Deallocating section [adviserd]<br>
&gt;<br>
&gt; I have no idea what&#39;s wrong with this, help!<br>
&gt;<br>
&gt; Many thanks<br>
&gt; _______________________________________________<br>
&gt; stunnel-users mailing list<br>
&gt; <a href=3D"mailto:[email protected]" target=3D"_blank">stunnel=
[email protected]</a><br>
&gt; <a href=3D"https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-us=
ers" rel=3D"noreferrer" target=3D"_blank">https://www.stunnel.org/cgi-bin/m=
ailman/listinfo/stunnel-users</a><br>
</blockquote></div>

--000000000000f371bd059ab8ef6d--

--===============0485992123085397719==
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

--===============0485992123085397719==--