HTTP 400 returned for a HTTP request over 28 headers?

Per Buer perbu at varnish-software.com
Tue Aug 31 16:10:05 CEST 2010


Hi,

On Tue, Aug 31, 2010 at 3:52 PM, Anderson Brown <andersonbrown8 at gmail.com>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:
>
> root at 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.


>
> root at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-dev/attachments/20100831/70b24030/attachment-0003.html>


More information about the varnish-dev mailing list