Score:1

Failed to restart varnish.service: Unit not found

cn flag
[root@server21 ~]# service varnish restart
Redirecting to /bin/systemctl restart varnish.service
Failed to restart varnish.service: Unit not found.

This worked like 3 days ago, but today it stopped working. It works on other servers, but on this one it doesn't work.

I did df -h and I still have 600 gb left, so I am wondering what might have caused this.

Michael Hampton avatar
cz flag
What have you done so far to try to figure out what is wrong?
Josh Zhang avatar
ph flag
Run `ls -ltrah /etc/systemd/system/varnish.service.d` and check if the the file is there, if so `cat` the file and track down the binaries.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.