On Sun, May 4, 2014 at 8:54 PM,  <[email protected]> wrote:
>
>
> On Sun, May 4, 2014, at 11:34 AM, Dridi Boukelmoune wrote:
>> Run it with a dummy VCL, I only want to see whether you need to
>> specify the vmod dir in varnishd's command line.
>
> /usr/local/sbin/varnishd -n DUMMY \
> -f /usr/local/src/varnish4-cache-git/etc/example.vcl \
> -a 127.0.0.1:6081,[::1]:6081 \
> -T 127.0.0.1:6082
>
> ps ax | grep varnish
>          6745 ?        SLs    0:00 /usr/local/sbin/varnishd -n DUMMY -f
>          /usr/local/src/varnish4-cache-git/etc/example.vcl -a
>          127.0.0.1:6081,[::1]:6081 -T 127.0.0.1:6082
>          6752 ?        Sl     0:00 /usr/local/sbin/varnishd -n DUMMY -f
>          /usr/local/src/varnish4-cache-git/etc/example.vcl -a
>          127.0.0.1:6081,[::1]:6081 -T 127.0.0.1:6082
>          6992 pts/9    S+     0:00 grep --color=auto varnish
>
> varnishadm param.show vmod_dir
>         Not a VSM file /usr/local/var/varnish/SITE/_.vsm

If you use the -n option in varnishd, you must use it accordingly with
the other tools (varnishlog, varnishstat etc).

Try this:
varnishadm -n DUMMY param.show vmod_dir

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

Reply via email to