Author Topic: Error on varnish start after update  (Read 1999 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Error on varnish start after update
« on: October 19, 2021, 08:44:57 PM »
Hi team

I have a nginx+varnish+apache+php-fpm server working fine up today. After the last CWP update and system update, varnish has gone mad. Varnish can't start at all so all accounts using varnish stop working.

This is the only log file i found:
Code: [Select]
Oct 19 15:31:53  systemd[1]: Starting Varnish Cache, a high-performance HTTP accelerator...
-- Subject: Unit varnish.service has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit varnish.service has begun starting up.
Oct 19 15:31:53  varnishd[3808]: Error:
Oct 19 15:31:53  varnishd[3808]: Message from C-compiler:
Oct 19 15:31:53  varnishd[3808]: vgc.c: In function ‘VGC_function_vcl_recv’:
Oct 19 15:31:53  varnishd[3808]: vgc.c:5048:11: error: ‘HDR_REQvrt_magic_string_unset’ undeclared (first use in this function)
Oct 19 15:31:53  varnishd[3808]: HDR_REQvrt_magic_string_unset);
Oct 19 15:31:53  varnishd[3808]: ^
Oct 19 15:31:53  varnishd[3808]: vgc.c:5048:11: note: each undeclared identifier is reported only once for each function it appears in
Oct 19 15:31:53  varnishd[3808]: vgc.c:5048:40: error: expected ‘;’ before ‘)’ token
Oct 19 15:31:53  varnishd[3808]: HDR_REQvrt_magic_string_unset);
Oct 19 15:31:53  varnishd[3808]: ^
Oct 19 15:31:53  varnishd[3808]: vgc.c:5048:40: error: expected statement before ‘)’ token
Oct 19 15:31:53  varnishd[3808]: Running C-compiler failed, exited with 1
Oct 19 15:31:53  varnishd[3808]: VCL compilation failed
Oct 19 15:31:53  systemd[1]: varnish.service: control process exited, code=exited status=255
Oct 19 15:31:53  systemd[1]: Failed to start Varnish Cache, a high-performance HTTP accelerator.
-- Subject: Unit varnish.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit varnish.service has failed.
--
-- The result is failed.
Oct 19 15:31:53  systemd[1]: Unit varnish.service entered failed state.
Oct 19 15:31:53  systemd[1]: varnish.service failed.

No varnish, nginx or apache parameters have been touched, only the configuration was applied to the domain of a new account in the menu "Webservers Domain Conf".

Once the problems started, I used the "Select WebServer" option to try to solve it. Also tried removing varnish and installing it again. I have also reinstalled the entire CWP server from scratch and still the same thing happens. I can't find any reference to this error. Any ideas?

Regards
« Last Edit: October 19, 2021, 08:55:17 PM by Richardmax »