Control Web Panel
WebPanel => CentOS-WebPanel Bugs => Topic started by: randyproxz on March 22, 2022, 05:05:54 AM
-
I have error when Setup default Web Servers to -> Nginx & Varnish & Apache
Even with fresh vps instalation this error happen
Starting Varnish Cache, a high-performance HTTP accelerator...
Error: Could not get socket :82: Permission denied
varnish.service: control process exited, code=exited status=255
Failed to start Varnish Cache, a high-performance HTTP accelerator.
Unit varnish.service entered failed state.
varnish.service failed.
Starting nginx - high performance web server...
nginx: [emerg] chown("/var/cache/nginx", 99) failed (13: Permission denied)
nginx.service: control process exited, code=exited status=1
Failed to start nginx - high performance web server.
Unit nginx.service entered failed state.
nginx.service failed.
-
Please post the content of the following 2 commands
journalctl -xeu nginx
journalctl -xeu varnish
-
Please post the content of the following 2 commands
journalctl -xeu nginx
journalctl -xeu varnish
Hi,
This is the results
journalctl -xeu nginx
-- Unit nginx.service has begun starting up.
nginx[22917]: nginx: [emerg] chown("/var/cache/nginx", 99) failed (13: Permission denied)
systemd[1]: nginx.service: control process exited, code=exited status=1
systemd[1]: Failed to start nginx - high performance web server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
systemd[1]: Unit nginx.service entered failed state.
systemd[1]: nginx.service failed.
journalctl -xeu varnish
-- Unit varnish.service has begun starting up.
varnishd[18196]: Error: Could not get socket :82: Permission denied
varnishd[18196]: (-? gives usage)
systemd[1]: varnish.service: control process exited, code=exited status=255
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.
systemd[1]: Unit varnish.service entered failed state.
systemd[1]: varnish.service failed.
-
Ok. Nginx:
ls -al /var/cache
Varnish
netstat -L | grep 82
-
sorry. It's
netstat -ln | grep 82