You are not logged in.

#1 2012-10-24 14:09:19

rnarch
Member
Registered: 2012-03-17
Posts: 292

systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#2 2012-10-24 15:18:22

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#3 2012-10-24 16:01:03

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#4 2012-10-24 20:28:29

denn
Member
From: Russia
Registered: 2012-10-24
Posts: 5

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#5 2012-10-24 21:20:43

foppe
Member
Registered: 2011-04-02
Posts: 47

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

# 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

#6 2012-10-25 06:18:39

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#7 2012-10-25 13:44:04

ataraxia
Member
From: Pittsburgh
Registered: 2007-05-06
Posts: 1,553

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

#8 2012-10-25 16:46:31

rnarch
Member
Registered: 2012-03-17
Posts: 292

Re: systemd: Socket service syslog.service not loaded, refusing [SOLVED]

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

Board footer

Powered by FluxBB