You are not logged in.
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
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
Thanks a lot for the explanation, falconindy : I feel i'll need a looong time to get used to systemd
syslog-ng is now working correctly on my machine.
Thanks again,
Philippe
Offline