Hi, On Tue, Aug 31, 2010 at 3:52 PM, Anderson Brown <[email protected]>wrote:
> > Thanks Per! Looking at > http://varnish-cache.org/docs/trunk/reference/varnishd.html; it seems I > just need to add this in /etc/sysconfig/varnish: > > DAEMON_OPTS="-a :7081 \ > -T localhost:7082 \ > -f /etc/varnish/default.vcl \ > -p http_headers=128 \ ### NOT WORK? > -p cli_buffer=8192 \ ### WORKS OK > -u varnish -g varnish \ > -s file,/var/lib/varnish/varnish_storage.bin,1G" > Right. > However, when I try to restart: > > r...@machine>/etc/init.d/varnish restart > Stopping varnish HTTP accelerator: [ OK ] > Starting varnish HTTP accelerator: [FAILED] > > I see nothing in /var/log/messages nor in varnishlog. > It should be logged somewhere, if not - that would be a bug. I'm not sure where it would be appropriate to log such things on RHEL. wrt the parameter - I _think_ this was made a run-time option in 2.1. It was a compile time option in 2.0. > > r...@machine>varnishd -V > varnishd (varnish-2.0.6) > Copyright (c) 2006-2009 Linpro AS / Verdens Gang AS > > Am I using an older version? Just did the varnish install via yum-EPEL. > As 2.1 is not 100% compatible with 2.0 EPEL for EL 5.0 is stuck on 2.0. However, there are RPM's available. -- Per Buer, Varnish Software Phone: +47 21 98 92 61 / Mobile: +47 958 39 117 / skype: per.buer
_______________________________________________ varnish-dev mailing list [email protected] http://lists.varnish-cache.org/mailman/listinfo/varnish-dev
