varnish-misc Digest, Vol 98, Issue 35

李学强 nemolee888 at gmail.com
Fri May 23 03:18:48 CEST 2014


Hello Joao:
     You can use the flow command to check the syntax error.
     #varnishd -C -f default.vcl -n /tmp/tmp >/dev/null && echo "Syntax ok"
     or:
     /etc/init.d/varnish configtest

nemo

于 2014-5-22 18:00, varnish-misc-request at varnish-cache.org 写道:
> Send varnish-misc mailing list submissions to
> 	varnish-misc at varnish-cache.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
> or, via email, send a message with subject or body 'help' to
> 	varnish-misc-request at varnish-cache.org
>
> You can reach the person managing the list at
> 	varnish-misc-owner at varnish-cache.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of varnish-misc digest..."
>
>
> Today's Topics:
>
>     1. Re: Help on Varnish configuration problem on Centos 6.5
>        (Joao Rios)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 May 2014 10:50:02 +0100
> From: Joao Rios <jprr773 at gmail.com>
> To: varnish-misc at varnish-cache.org
> Subject: Re: Help on Varnish configuration problem on Centos 6.5
> Message-ID:
> 	<CAFso3Ut5kMLcNRMccW=HjyXzTUh1RCKAD_6xdMUVrtjiVUtR8w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hello F?bio,
>
> Thank you very much for the reply.
> I'm newbie with Varnish and I'm looking at the output
> using # varnishd -C -f /etc/varnish/default.vcl
> but can't really say what's wrong with it...
> Can I copy the output here?
> Obrigado :)
>
> Joao
>
>
>
> On Thu, May 22, 2014 at 2:37 AM, <varnish-misc-request at varnish-cache.org>wrote:
>
>> Send varnish-misc mailing list submissions to
>>          varnish-misc at varnish-cache.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>          https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>> or, via email, send a message with subject or body 'help' to
>>          varnish-misc-request at varnish-cache.org
>>
>> You can reach the person managing the list at
>>          varnish-misc-owner at varnish-cache.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of varnish-misc digest..."
>>
>>
>> Today's Topics:
>>
>>     1. Re: Help on Varnish configuration problem on Centos 6.5
>>        (James Pearson)
>>     2. Re: Varnish 4 - VCL Compilation failed - Valid VCL (James Pearson)
>>     3. about hitrate (???)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 21 May 2014 11:31:47 -0700
>> From: James Pearson <james at ifixit.com>
>> To: varnish-misc <varnish-misc at varnish-cache.org>
>> Subject: Re: Help on Varnish configuration problem on Centos 6.5
>> Message-ID: <1400697022-sup-4433 at geror.local>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Excerpts from Joao Rios's message of 2014-05-21 11:11:17 -0700:
>>> I am trying to run Varnish 3.0.5 on Centos 6.5 with no sucess.
>>> After installing the rpm and follow the installation procedures,
>>> it seems the service fails to start:
>>>
>>> # service varnish restart
>>> Stopping Varnish Cache:       [FAILED]
>>> Starting Varnish Cache:       [  OK  ]
>> No, that indicates that it didn't stop Varnish (probably because it wasn't
>> running), but it *started* it successfully.
>>
>> Have you verified that it is indeed not running (via ps, lsof, etc.)?
>>   - P
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: signature.asc
>> Type: application/pgp-signature
>> Size: 819 bytes
>> Desc: not available
>> URL: <
>> https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140521/f98185a4/attachment-0001.pgp
>> ------------------------------
>>
>> Message: 2
>> Date: Wed, 21 May 2014 11:37:54 -0700
>> From: James Pearson <james at ifixit.com>
>> To: varnish-misc <varnish-misc at varnish-cache.org>
>> Subject: Re: Varnish 4 - VCL Compilation failed - Valid VCL
>> Message-ID: <1400697383-sup-6303 at geror.local>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Excerpts from Hugues Alary's message of 2014-05-20 21:57:49 -0700:
>>> My guess is that when varnishd is runs, it switches from root to nobody,
>>> and nobody doesn't have the right permissions for that directory.
>> I don't know about compilation, but in Varnish 3 the -u and -g options
>> control
>> the user and group to which Varnish will drop.
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: signature.asc
>> Type: application/pgp-signature
>> Size: 819 bytes
>> Desc: not available
>> URL: <
>> https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140521/5a9e259a/attachment-0001.pgp
>> ------------------------------
>>
>> Message: 3
>> Date: Thu, 22 May 2014 09:36:49 +0800
>> From: ??? <nemolee888 at gmail.com>
>> To: varnish-misc at varnish-cache.org
>> Subject: about hitrate
>> Message-ID: <537D54B1.4090606 at gmail.com>
>> Content-Type: text/plain; charset="gb2312"
>>
>> Hello everyone:
>> I am a newbie of varnish 4.0 . Can I check the hitrate in the
>> varnishstat command? This command's output is diffrent from version 3.0.
>> Thank you!
>>
>> --
>>
>> *???? ? ???*
>>
>> ? ????????????512?
>>
>> Tel:(+86-411)84799089
>>
>> Mobile: 18041169612
>>
>> Email: lixueqiang at chinafesco.com
>>
>> http://www.chinafesco.com/
>>
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <
>> https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140522/2f5370a9/attachment.html
>> ------------------------------
>>
>> _______________________________________________
>> varnish-misc mailing list
>> varnish-misc at varnish-cache.org
>> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>>
>> End of varnish-misc Digest, Vol 98, Issue 33
>> ********************************************
>>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140522/43aeef1d/attachment-0001.html>
>
> ------------------------------
>
> _______________________________________________
> varnish-misc mailing list
> varnish-misc at varnish-cache.org
> https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc
>
> End of varnish-misc Digest, Vol 98, Issue 35
> ********************************************

-- 

*面视科技 · 李学强*

中 国·大连市高新园区黄浦路512号

Tel:(+86-411)84799089

Mobile: 18041169612

Email: lixueqiang at chinafesco.com

http://www.chinafesco.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140523/ed0e766e/attachment-0001.html>


More information about the varnish-misc mailing list