From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: Testing of openvpn-2.6-meetup branch Date: Fri, 06 Dec 2024 12:59:53 +0100 Message-ID: <4ee66855-d930-4924-a8a6-ca025188e3b0@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2432771014267848533==" List-Id: --===============2432771014267848533== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Michael, So I did a pull of the openvpn-2.6-meetup branch from your repo. I noticed th= at it was using OpenVPN-2.6.9 and 2.6.12 is available now so I updated the op= envpn to 2.6.12 and did=C2=A0 a build. Then I installed the created iso and the OpenVPN WUI page came up with an Int= ernal Server Error. The logs indicated that it couldn't find the Compress::Raw::Zlib perl module. That was one of the separate perl modules removed from the system because the= y were now in the core. I checked the perl rootfile on the openvpn-2.6.meetup branch and it had the usr/lib/perl5/5.36.0/xxxMACHINExxx-linux-thread-multi/Compress/Raw/Zlib.pm li= ne commented out. So I uncommented that line in the rootfile and rebuilt the branch and now the= OpenVPN WUI page was shown okay. However when I tried to create a client connection I kept getting an "Oops so= mething went wrong Invalid input" message but it didn't say what was invalid. I then restored a backup with my existing OpenVPN root/host and client settin= gs and using the pencil icon to go into edit mode for one of the known workin= g client connections when I just pressed the Save button without changing any= thing it again gave me the Invalid input message. The other issue I found was that the OpenVPN Server page was constantly showi= ng Stopped. At this point I did a rebuild of the openvpn-2.6-meetup branch with the previ= ous 2.6.9 OpenVPN but the same as above occurred, again with a fresh client c= onnection creation or with the restored known working client connections. I then tried to start the openvpn from the command line to see what messages = it cam up with. I tried first of all using the restart command and got /usr/local/bin/openvpnctrl rw restart Stopping OpenVPN Authenticator...=C2=A0=C2=A0=C2=A0 Not running.=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [ WARN ] Stopping OpenVPN Roadwarrior Server...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 [ FAIL ] Starting OpenVPN Roadwarrior Server... Unable to continue: /var/run/openvpn-rw.pid exists=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 [ WARN ] Starting OpenVPN Authenticator... [=C2=A0 OK=C2=A0 ] so I checked and the openvpn-rw.pid file was present. So I then removed that = file and ran the status command /usr/local/bin/openvpnctrl rw status /usr/sbin/openvpn is not running. Then I ran the start command /usr/local/bin/openvpnctrl rw start Starting OpenVPN Roadwarrior Server...=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 [=C2=A0 OK=C2=A0 ] Starting OpenVPN Authenticator... [=C2=A0 OK=C2=A0 ] So tried the status command again /usr/local/bin/openvpnctrl rw status openvpn is running with Process ID(s)=C2=A0 6883. So good the server is running but when I looked at the OpenVPN WUI page it st= ill showed Stopped, also on the Services page. I then pressed the Save button on the OpenVPN WUI=C2=A0 main page and then ch= ecked the status again and got /usr/local/bin/openvpnctrl rw status /usr/sbin/openvpn is not running but /var/run/openvpn-rw.pid exists. So doing the save caused the server to stop but leave the pid in place. So I am not sure what has changed between our meetup and what I am building n= ow. As far as I can tell from the branch in the repo, nothing has changed sin= ce 23rd Sept. Maybe how I have done the pull of the repo is incorrect in some way and I am = ending up in some mixed up situation but as it stands I definitely cannot tes= t anything. I will try creating a complete new copy of that branch on my system to see if= anything gets better but I am also open to any suggestions of what I might h= ave done wrong. Regards, Adolf --===============2432771014267848533==--