Nginx & Varnish & Apache web servers. Varnish error, not start.

  • Hi @sandeep,

    I have installed and rebuilded the Web Servers with Nginx & Varnish & Apache.

    Varnish not start and i have this error:

    ● varnish.service - Varnish Cache, a high-performance HTTP accelerator
    Loaded: loaded (/usr/lib/systemd/system/varnish.service; enabled; vendor preset: disabled)
    Active: failed (Result: exit-code) since Mon 2020-06-29 17:00:15 CEST; 15min ago

    Jun 29 17:00:15 varnishd[1247]: Error:
    Jun 29 17:00:15 varnishd[1247]: Message from C-compiler:
    Jun 29 17:00:15 varnishd[1247]: /bin/sh: /usr/bin/gcc: Permission denied
    Jun 29 17:00:15 varnishd[1247]: /bin/sh: line 0: exec: /usr/bin/gcc: cannot execute: Permission denied
    Jun 29 17:00:15 varnishd[1247]: Running C-compiler failed, exited with 126
    Jun 29 17:00:15 varnishd[1247]: VCL compilation failed
    Jun 29 17:00:15 systemd[1]: varnish.service: control process exited, code=exited status=255
    Jun 29 17:00:15 systemd[1]: Failed to start Varnish Cache, a high-performance HTTP accelerator.
    Jun 29 17:00:15 systemd[1]: Unit varnish.service entered failed state.
    Jun 29 17:00:15 systemd[1]: varnish.service failed.

    Please help me to solve this problem and thanks in advance for the support !

  • hi completely remove the varnish and try to install again

Recent Topics