On Wed, Nov 23, 2011 at 5:14 PM, Mark Gavin <[email protected]> wrote: > I am having so many problems getting started with Varnish to complete my > two-part project. Part one is to configure Varnish as a load balancer, part > two is to setup caching, but this mail is for part one only (getting Varnish > running as a load balancer). Here is what I have [...]
> I then executed the following commands > > pkill varnish > > varnishd -f /etc/varnish/forum.vcl -s malloc,10G -a 0.0.0.0:80 > > service varnish start I don't know if this is it, but if you execute varnishd before service varnish start, the service start will fail as varnishd is already binded to ip/port and is already running. The proper way on RHEL/CentOS is to edit /etc/sysconfig/varnish for daemon options, and use service varnish start *only*. On Debian/Ubuntu, it's /etc/default/varnish. I don't see any errors on your VCL, and if you have any errors, it'll show if you execute varnishd manually (instead of using service). Hope it helps. -- []'s Hugo www.devin.com.br _______________________________________________ varnish-misc mailing list [email protected] https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
