You are not logged in.
I have installed systemd as mentioned in the wiki alongwith initscripts and I use "init=/bin/systemd" in kernel line to start it.
I am getting this systemd error "Socket service syslog.service not loaded, refusing" at boottime. This is the only error that comes. I have tried to check the wiki and google and found following links:
https://bbs.archlinux.org/viewtopic.php?id=147640
http://www.spinics.net/lists/hotplug/msg05295.html
There is apparently a solution to this:
http://www.spinics.net/lists/hotplug/msg05296.html
But it is too technical for me to understand and implement; and it is not for Arch linux. Please help.
Last edited by rnarch (2012-10-25 16:46:46)
Offline
Are you using a syslog? Where is this error that you see, the journal or when you run systemctl? At the moment, it is impossible to help you, as you have done a pretty poor job decribing your problem and prviding relevent information.
Offline
I have syslog-ng in the DAEMONS line of rc.conf file. I mentioned that I see this error at time of booting only. The systemctl status outputs are as follows:
$ systemctl status syslog.service
syslog.service
Loaded: error (Reason: No such file or directory)
Active: inactive (dead)
$ systemctl status syslog-ng.service
syslog-ng.service - System Logger Daemon
Loaded: loaded (/usr/lib/systemd/system/syslog-ng.service; disabled)
Active: active (running) since Wed, 24 Oct 2012 19:09:18 +0000; 1h 54min ago
Docs: man:syslog-ng(8)
Main PID: 294 (syslog-ng)
CGroup: name=systemd:/system/syslog-ng.service
└ 294 /usr/sbin/syslog-ng -F
What further information should I provide.
Offline
You should let systemd know what is your syslog implementation. To do so link appropriate service file to syslog.service:
ln -s /usr/lib/systemd/system/syslog-ng.service /etc/systemd/system/syslog.service
Offline
# systemctl disable syslog.service
It seems you're running syslog-ng not syslog. To get syslog-ng up and running see the notes in the Wiki https://wiki.archlinux.org/index.php/Sy … log_daemon
Offline
The error went away with command "sudo systemctl enable syslog-ng.service"
Will it be all right if I just disable both syslog.service and syslog-ng.service using systemctl? I believe the error messages could be checked using journalctl command, if required. I want the system to boot without any error messages but want all the messages to be logged so that I can take expert help if the need arises.
Last edited by rnarch (2012-10-25 07:01:49)
Offline
syslog-ng is totally optional now. It's even been removed from base and moved from core to extra. Many of us have uninstalled it completely. Just remember to disable it with systemctl before removing it or you will have a symlink left over under /etc/systemd/system/ .
Offline
Syslog-ng disabled using systemctl and removed using pacman. Also syslog-ng removed from DAEMONS line of /etc/rc.conf
Thanks for your help.
Last edited by rnarch (2012-10-25 16:49:02)
Offline