systemctl --user returns “Unit was not found” on Ubuntu 18.04

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I just fresh installed Ubuntu 18.04. I am having an issue with systemd, which worked fine with 17.10. My service files are located in ~/.config/systemd/user.



I tried a daemon-reload. didn't work. I keep getting an error saying



failed to start. Unit was not found.






share|improve this question






















  • Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
    – Attila Szeremi
    Jun 28 at 14:18














up vote
1
down vote

favorite












I just fresh installed Ubuntu 18.04. I am having an issue with systemd, which worked fine with 17.10. My service files are located in ~/.config/systemd/user.



I tried a daemon-reload. didn't work. I keep getting an error saying



failed to start. Unit was not found.






share|improve this question






















  • Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
    – Attila Szeremi
    Jun 28 at 14:18












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I just fresh installed Ubuntu 18.04. I am having an issue with systemd, which worked fine with 17.10. My service files are located in ~/.config/systemd/user.



I tried a daemon-reload. didn't work. I keep getting an error saying



failed to start. Unit was not found.






share|improve this question














I just fresh installed Ubuntu 18.04. I am having an issue with systemd, which worked fine with 17.10. My service files are located in ~/.config/systemd/user.



I tried a daemon-reload. didn't work. I keep getting an error saying



failed to start. Unit was not found.








share|improve this question













share|improve this question




share|improve this question








edited Apr 28 at 18:02









Zanna

47.9k13119227




47.9k13119227










asked Apr 28 at 13:02









Mayur Bhatolia

62




62











  • Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
    – Attila Szeremi
    Jun 28 at 14:18
















  • Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
    – Attila Szeremi
    Jun 28 at 14:18















Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
– Attila Szeremi
Jun 28 at 14:18




Could your HOME directory be on a different partition than /etc, or might you have HOME directory encryption? Systemd might not be able to resolve the /etc/systemd/system/* soft links properly in these cases, thus does not find them on boot.
– Attila Szeremi
Jun 28 at 14:18















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029221%2fsystemctl-user-returns-unit-was-not-found-on-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1029221%2fsystemctl-user-returns-unit-was-not-found-on-ubuntu-18-04%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error