Server Not Responding

Tom Coady tom.coady at gmail.com
Mon Dec 13 13:00:41 CET 2010


On Mon, Dec 13, 2010 at 11:15, Kristian Lyngstol <
kristian at varnish-software.com> wrote:

> On Mon, Dec 13, 2010 at 11:02:25AM +0000, Tom Coady wrote:
> > $ sudo varnishd -f /etc/varnish/default.vcl -s malloc,1G -T
> 127.0.0.1:2000-a
> > 0.0.0.0:8080
>
> You are missing a space between -T and -a.
>

Sorry, I don't know why the spaces got knocked out, they're there in the
history.


> Also, you should be using the normal startup scripts instead of executing
> varnishd directly, then edit /etc/default/varnish (or
> /etc/sysconfig/varnish for redhat-like systems).
>

Isn't that what I did by calling -f /etc/varnish/default.vcl ?


> > $ netstat
>
> You need to use -l (or better yet: -nlpt) to get anything useful for this
> scenario. Ie: netstat -nlpt.


Sorry, I was thinking it was lacking something useful!
$ sudo netstat -nlptActive Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
    PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN
   1432/mysqld
tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN
   30261/varnishd
tcp        0      0 127.0.0.1:2000          0.0.0.0:*               LISTEN
   30261/varnishd
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN
   1355/sshd
tcp        0      0 127.0.0.1:25            0.0.0.0:*               LISTEN
   1759/exim4
tcp6       0      0 :::80                   :::*                    LISTEN
   1824/apache2
tcp6       0      0 :::22                   :::*                    LISTEN
   1355/sshd
tcp6       0      0 :::443                  :::*                    LISTEN
   1824/apache2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20101213/f1724363/attachment-0003.html>


More information about the varnish-misc mailing list