[Varnish] #1072: varnish does not start on boot up of machine but starts fine by manual /etc/init.d/varnish restart

Varnish varnish-bugs at varnish-cache.org
Tue Dec 13 05:30:14 CET 2011


#1072: varnish does not start on boot up of machine but starts fine by manual
/etc/init.d/varnish restart
-------------------+--------------------------------------------------------
 Reporter:  bevo   |        Type:  defect
   Status:  new    |    Priority:  normal
Milestone:         |   Component:  build 
  Version:  3.0.1  |    Severity:  normal
 Keywords:         |  
-------------------+--------------------------------------------------------
 on rhel6 varnish does not startup automatically at boot time.
 the manager process is present but not the worker child.

 if i run "varnishlog -d" i get the following:
     0 WorkThread   - 0x7fddccefab60 start
     0 CLI          - Rd vcl.load "boot" ./vcl.pvYlibbU.so
     0 CLI          - Wr 106 96 dlopen(./vcl.pvYlibbU.so):
 ./vcl.pvYlibbU.so: cannot open shared object file: Permission denied

     0 CLI          - EOF on CLI connection, worker stops


 if i check the permission of the file:
 [root at serverX ~]# ls -lah /var/lib/varnish/serverX/*
 -rwxr-x--- 1 root root 30K Dec 13 15:26
 /var/lib/varnish/serverX/vcl.pvYlibbU.so
 -rw-r----- 1 root root 81M Dec 13 15:26 /var/lib/varnish/serverX/_.vsm

 -selinux is disabled,
 -varnish has been tested at starting up at s99 priority with no change.

 -if i stop varnish the .so file gets removed
 -manually starting varnish (via the init script) starts up fine



 This seems related to another ticket that has been closed:
 https://www.varnish-cache.org/trac/ticket/178

-- 
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1072>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator




More information about the varnish-bugs mailing list