Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling failed by VCC-compiler #45

Open
kai-cool-dev opened this issue Oct 5, 2017 · 1 comment
Open

Compiling failed by VCC-compiler #45

kai-cool-dev opened this issue Oct 5, 2017 · 1 comment

Comments

@kai-cool-dev
Copy link

kai-cool-dev commented Oct 5, 2017

Hello,

I tried using the configuration template, but I get following error:

Okt 05 16:42:45 litt varnishd[18997]: Message from VCC-compiler:
Okt 05 16:42:45 litt varnishd[18997]: Expected return action name.
Okt 05 16:42:45 litt varnishd[18997]: ('input' Line 273 Pos 15)
Okt 05 16:42:45 litt varnishd[18997]: return (miss);
Okt 05 16:42:45 litt varnishd[18997]: --------------####--
Okt 05 16:42:45 litt varnishd[18997]: Running VCC-compiler failed, exited with 2
Okt 05 16:42:45 litt varnishd[18997]: VCL compilation failed
Can you please investigate.
I am using varnish-4.0.4 revision 386f712 on CentOS 7 x64

Thank you for your work, cheers!

@aldibier
Copy link

aldibier commented Oct 9, 2017

just replace return (miss) by return (fetch) in each line where is used.

denoli added a commit to denoli/varnish-4.0-configuration-templates that referenced this issue Nov 18, 2017
fixed 'Compiling failed by VCC-compiler mattiasgeniar#45'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants