<div dir="ltr">I think I figured out the issue. There were 2 instances of starter process running. Would this have caused `sudo ipsec update` to not really take effect?<div><br></div><div>root 3625 1 0 May12 ? 00:00:00 /usr/lib/ipsec/starter --daemon charon --nofork<br>root 4246 3625 0 May12 ? 00:00:02 /usr/lib/ipsec/charon<br>root 5313 1 0 May12 ? 00:00:00 /usr/lib/ipsec/starter --daemon charon<br></div><div><br></div><div>--karuna</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 12, 2021 at 12:24 PM Karuna Sagar Krishna <<a href="mailto:karunasagark@gmail.com">karunasagark@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I see that `sudo ipsec status` return exit code 3. Couldn't find the significance of this exit code in the documentation. Can you help understand what exit code 3 implies?<div><br></div><div>--karuna</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 12, 2021 at 10:15 AM Noel Kuntze <noel.kuntze@thermi.consulting> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">the strace isn't useful because starter is doing the reading and loading of the config. "ipsec" only tells starter to do that.<br>
Please run dos2unix on the config files on the server and check if that helps.<br>
<br>
Am 12.05.21 um 18:49 schrieb Karuna Sagar Krishna:<br>
> Ah yes, that is probably because I copied the contents of ipsec.conf from my terminal window to notepad. I verified that on the Ubuntu nodes it uses Unix line endings and in production scenario this file is generated by scripts on the Ubuntu node itself.<br>
><br>
> --karuna<br>
><br>
><br>
> On Wed, May 12, 2021 at 6:58 AM Tobias Brunner <<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a> <mailto:<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a>>> wrote:<br>
><br>
> Hi Karuna,<br>
><br>
> > @Tobias Brunner <mailto:<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a> <mailto:<a href="mailto:tobias@strongswan.org" target="_blank">tobias@strongswan.org</a>>> do you have any inputs on<br>
> > this issue?<br>
><br>
> Make sure your config file uses Unix line endings (\n) and not Windows<br>
> (\r\n), which the file you sent does.<br>
><br>
> Regards,<br>
> Tobias<br>
><br>
<br>
<br>
</blockquote></div>
</blockquote></div>