Control Web Panel
WebPanel => CentOS-WebPanel GUI => Topic started by: anandmys on June 27, 2025, 09:53:37 AM
-
When I go to cwp - admin - select webservers
Nginx & Varnish & Apache ([Varnish Conf]) option
On clicking "Varnish Conf" link, I see the message
Varnish NOT installed or conf file /etc/varnish/varnish.params does not exist
On CentOS 8 you can edit file: /usr/lib/systemd/system/varnish.service
Should I do anything to fix this or is this okay?
-
After some updates i had the same problem.
Install varnish manually:
dnf install varnish -y
systemctl edit varnish
Uncomment, config right ports:
[Service]
ExecStart=
ExecStart=/usr/sbin/varnishd \
-a :82 \
-T localhost:6082 \
-f /etc/varnish/default.vcl \
-s malloc,1024m
systemctl daemon-reexec
systemctl restart varnish
systemctl status varnish
and it works but not visible config in panel.
Looks like they changed place of config but don't add handling that config in web panel.
-
Did you try symlinking to /etc/varnish/varnish.params ? Or touching that file so it exists would be enough to dismiss the error. Depends on how dependent you are on the web GUI or if you do that kind of editing in the CLI.