What's the VCL compile directory when starting varnishd?

姚伟斌 nbubingo at gmail.com
Mon Mar 19 09:15:07 CET 2012


Hi folks,

In our company, all the packets have its specific install directory
and account. We use the account named 'admin' to start the varnishd
daemon. But when I typed the start command. It shows the error below:
#####################################################
bash-3.2$ /opt/company/install/varnish/sbin/varnishd -P
/home/admin/varnish/pid/varnish.pid -a :8888 -f
/home/admin/varnish/conf/varnish.vcl -n /home/admin/varnish/cache -T
0.0.0.0:2000 -t 120 -w 5,1000,120 -u admin -g admin
Message from C-compiler:
cc1: error: ./vcl.RBz_GFcY.c: Permission denied
Running C-compiler failed, exit 1

VCL compilation failed
#######################################################

I want to know the VCL compile directory and then I can specify the
file permission.

Thanks.



More information about the varnish-dev mailing list