Can not start service

General support questions
Post Reply
hongson47
Posts: 1
Joined: 2018/12/06 07:47:37

Can not start service

Post by hongson47 » 2018/12/06 09:21:53

Hi everyone. i'm new comer. I have a VPS running CentOS 7.6.1810.
When i tried to start Varnish

Code: Select all

service varnish start
Result

Code: Select all

Authorization not available. Check if polkit service is running or see debug message for more information.
Failed to start varnish.service: Connection timed out
See system logs and 'systemctl status varnish.service' for details.
and check

Code: Select all

systemctl status varnish.service
result.

Code: Select all

● varnish.service - Varnish Cache, a high-performance HTTP accelerator
   Loaded: loaded (/usr/lib/systemd/system/varnish.service; disabled; vendor preset: disabled)
   Active: inactive (dead)
Can anyone help me?

northpoint
Posts: 107
Joined: 2016/05/23 11:57:12

Re: Can not start service

Post by northpoint » 2018/12/08 01:01:01

Wouldnt the command be:

sudo systemctl start varnish

And to make it start on reboots:

sudo systemctl enable varnish

?
Ryzen x1800 * Asus x370 Pro * CentOS 7.4 64bit / Icewarp /

Post Reply