[systemd-devel] Can't enable or start a new service

Dave Sill de5 at ornl.gov
Mon Jun 20 12:45:38 PDT 2011


Lennart Poettering <lennart at poettering.net> wrote:
> 
> > 
> > And try to start it:
> > 
> >   systemctl start svscan.service
> > 
> > Which results in:
> > 
> >   Failed to issue method call: Unit svscan.service failed to load: No
> >   such file or directory. See system logs and 'systemctl status' for
> >   details.
> 
> I have now modified this message to show the full systemctl status
> command line.

Thanks. I guessed that it wanted a unit. Unfortunately, the status
message didn't really help.
 
> Hmm, I just tried a similar case here with an out-of-directory symlink
> and this worked fine here.
> 
> My guess is that a "systemctl daemon-reload" is missing here, which
> means that we never try to reload the configuration file after it failed
> once. Does that fix it for you?

Somone else suggested moving the file to /etc/systemd/system before
the enable and that worked.

-Dave


More information about the systemd-devel mailing list