<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:\5B8B\4F53;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:\7B49\7EBF;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@\5B8B\4F53";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"\@\7B49\7EBF";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        text-align:justify;
        text-justify:inter-ideograph;
        font-size:10.5pt;
        font-family:\7B49\7EBF;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:\7B49\7EBF;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:\7B49\7EBF;}
/* Page Definitions */
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=ZH-CN link="#0563C1" vlink="#954F72" style='text-justify-trim:punctuation'><div class=WordSection1><p style='margin-bottom:12.0pt;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>I am running Ubuntu 20.04.<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>Recently upgrade of bash (apt update && apt upgrade) causes varnishlog/varnishtop/varnishtop not working:<br><a href="http://us.archive.ubuntu.com/ubuntu"><span style='font-size:12.0pt;color:#0366D6'>http://us.archive.ubuntu.com/ubuntu</span></a> focal-updates/main amd64 bash amd64 5.0-6ubuntu1.1<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>varnishstat<br>.....<br>VSM: Could not get hold of varnishd, is it running?<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>Change to" sudo varnishstat" no use<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>(but varnish is running)<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>Tested on Varnish 6.2.1 also 6.4 master.<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>So it is a bug of Ubuntu or Varnish?<o:p></o:p></span></p><p style='mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:0cm;background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>The only fix is to roll back to cancel the upgrade.<o:p></o:p></span></p><p style='background:white;box-sizing: border-box;font-variant-ligatures: normal;font-variant-caps: normal;orphans: 2;text-align:start;widows: 2;-webkit-text-stroke-width: 0px;text-decoration-style: initial;text-decoration-color: initial;word-spacing:0px'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>ps aux | grep varnish<o:p></o:p></span></p><p style='background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>root     2042323  0.0  0.0   9032   736 pts/0    S+   04:28   0:00 grep --color=auto varnish<o:p></o:p></span></p><p style='background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>vcache   4055139  0.0  0.2  19148  5120 ?        SLs  Jul18   0:05 /usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -t 120 -p thread_pool_min=500 -p thread_pool_max=5000 -p thread_pool_stack=4M -p feature=+http2 -s malloc,20G -a [::1]:6086,PROXY<o:p></o:p></span></p><p style='margin-top:0cm;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>vcache   4055284  0.0  4.1 4417784 84540 ?       SLl  Jul18   0:48 /usr/sbin/varnishd -j unix,user=vcache -F -a :80 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -t 120 -p thread_pool_min=500 -p thread_pool_max=5000 -p thread_pool_stack=4M -p feature=+http2 -s malloc,20G -a [::1]:6086,PROXY <o:p></o:p></span></p><p style='margin-top:0cm;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'><o:p> </o:p></span></p><p style='margin-top:0cm;background:white'><span lang=EN-US style='font-size:10.5pt;font-family:"Segoe UI",sans-serif;color:#24292E'>Any idea? Thanks!<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>