Error at boot with varnishncsa

Jean Milot milot.jean at gmail.com
Tue Aug 26 17:36:37 CEST 2014


Hello,

I have a problem with varnishncsa.

I modified the /etc/default/varnishncsa file to launch varnishncsa at the
boot but it seems that varnishncsa is launched before varnish.

I have this error :

Can't open VSM file (Abandoned VSM file (Varnish not running?)
/var/lib/varnish/myhost/_.vsm)

For information : i use Debian 7 and

varnishd -V
varnishd (varnish-4.0.1 revision 4354e5e)
Copyright (c) 2006 Verdens Gang AS
Copyright (c) 2006-2011 Varnish Software AS


If i add sleep 10 in the /etc/init.d/varnishncsa, it works.

How i can make it work without change the init.d file ?

Sincerely,


-- 
MILOT Jean
Tél. : 0659514624
milot.jean at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20140826/4f8d8dee/attachment.html>


More information about the varnish-misc mailing list