Thanks Traian!<div><br><div><div>$ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T <a href="http://127.0.0.1:2000">127.0.0.1:2000</a> -a <a href="http://0.0.0.0:8080">0.0.0.0:8080</a></div><div>Using old SHMFILE</div>

<div>$ more /etc/varnish/default.vcl</div><div><div>backend default {</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>set backend.host = "127.0.0.1";</div><div><span class="Apple-tab-span" style="white-space:pre">    </span>set backend.port = "8080";</div>

<div>}</div><div><div>$ netstat</div><div>Active Internet connections (w/o servers)</div><div>Proto Recv-Q Send-Q Local Address           Foreign Address         State      </div><div>tcp        0    256 ip-10-48-59-119.eu-:ssh 78-105-154-24.zon:54973 ESTABLISHED</div>

<div>tcp        0      0 ip-10-48-59-119.e:49212 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49213 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49214 subtshirt.com:www       TIME_WAIT  </div>

<div>tcp        0      0 ip-10-48-59-119.e:49215 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49208 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49209 subtshirt.com:www       TIME_WAIT  </div>

<div>tcp        0      0 ip-10-48-59-119.e:49210 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49211 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49204 subtshirt.com:www       TIME_WAIT  </div>

<div>tcp        0      0 ip-10-48-59-119.e:49205 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49206 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49207 subtshirt.com:www       TIME_WAIT  </div>

<div>tcp        0      0 ip-10-48-59-119.e:49200 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49201 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0      0 ip-10-48-59-119.e:49202 subtshirt.com:www       TIME_WAIT  </div>

<div>tcp        0      0 ip-10-48-59-119.e:49203 subtshirt.com:www       TIME_WAIT  </div><div>tcp        0     32 ip-10-48-59-119.eu-:ssh customer-static-2:54665 ESTABLISHED</div><div>tcp6       0      0 ip-10-48-59-119.eu-:www <a href="http://t332.tiggee.net:60435">t332.tiggee.net:60435</a>   TIME_WAIT  </div>

<div>Active UNIX domain sockets (w/o servers)</div><div>Proto RefCnt Flags       Type       State         I-Node   Path</div><div>unix  2      [ ]         DGRAM                    657      @/org/kernel/udev/udevd</div><div>

unix  4      [ ]         DGRAM                    846770   /dev/log</div><div>unix  3      [ ]         STREAM     CONNECTED     913898   </div><div>unix  3      [ ]         STREAM     CONNECTED     913897   </div><div>unix  2      [ ]         DGRAM                    913067   </div>

<div>unix  3      [ ]         STREAM     CONNECTED     880234   </div><div>unix  3      [ ]         STREAM     CONNECTED     880233   </div><div>unix  2      [ ]         DGRAM                    880232   </div><div>unix  3      [ ]         STREAM     CONNECTED     678682   </div>

<div>unix  3      [ ]         STREAM     CONNECTED     678681   </div><div>unix  3      [ ]         STREAM     CONNECTED     678426   </div><div>unix  3      [ ]         STREAM     CONNECTED     678425   </div><div>unix  3      [ ]         STREAM     CONNECTED     678424   </div>

<div>unix  3      [ ]         STREAM     CONNECTED     678423   </div><div>unix  2      [ ]         DGRAM                    2553  </div></div><br><div class="gmail_quote">On Mon, Dec 13, 2010 at 10:54, Traian Bratucu <span dir="ltr"><<a href="mailto:traian.bratucu@eea.europa.eu">traian.bratucu@eea.europa.eu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Hi Tom,</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I think your varnish is on port 6081. Do a nestat or something to see. </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I don’t know exactly where the default startup conf is on debian, maybe /etc/default/varnish? You can check it out to change the port.</span></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Traian</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal">

<b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> <a href="mailto:varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a> [mailto:<a href="mailto:varnish-misc-bounces@varnish-cache.org" target="_blank">varnish-misc-bounces@varnish-cache.org</a>] <b>On Behalf Of </b>Tom Coady<br>

<b>Sent:</b> Monday, December 13, 2010 11:48 AM<br><b>To:</b> <a href="mailto:varnish-misc@varnish-cache.org" target="_blank">varnish-misc@varnish-cache.org</a><br><b>Subject:</b> Server Not Responding</span></p><div><div>

</div><div class="h5"><p class="MsoNormal"> </p><p class="MsoNormal">Hello</p><div><p class="MsoNormal">I installed varnish using debian apt-get, checked etc/varnish/default.vcl, killed and restarted varnish, but I get no response on ports 8080 and 2000.</p>

</div><div><p class="MsoNormal">I've been through the troubleshooting without finding anything; varnishlog returns</p></div><div><div><p class="MsoNormal">    0 CLI            Rd ping</p></div><div><p class="MsoNormal">

    0 CLI            Wr 0 200 PONG 1292235717</p></div></div><div><p class="MsoNormal">but nothing when loading pages on 8080</p></div><div><p class="MsoNormal"> </p></div><div><p class="MsoNormal">I think I only have 760Mb memory, so wonder if using the default 1G is what's preventing it from working?</p>

</div><div><p class="MsoNormal">Nothing much in var/log/messages or syslog.</p></div><div><p class="MsoNormal">Tom</p></div></div></div></div></div></blockquote></div><br></div></div></div>