Mailing List Archive

Empty varnishstat for Varnish 6.4.0
Hi,

I am trying to use "varnishstat -1", but it returns empty with exit code 0.

However, varnishadm (as follows) is working.

# varnishadm -T 127.0.0.1:6082 -S /etc/varnish/secret "help"

Below is some information.

Please let me know if more info is required. Thanks a lot.

---

# varnishd -V
varnishd (varnish-6.4.0 revision 13f137934ec1cf14af66baf7896311115ee35598)

# apt-cache policy varnish
varnish:
Installed: 6.4.0-3
Candidate: 6.4.0-3
Version table:
*** 6.4.0-3 500
100 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
100 /var/lib/dpkg/status

# cat /etc/systemd/system/varnish.service
...
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s default,256m
...

Regards,
Benny


________________________________

IMPORTANT NOTICE:
This e-mail (and any attachments) is confidential and may not be distributed, copied or used without the prior consent of Macroview Telecom Ltd., its affiliates or related bodies (“the Macroview Group”). The contents of this email may as well be legally privileged or otherwise copyright-protected. If you are not the intended recipient please notify us immediately by reply e-mail or telephone and delete this email (and any attachment) from your system, and destroy any printed copy. Any view or opinion expressed in this email may be those of the sender and not the Macroview Group.
Internet communications cannot be guaranteed to be timely, secure, error or virus-free. You should check for viruses before opening or using any attachments. We do not accept liability relating to computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
RE: Empty varnishstat for Varnish 6.4.0 [ In reply to ]
Thanks to bjorn and simon in IRC,

It is caused by version mismatch:

varnishstat -> 6.2.1
varnishd -> 6.4.0

The problem is resolved.

Regards,
Benny

-----Original Message-----
From: Benny Sham
Sent: Wednesday, October 27, 2021 2:32 PM
To: 'varnish-misc@varnish-cache.org' <varnish-misc@varnish-cache.org>
Subject: Empty varnishstat for Varnish 6.4.0

Hi,

I am trying to use "varnishstat -1", but it returns empty with exit code 0.

However, varnishadm (as follows) is working.

# varnishadm -T 127.0.0.1:6082 -S /etc/varnish/secret "help"

Below is some information.

Please let me know if more info is required. Thanks a lot.

---

# varnishd -V
varnishd (varnish-6.4.0 revision 13f137934ec1cf14af66baf7896311115ee35598)

# apt-cache policy varnish
varnish:
Installed: 6.4.0-3
Candidate: 6.4.0-3
Version table:
*** 6.4.0-3 500
100 http://archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
100 /var/lib/dpkg/status

# cat /etc/systemd/system/varnish.service
...
ExecStart=/usr/sbin/varnishd -j unix,user=vcache -F -a :6081 -T localhost:6082 -f /etc/varnish/default.vcl -S /etc/varnish/secret -s default,256m ...

Regards,
Benny


________________________________

IMPORTANT NOTICE:
This e-mail (and any attachments) is confidential and may not be distributed, copied or used without the prior consent of Macroview Telecom Ltd., its affiliates or related bodies (“the Macroview Group”). The contents of this email may as well be legally privileged or otherwise copyright-protected. If you are not the intended recipient please notify us immediately by reply e-mail or telephone and delete this email (and any attachment) from your system, and destroy any printed copy. Any view or opinion expressed in this email may be those of the sender and not the Macroview Group.
Internet communications cannot be guaranteed to be timely, secure, error or virus-free. You should check for viruses before opening or using any attachments. We do not accept liability relating to computer virus, data corruption, delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________
varnish-misc mailing list
varnish-misc@varnish-cache.org
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc