<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Yesterday, I also tried manualy with varnish 6.1 and the first time
I believed it was working. But after 1 or 2 minute (I think to a
timeout) I had the same error : "Child not responding to CLI, killed
it."<br>
<br>
Thanks Guillaume for your help !<br>
<br>
Regards,<br>
<br>
--<br>
<br>
Adrien Bigot<br>
<div class="moz-signature"><br>
<div></div>
</div>
<div class="moz-cite-prefix">Le 24/09/2018 à 18:58, Guillaume
Quintard a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAJ6ZYQzQB-uBSo3HUCcUo6xvsGr0pEM5zLB8mO9g8p2tp3KR8w@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<div dir="ltr">Confirmed using a Dockerfile (weirdly it worked the
first time when I did it manually), looks like we have a bug.
I'll look into it<br clear="all">
<div>
<div dir="ltr" class="gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>-- <br>
</div>
Guillaume Quintard<br>
</div>
</div>
</div>
<br>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Sep 18, 2018 at 11:36 AM BIGOT Adrien
<<a href="mailto:adrien.bigot@smile.fr"
moz-do-not-send="true">adrien.bigot@smile.fr</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
Based on this blog article : <br>
<a
href="https://info.varnish-software.com/blog/one-vcl-per-domain"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://info.varnish-software.com/blog/one-vcl-per-domain</a>
I've been <br>
using multiple VCL with Varnish 5.2 without any problem.<br>
However, I don't manage to get it working with Varnish 6.<br>
<br>
I tried with the latest stable version on <a
href="http://packagecloud.io" rel="noreferrer"
target="_blank" moz-do-not-send="true">packagecloud.io</a>
and even with <br>
the latest weekly-build.<br>
Tested on Debian Strecth, Ubuntu 16.04 and Centos 7.<br>
<br>
<br>
[root@ip-172-31-137-19 varnish]# varnishd -I start.cli -F -a
:80 -f ''<br>
Debug: Version: varnish-6.0.1 revision <br>
8d54bec5330c29304979ebf2c425ae14ab80493c<br>
Debug: Platform: <br>
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit<br>
BEGIN of -I file processing<br>
200 326<br>
-----------------------------<br>
Varnish Cache CLI 1.0<br>
-----------------------------<br>
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit<br>
varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c<br>
<br>
Type 'help' for command list.<br>
Type 'quit' to close CLI session.<br>
Type 'start' to launch worker process.<br>
<br>
> vcl.load vcl-api-orig /etc/varnish/api.vcl<br>
200 14<br>
VCL compiled.<br>
<br>
> vcl.load vcl-catz-orig /etc/varnish/catz.vcl<br>
200 14<br>
VCL compiled.<br>
<br>
> vcl.label label-api vcl-api-orig<br>
200 0<br>
<br>
> vcl.label label-catz vcl-catz-orig<br>
200 0<br>
<br>
> vcl.load vcl-root-orig /etc/varnish/root.vcl<br>
200 14<br>
VCL compiled.<br>
<br>
> vcl.use vcl-root-orig<br>
200 30<br>
VCL 'vcl-root-orig' now active<br>
END of -I file processing<br>
CLI result = 400<br>
<br>
<br>
<br>
In the logs :<br>
<br>
On Centos<br>
sept. 18 08:35:37 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
su[11820]: <br>
pam_unix(su:session): session opened for user root by
ec2-user(uid=0)<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Version: varnish-6.0.1 revision
8d54bec5330c29304979ebf2c425ae14ab80493c<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Platform: <br>
Linux,3.10.0-862.3.2.el7.x86_64,x86_64,-junix,-sdefault,-sdefault,-hcritbit<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.load vcl-api-orig /etc/varnish/api.vcl<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Wr 200 VCL compiled.<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.load vcl-catz-orig /etc/varnish/catz.vcl<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Wr 200 VCL compiled.<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.label label-api vcl-api-orig<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Wr 200<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.label label-catz vcl-catz-orig<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Wr 200<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.load vcl-root-orig /etc/varnish/root.vcl<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Wr 200 VCL compiled.<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
CLI -I file Rd vcl.use vcl-root-orig<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm
varnishd[11846]: <br>
CLI -I file Wr 200 VCL 'vcl-root-orig' now active<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Child (11870) Started<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Child (11870) not responding to CLI, killed it.<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Child (11870) Pushing vcls failed:<br>
CLI communication error<br>
sept. 18 08:36:34 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Stopping Child<br>
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxxm
varnishd[11846]: <br>
Child (11870) died signal=3<br>
sept. 18 08:36:35 ip-172-31-137-19.xxxxxxxxxxxxxxxxxx
varnishd[11846]: <br>
Child cleanup complete<br>
<br>
On Debian :<br>
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child (6809)
said Child <br>
starts<br>
Sep 18 10:07:01 ip-172-31-137-84 varnishd[6783]: Child cleanup
complete<br>
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Version:
varnish-6.0.1 <br>
revision 8d54bec5330c29304979ebf2c425ae14ab80493c<br>
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: Platform: <br>
Linux,4.9.0-8-amd64,x86_64,-junix,-sdefault,-sdefault,-hcritbit<br>
Sep 18 10:07:02 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd vcl.load <br>
vcl-api-orig /etc/varnish/api.vcl<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200 VCL <br>
compiled.<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd vcl.load <br>
vcl-catz-orig /etc/varnish/catz.vcl<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200 VCL <br>
compiled.<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd <br>
vcl.label label-api vcl-api-orig<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd <br>
vcl.label label-catz vcl-catz-orig<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd vcl.load <br>
vcl-root-orig /etc/varnish/root.vcl<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200 VCL <br>
compiled.<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Rd vcl.use <br>
vcl-root-orig<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: CLI -I file
Wr 200 VCL <br>
'vcl-root-orig' now active<br>
Sep 18 10:07:03 ip-172-31-137-84 varnishd[6816]: Child (6842)
Started<br>
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842)
not <br>
responding to CLI, killed it.<br>
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Child (6842)
Pushing <br>
vcls failed:<br>
CLI
communication <br>
error (hdr)<br>
Sep 18 10:08:03 ip-172-31-137-84 varnishd[6816]: Stopping
Child<br>
Sep 18 10:08:04 ip-172-31-137-84 varnishd[6816]: Child (6842)
died signal=3<br>
<br>
<br>
Did anyone manage to get it working with varnish 6 ?<br>
<br>
Thank you.<br>
<br>
Best regards,<br>
<br>
-- <br>
<br>
Bigot Adrien<br>
_______________________________________________<br>
varnish-misc mailing list<br>
<a href="mailto:varnish-misc@varnish-cache.org"
target="_blank" moz-do-not-send="true">varnish-misc@varnish-cache.org</a><br>
<a
href="https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc"
rel="noreferrer" target="_blank" moz-do-not-send="true">https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc</a><br>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>