Varnish fails to start because of permission denied exception

varnish

I have a Red Hat server, Red Hat Enterprise Linux Server release 5.2 (Tikanga), and I am trying to start Varnish on it. When I try to start Varnish, I always get the following exception,

Pushing vcls failed:
dlopen(./vcl.1P9zoqAU.so):
./vcl.1P9zoqAU.so: cannot open shared
object file: Permission denied

I have another, identical server that does not have this issue. I installed Varnish on the Red Hat server following the directions outlined at http://www.varnish-cache.org/installation/redhat

Is there some configuration issue that needs to be tweaked to keep this issue from occuring? My initial investigation and thoughts was that the server did not have enough disk space, but I believe I have cleaned up enough free space.

Best Answer

I ran into this problem by restarting Varnish, problem was my umask.

Related Topic