You are not logged in.

#1 2013-01-21 18:29:33

Philippe
Member
Registered: 2013-01-15
Posts: 4

[Solved] syslog-ng : x2dng.service.mount failed to load

Hello,

I have a problem starting syslog-ng :

$ pacman -S syslog-ng

$ systemctl enable   /usr/lib/systemd/system/syslog-ng.service

$ systemctl start /usr/lib/systemd/system/syslog-ng.service
Failed to issue method call: Unit usr-lib-systemd-system-syslog\x2dng.service.mount failed to load: No such file or directory. See system logs and 'systemctl status usr-lib-systemd-system-syslog\x2dng.service.mount' for details.

$ systemctl status usr-lib-systemd-system-syslog\x2dng.service.mount
usr-lib-systemd-system-syslogx2dng.service.mount
          Loaded: error (Reason: No such file or directory)
          Active: inactive (dead)

$ locate x2dng
<nothing>

I haven't found any information relevant to x2dng. Can someone point me in the right direction ?

Thanks,

Philippe

Last edited by Philippe (2013-01-21 20:34:45)

Offline

#2 2013-01-21 18:41:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: [Solved] syslog-ng : x2dng.service.mount failed to load

The command you meant to run is simply "systemctl enable syslog-ng.service" or "systemctl start syslog-ng.service". You do not pass full paths to systemctl.

Also...

$ echo $'syslog\x2dng'
syslog-ng

Because the "unit" name starts with a /, it's assumed to be a mountpoint, which is why it's suffixed with .mount. systemctl can act as "mount" for any known filesystem, e.g.

# systemctl stop /home

Would umount my filesystem mounted on /home.

Offline

#3 2013-01-21 20:34:21

Philippe
Member
Registered: 2013-01-15
Posts: 4

Re: [Solved] syslog-ng : x2dng.service.mount failed to load

Thanks a lot for the explanation, falconindy : I feel i'll need a looong time to get used to systemd sad
syslog-ng is now working correctly on my machine.

Thanks again,

Philippe

Offline

Board footer

Powered by FluxBB