Author Topic: How to add line in varnish configuration(/etc/sysconfig/varnish)?  (Read 2032 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Hello,
I am admin of cwp ver.0.9.8.82 all ok but when i installed magento in server and configure it with varnish error appeared.
And it was necessary to insert two lines to solve the problem but when i add not start varnish.(/etc/sysconfig/varnish: line 6:
: command not found
/etc/sysconfig/varnish: line 9:
: command not found
/etc/sysconfig/varnish: line 12:
: command not found
/etc/sysconfig/varnish: line 16:
: command not found
/etc/sysconfig/varnish: line 19:
: command not found
/etc/sysconfig/varnish: line 22:
: command not found
/etc/sysconfig/varnish: line 29:
: command not found
/etc/sysconfig/varnish: line 31:
: command not found
/etc/sysconfig/varnish: line 42:
: command not found
/etc/sysconfig/varnish: line 43:
: command not found
/etc/sysconfig/varnish: line 56:
: command not found
/etc/sysconfig/varnish: line 57:
: command not found
/etc/sysconfig/varnish: line 111:
: command not found
/etc/sysconfig/varnish: line 112:
: command not found
Starting Varnish Cache: /etc/init.d/varnish: line 54: ulimit: 131072
: invalid number
/etc/init.d/varnish: line 57: ulimit: 82000
: invalid number
/etc/init.d/varnish: line 61: ulimit: unlimited
: invalid number
[FAILED])
I want to add
-p cli_buffer=16384
-p esi_syntax=0x2
in  /etc/sysconfig/varnish.(https://github.com/nexcess/magento-turpentine/wiki/FAQ).
Please help me how to do it ?