[strongSwan] preparing MySQL statement failed: Commands out of sync; you can't run this command now

Giuseppe De Marco giuseppe.demarco at unical.it
Mon Nov 6 10:35:27 CET 2017


I just had to tell you these informations,

I do not use mysql but mariadb as Debian9 standard introduces.
So, the development files upon the code was compiled are these:

libmariadbclient-dev-compat/stable,stable,now 10.1.26-0+deb9u1 amd64


2017-11-06 10:32 GMT+01:00 Tobias Brunner <tobias at strongswan.org>:

> Hi Giuseppe,
>
> > ipsec pool --replace net1_pool --addresses /etc/ipsec.pools
> > preparing MySQL statement failed: Commands out of sync; you can't run
> > this command now
> > deleting pool failed.
>
> I think the problem is that there are two commands executed overlapping
> on the same connection (prepared statement to check if the pool exists
> and the deletion of that pool).  Apparently, the MySQL client doesn't
> like that.  I pushed a fix for it to the pool-replace-mysql branch [1].
>
> Regards,
> Tobias
>
> [1]
> https://git.strongswan.org/?p=strongswan.git;a=shortlog;h=
> refs/heads/pool-replace-mysql
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strongswan.org/pipermail/users/attachments/20171106/712eea94/attachment.html>


More information about the Users mailing list