Varnish DAEMON_OPTS Options Errors

Rudi rudi at hyperfocusmedia.com
Fri May 6 07:20:25 CEST 2011


Hi,

Getting closer but still no joy:

1)
DAEMON_OPTS="-a :8080 \
             -T localhost:2000 \
             -f /srv/xshare/conf/varnish-default.conf-example
             -S /etc/varnish/secret \
             -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,512M \
             -p cc_command=/etc/varnish/docc.sh"


2)
# cat /etc/varnish/docc.sh
exec cc -fpic -shared -Wl,-x -L/usr/include/libmemcached/memcached.h
-lmemcached -o %o %s

3)
# /etc/init.d/varnish start
Starting HTTP accelerator: varnishd failed!
storage_file: filename: /var/lib/varnish/vbox.local/varnish_storage.bin
size 512 MB.
Message from C-compiler:
cc: %s: No such file or directory
Running C-compiler failed, exit 1
VCL compilation failed







More information about the varnish-misc mailing list