You are not logged in.

#1 2012-12-19 23:20:34

nastycino
Member
Registered: 2012-10-23
Posts: 4

Systemd logind.service reports an error: Failed to start login service

Hello,
I found this error in /var/log/errors.log and /var/log/daemon.log although my system functions normally.
It's been written there every 90 seconds!!!!:

Dec 19 23:52:59 localhost systemd[1]: Failed to start Login Service.
Dec 19 23:54:29 localhost systemd[1]: Failed to start Login Service.
Dec 19 23:55:59 localhost systemd[1]: Failed to start Login Service.
Dec 19 23:57:29 localhost systemd[1]: Failed to start Login Service.
Dec 19 23:58:59 localhost systemd[1]: Failed to start Login Service. 

the process: systemd-logind.service seems to be working fine:

[xxx@archbox ~]$ sudo systemctl status systemd-logind.service
[sudo] password for xxx:

systemd-logind.service - Login Service
	  Loaded: loaded (/usr/lib/systemd/system/systemd-logind.service; static)
	  Active: activating (start) since Wed, 2012-12-19 23:49:59 CET; 49s ago
	    Docs: man:systemd-logind.service(8)
	          man:logind.conf(5)
	          http://www.freedesktop.org/wiki/Software/systemd/multiseat
	Main PID: 11822 (systemd-logind)
	  CGroup: name=systemd:/system/systemd-logind.service
		  └─11822 /usr/lib/systemd/systemd-logind

Dec 19 23:49:59 archbox systemd[1]: Starting Login Service...
Dec 19 23:49:59 archbox systemd-logind[11822]: New seat seat0.
Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event6 (P...on)
Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event7 (V...us)
Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event4 (L...ch)
Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event5 (S...on)
Dec 19 23:49:59 archbox systemd-logind[11822]: Watching system buttons on /dev/input/event3 (T...ns)
Dec 19 23:49:59 archbox systemd-logind[11822]: New session 1 of user xxx.
Dec 19 23:49:59 archbox systemd-logind[11822]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-...ay.

and journalctl _PID=11822 returns:

 
Dec 19 23:38:01 archbox sudo[21335]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
Dec 19 23:38:01 archbox sudo[21335]: pam_unix(sudo:session): session opened for user root by xxx(uid
Dec 19 23:38:01 archbox sudo[21335]: pam_unix(sudo:session): session closed for user root
Dec 19 23:38:44 archbox sudo[22682]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
Dec 19 23:38:44 archbox sudo[22682]: pam_unix(sudo:session): session opened for user root by xxx(uid
Dec 19 23:38:44 archbox sudo[22682]: pam_unix(sudo:session): session closed for user root
Dec 19 23:39:10 archbox sudo[23516]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
Dec 19 23:39:10 archbox sudo[23516]: pam_unix(sudo:session): session opened for user root by xxx(uid
Dec 19 23:39:29 archbox systemd[1]: systemd-logind.service operation timed out. Terminating.
Dec 19 23:39:29 archbox systemd[1]: Failed to start Login Service.
Dec 19 23:39:29 archbox systemd[1]: Unit systemd-logind.service entered failed state
Dec 19 23:39:29 archbox systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
Dec 19 23:39:29 archbox systemd[1]: Stopping Login Service...
Dec 19 23:39:29 archbox systemd[1]: Starting Login Service...
Dec 19 23:39:29 archbox systemd-logind[24096]: New seat seat0.
Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event6 (Power B
Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event7 (Video B
Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event4 (Lid Swi
Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event5 (Sleep B
Dec 19 23:39:29 archbox systemd-logind[24096]: Watching system buttons on /dev/input/event3 (ThinkPa
Dec 19 23:39:29 archbox systemd-logind[24096]: New session 1 of user xxx.
Dec 19 23:39:29 archbox systemd-logind[24096]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-displa
Dec 19 23:39:30 archbox sudo[23516]: pam_unix(sudo:session): session closed for user root
Dec 19 23:40:08 archbox sudo[25314]: xxx : TTY=pts/1 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
Dec 19 23:40:08 archbox sudo[25314]: pam_unix(sudo:session): session opened for user root by xxx(uid
Dec 19 23:40:09 archbox sudo[25314]: pam_unix(sudo:session): session closed for user root
Dec 19 23:40:43 archbox slim[641]: error 8: BadMatch (invalid parameter attributes) request 142 mino
Dec 19 23:40:43 archbox slim[641]: error 9: BadDrawable (invalid Pixmap or Window parameter) request
Dec 19 23:40:43 archbox slim[641]: error 4: BadPixmap (invalid Pixmap parameter) request 54 minor 0 
Dec 19 23:40:56 archbox sudo[26739]: xxx : TTY=pts/0 ; PWD=/home/xxx ; USER=root ; COMMAND=/usr/bin/
Dec 19 23:40:56 archbox sudo[26739]: pam_unix(sudo:session): session opened for user root by xxx(uid
Dec 19 23:40:59 archbox systemd[1]: systemd-logind.service operation timed out. Terminating.
Dec 19 23:40:59 archbox systemd[1]: Failed to start Login Service.
Dec 19 23:40:59 archbox systemd[1]: Unit systemd-logind.service entered failed state
Dec 19 23:40:59 archbox systemd[1]: systemd-logind.service holdoff time over, scheduling restart.
Dec 19 23:40:59 archbox systemd[1]: Stopping Login Service...
Dec 19 23:40:59 archbox systemd[1]: Starting Login Service...
Dec 19 23:40:59 archbox systemd-logind[26935]: New seat seat0.
Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event6 (Power B
Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event7 (Video B
Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event4 (Lid Swi
Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event5 (Sleep B
Dec 19 23:40:59 archbox systemd-logind[26935]: Watching system buttons on /dev/input/event3 (ThinkPa
Dec 19 23:40:59 archbox systemd-logind[26935]: New session 1 of user xxx.
Dec 19 23:40:59 archbox systemd-logind[26935]: Linked /tmp/.X11-unix/X0 to /run/user/1000/X11-displa

Updating system with pacman didn't solve it.
Did I miss something out while migrating to systemd, is it a problem with SLiM or user session maybe ? Do you guys have any ideas where to start ? Thanks.

Last edited by nastycino (2012-12-30 17:46:43)

Offline

#2 2012-12-20 23:26:36

nastycino
Member
Registered: 2012-10-23
Posts: 4

Re: Systemd logind.service reports an error: Failed to start login service

I uninstalled SLiM and installed LXDM, but the problem still exists...
I'd leave it like that but it shuts down my apache server....
any suggestions welcomed

Last edited by nastycino (2012-12-21 11:29:40)

Offline

#3 2012-12-27 09:44:16

nastycino
Member
Registered: 2012-10-23
Posts: 4

Re: Systemd logind.service reports an error: Failed to start login service

My /etc/systemd/logind.conf:

 #  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.
#
# See logind.conf(5) for details

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes

Is there any way of reinstalling parts of systemd like logind.service?

Offline

Board footer

Powered by FluxBB