Service questions with systemd/systemctl



Hi,

I have a fedora15 system and I'm having trouble trying to figure out
why a few services don't start through systemd. Specifically,
lm_sensors:

# service lm_sensors restart
Redirecting to /bin/systemctl restart lm_sensors.service

# service lm_sensors status
Redirecting to /bin/systemctl status lm_sensors.service
lm_sensors.service - Initialize hardware monitoring sensors
Loaded: loaded (/lib/systemd/system/lm_sensors.service)
Active: active (exited) since Tue, 15 Nov 2011 18:25:52 -0500; 7s ago
Process: 1151 ExecStop=/sbin/modprobe -qabr $BUS_MODULES
$HWMON_MODULES (code=exited, status=0/SUCCESS)
Process: 1157 ExecStart=/usr/bin/sensors -s (code=exited,
status=0/SUCCESS)
Process: 1155 ExecStart=/sbin/modprobe -qab $BUS_MODULES
$HWMON_MODULES (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/lm_sensors.service

# ps ax|grep sensors
1244 pts/0 S+ 0:00 grep --color=auto sensors

There's also nothing written to syslog.

How do I troubleshoot this? How do I determine why a service managed
by systemd didn't start? Why is there nothing written to syslog
regarding this?

Thanks,
Alex
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines


Relevant Pages

  • Re: [opensuse] Cant use mail - 12.1
    ... none of the network services start unless i ... manually restart "systemctl restart network.service" after booting. ... It seems to be to do with the new systemd in 12.1. ... I'm either booting using sysV or enabling the services manually if I forget to hit f5. ...
    (SuSE)
  • Re: problems with DHCP server / systemd problems
    ... I have problems with lots of network based services not working ... My theory is that systemd thinks it is waiting for the network ... Has anyone got a script which will 'restart' all services which are ...
    (Fedora)
  • Re: [opensuse] What is the purpose of the systemd journal service?
    ... nearish future we may not install a syslog implementation by default. ... but I must say that Linux ... evolution is taking us in the direction of systemd. ...
    (SuSE)
  • Re: basic systemd question
    ... systemd starts the service during boot. ... Your process starts at boot time...as expected. ... You then manually kill it, ... You then expect it to automatically restart? ...
    (Fedora)
  • Re: [opensuse] Systemd and fstab
    ... But you can use Google any time of the year. ... Encrypted partitions under SystemD? ... In fact you can use the automounter AS WELL but things will be a buqqer ... The trouble with troubleshooting is that trouble shoots back. ...
    (SuSE)