<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I have Varnish 3.0.2 running on an OS X Lion Server machine (10.7.3), installed from MacPorts. Varnish works fine (it's serving my site), but I get no output when I run varnishncsa/varnishlog/varnishstat.</div><div><br></div><div>Any idea on what I'm doing wrong?</div><div><br></div><div>Here's my config file just in case, though there's nothing especial on it; it's just the typical Wordpress cookie/admin settings, purge support and X-Forwarded-For: header for the Apache backend: <a href="http://pastebin.com/tgrbYw26">http://pastebin.com/tgrbYw26</a></div><div><br></div><div>Also, these are the related paths, binary versions and command line that I'm using:</div><div><br></div><div><div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>which varnishstat</b></font></div><div><font class="Apple-style-span" face="Courier">/opt/local/bin/varnishstat</font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>which varnishd</b></font></div><div><font class="Apple-style-span" face="Courier">/opt/local/sbin/varnishd</font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>varnishd -V</b></font></div><div><font class="Apple-style-span" face="Courier">varnishd (varnish-3.0.2 revision 55e70a4)</font></div><div><font class="Apple-style-span" face="Courier">Copyright (c) 2006 Verdens Gang AS</font></div><div><font class="Apple-style-span" face="Courier">Copyright (c) 2006-2011 Varnish Software AS</font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>varnishstat -V</b></font></div><div><font class="Apple-style-span" face="Courier">varnishstat (varnish-3.0.2 revision 55e70a4)</font></div><div><font class="Apple-style-span" face="Courier">Copyright (c) 2006 Verdens Gang AS</font></div><div><font class="Apple-style-span" face="Courier">Copyright (c) 2006-2011 Varnish Software AS</font></div></div><div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>ps -ef |grep varnishd</b></font></div><div><font class="Apple-style-span" face="Courier"> 0 19790 1 0 Tue11AM ?? 0:08.19 /opt/local/sbin/varnishd -f /opt/local/etc/varnish/default.vcl -s malloc,3G -T 127.0.0.1:2000 -a 0.0.0.0:80</font></div><div><font class="Apple-style-span" face="Courier"> -2 41275 19790 0 4:09AM ?? 0:33.84 /opt/local/sbin/varnishd -f /opt/local/etc/varnish/default.vcl -s malloc,3G -T 127.0.0.1:2000 -a 0.0.0.0:80</font></div><div><font class="Apple-style-span" face="Courier"> 0 13266 13224 0 1:10AM ttys000 0:00.00 grep varnishd</font></div></div><div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>system_profiler SPSoftwareDataType</b></font></div><div><font class="Apple-style-span" face="Courier">Software:</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier"> System Software Overview:</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier"> System Version: Mac OS X 10.7.3 (11D50)</font></div><div><font class="Apple-style-span" face="Courier"> Kernel Version: Darwin 11.3.0</font></div><div><font class="Apple-style-span" face="Courier"> Boot Volume: HD1</font></div><div><font class="Apple-style-span" face="Courier"> Boot Mode: Normal</font></div><div><font class="Apple-style-span" face="Courier"> Computer Name: cache</font></div><div><font class="Apple-style-span" face="Courier"> User Name: System Administrator (root)</font></div><div><font class="Apple-style-span" face="Courier"> Secure Virtual Memory: Enabled</font></div><div><font class="Apple-style-span" face="Courier"> 64-bit Kernel and Extensions: Yes</font></div><div><font class="Apple-style-span" face="Courier"> Time since boot: 5 days 44 minutes</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>uname -a</b></font></div><div><font class="Apple-style-span" face="Courier">Darwin cache.local 11.3.0 Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 x86_64</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">[root]cache:~ # <b>port info varnish</b></font></div><div><font class="Apple-style-span" face="Courier">Warning: port definitions are more than two weeks old, consider using selfupdate</font></div><div><font class="Apple-style-span" face="Courier">varnish @3.0.2 (www)</font></div><div><font class="Apple-style-span" face="Courier">Variants: universal</font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">Description: Varnish was written from the ground up to be a high performance caching reverse proxy.</font></div><div><font class="Apple-style-span" face="Courier">Homepage: <a href="http://www.varnish-cache.org">http://www.varnish-cache.org</a></font></div><div><font class="Apple-style-span" face="Courier"><br></font></div><div><font class="Apple-style-span" face="Courier">Build Dependencies: pkgconfig</font></div><div><font class="Apple-style-span" face="Courier">Library Dependencies: pcre</font></div><div><font class="Apple-style-span" face="Courier">Platforms: darwin</font></div><div><font class="Apple-style-span" face="Courier">License: unknown</font></div><div><font class="Apple-style-span" face="Courier">Maintainers: <a href="mailto:pmq@macports.org">pmq@macports.org</a>, <a href="mailto:openmaintainer@macports.org">openmaintainer@macports.org</a></font></div></div><div><br></div><div>Thanks in advance,</div><div><br><div apple-content-edited="true">
<div>--</div><div>Javi Lavandeira</div><div><a href="http://www.lavandeira.net">http://www.lavandeira.net</a></div>
</div>
<br></div></div></body></html>