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, [email protected] 写道:
Send varnish-misc mailing list submissions to
        [email protected]

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
        [email protected]

You can reach the person managing the list at
        [email protected]

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 <[email protected]>
To: [email protected]
Subject: Re: Help on Varnish configuration problem on Centos 6.5
Message-ID:
        <CAFso3Ut5kMLcNRMccW=hjyxztuh1rckad_6xdmuvrtjivut...@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, <[email protected]>wrote:

Send varnish-misc mailing list submissions to
         [email protected]

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
         [email protected]

You can reach the person managing the list at
         [email protected]

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 <[email protected]>
To: varnish-misc <[email protected]>
Subject: Re: Help on Varnish configuration problem on Centos 6.5
Message-ID: <[email protected]>
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 <[email protected]>
To: varnish-misc <[email protected]>
Subject: Re: Varnish 4 - VCL Compilation failed - Valid VCL
Message-ID: <[email protected]>
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: ??? <[email protected]>
To: [email protected]
Subject: about hitrate
Message-ID: <[email protected]>
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: [email protected]

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
[email protected]
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
[email protected]
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: [email protected]

http://www.chinafesco.com/

_______________________________________________
varnish-misc mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-misc

Reply via email to