<div class="gmail_quote">On Mon, Dec 13, 2010 at 11:15, Kristian Lyngstol <span dir="ltr"><<a href="mailto:kristian@varnish-software.com">kristian@varnish-software.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Mon, Dec 13, 2010 at 11:02:25AM +0000, Tom Coady wrote:<br>
> $ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000-a<br>
> <a href="http://0.0.0.0:8080" target="_blank">0.0.0.0:8080</a><br>
<br>
</div>You are missing a space between -T and -a.<br></blockquote><div><br></div><div>Sorry, I don't know why the spaces got knocked out, they're there in the history.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Also, you should be using the normal startup scripts instead of executing<br>
varnishd directly, then edit /etc/default/varnish (or<br>
/etc/sysconfig/varnish for redhat-like systems).<br></blockquote><div><br></div><div>Isn't that what I did by calling -f /etc/varnish/default.vcl ?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
> $ netstat<br>
<br>
You need to use -l (or better yet: -nlpt) to get anything useful for this<br>
scenario. Ie: netstat -nlpt.</blockquote><div><br></div><div>Sorry, I was thinking it was lacking something useful!</div><div><div>$ sudo netstat -nlptActive Internet connections (only servers)</div><div>Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name</div>
<div>tcp 0 0 <a href="http://127.0.0.1:3306">127.0.0.1:3306</a> 0.0.0.0:* LISTEN 1432/mysqld </div><div>tcp 0 0 <a href="http://0.0.0.0:8080">0.0.0.0:8080</a> 0.0.0.0:* LISTEN 30261/varnishd </div>
<div>tcp 0 0 <a href="http://127.0.0.1:2000">127.0.0.1:2000</a> 0.0.0.0:* LISTEN 30261/varnishd </div><div>tcp 0 0 <a href="http://0.0.0.0:22">0.0.0.0:22</a> 0.0.0.0:* LISTEN 1355/sshd </div>
<div>tcp 0 0 <a href="http://127.0.0.1:25">127.0.0.1:25</a> 0.0.0.0:* LISTEN 1759/exim4 </div><div>tcp6 0 0 :::80 :::* LISTEN 1824/apache2 </div>
<div>tcp6 0 0 :::22 :::* LISTEN 1355/sshd </div><div>tcp6 0 0 :::443 :::* LISTEN 1824/apache2 </div></div></div>