Score:0

Help with error: Failed to restart hostname.service: Unit hostname.service not found

vi flag

Followed a tutorial for setting my hosts and hostname file. When I go to service hostname restart I get error:

Failed to restart hostname.service: Unit hostname.service not found.

My hosts file is set up like this:

127.0.0.1 localhost

127.0.1.1 bobsrevenge.com bob

My hostname file is like this:

bob

hr flag
What Ubuntu version are you using? it sounds like the tutorial may not be appropriate for your version
ubudoge avatar
vi flag
@steeldriver ubuntu server 22.04.2 LTS. I got another related question, maybe I should edit my original one, if my domain name is bobsrevenge.com, my server is named bob, would I put `127.0.1.1 bob.bobsrevenge.com bob`?
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.