<div dir="ltr"><div>Hi,<br><br></div>I noticed that varnish service doesn't work after systemd update to version 201-2<br><br>varnish.service - Varnish a high-perfomance HTTP accelerator<br> Loaded: loaded (/usr/lib/systemd/system/varnish.service; enabled)<br>
Active: failed (Result: exit-code) since czw 2013-05-16 23:12:50 CEST; 1min 2s ago<br> Process: 424 ExecStart=/usr/sbin/varnishd -P /var/run/varnish.pid -f $VARNISH_VCL_CONF -a ${VARNISH_LISTEN_ADDRESS}:${VARNISH_LISTEN_PORT} -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} -t $VARNISH_TTL -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} -u $VARNISH_USER -g $VARNISH_GROUP -S $VARNISH_SECRET_FILE -s $VARNISH_STORAGE $DAEMON_OPTS (code=exited, status=1/FAILURE)<br>
<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: usage: varnishd [options]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -a address:port # HTTP listen address and port<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -b address:port # backend address and port<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -b <hostname_or_IP><br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -b '<hostname_or_IP>:<port_or_service>'<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -C # print VCL code compiled to C language<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -d # debug<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -f file # VCL script<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -F # Run in foreground<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -h kind[,hashoptions] # Hash specification<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -h critbit [default]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -h simple_list<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -h classic<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -h classic,<buckets><br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -i identity # Identity of varnish instance<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -l shl,free,fill # Size of shared memory file<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # shl: space for SHL records [80m]<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # free: space for other allocations [1m]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # fill: prefill new file [+]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -M address:port # Reverse CLI destination.<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -n dir # varnishd working directory<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -P file # PID file<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -p param=value # set parameter<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -s kind[,storageoptions] # Backend storage specification<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s malloc<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s file [default: use /tmp]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s file,<dir_or_file><br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s file,<dir_or_file>,<size><br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s persist{experimenta}<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -s file,<dir_or_file>,<size>,<granularity><br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -t # Default TTL<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -S secret-file # Secret file for CLI authentication<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -T address:port # Telnet listen address and port<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -V # version<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -w int[,int[,int]] # Number of worker threads<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -w <fixed_count><br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -w min,max<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: # -w min,max,timeout [default: -w2,500,300]<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> varnishd[424]: -u user # Priviledge separation user id<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> systemd[1]: varnish.service: control process exited, code=exited status=1<br>maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> systemd[1]: Failed to start Varnish a high-perfomance HTTP accelerator.<br>
maj 16 23:12:50 <a href="http://ozzy.pl">ozzy.pl</a> systemd[1]: Unit varnish.service entered failed state.<br><br><div>I downgraded systemd to version 195-15 and varnish works fine again.<br clear="all"></div><div><div><br>
-- <br>Best regards,<br>Michal<br><br><a href="http://eventhorizon.pl/" target="_blank">http://eventhorizon.pl/</a><br><a href="https://getactive.pl/" target="_blank">https://getactive.pl/</a><br>
</div></div></div>