Error starting Varnish
I have manage to install the Varnish 6.0.5.
But when I starting it, I get the following error:
I have found a guy who have a similar issue in 2016 on
varnishd -V
varnishd (varnish-6.0.5 revision 204a927f4a4283529fc89f5182fe8cc3f2d0f617)
But when I starting it, I get the following error:
service varnish start
Redirecting to /bin/systemctl start varnish.service
Job for varnish.service failed because the control process exited with error code. See "systemctl status varnish.service" and "journalctl -xe" for details.systemctl status varnish.service
? 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 Fri 2019-10-25 20:38:14 BST; 23s ago
Process: 23190 ExecStart=/usr/sbin/varnishd -a :6081 -f /etc/varnish/default.vcl -s malloc,256m (code=exited, status=255)
~ varnishd[23190]: Error:
~ varnishd[23190]: Message from C-compiler:
~ varnishd[23190]: collect2: fatal error: cannot find 'ld'
~ varnishd[23190]: compilation terminated.
~ varnishd[23190]: Running C-compiler failed, exited with 1
~ varnishd[23190]: VCL compilation failed
~ systemd[1]: varnish.service: control process exited, code=exited status=255
~ systemd[1]: Failed to start Varnish Cache, a high-performance HTTP accelerator.
~ systemd[1]: Unit varnish.service entered failed state.
~ systemd[1]: varnish.service failed.whereis ld
ld: /usr/bin/ld.bfd /usr/bin/ld.gold /usr/bin/ld /opt/rh/devtoolset-8/root/usr/bin/ld.bfd /opt/rh/devtoolset-8/root/usr/bin/ld.gold /opt/rh/devtoolset-8/root/usr/bin/ld /usr/share/man/man1/ld.1.gz
ld
ld: no input filesI have found a guy who have a similar issue in 2016 on
-
ok, it's solved in WHM 84, I didn't have access to the [QUOTE]Compiler Access
section by default, but I have found the path to it:{CPANEL_URL}/scripts2/tweakcompilers
but then I have only option to [QUOTE]Disable Compilers
, and nothing changed after I press it. So I changed the value of the form input using Chrome Devtools to - [QUOTE]Enable Compilers
and it's solved the previous issue0 -
I'm happy to see you were able to find a resolution for your issue, thanks for letting us know how you resolved it as well! 0
Please sign in to leave a comment.
Comments
2 comments