Hi,
Up until recently I had sssd running on a ubuntu machine for 10 months. This machine has an identical setup to 20 other ones. When i try to restart sssd i get the following error:
root@perf-hpc01:/var/log/sssd# systemctl status sssd.service ? sssd.service - System Security Services Daemon Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-06-16 11:08:39 EDT; 7s ago Process: 120110 ExecStart=/usr/sbin/sssd -i -f (code=exited, status=2) Main PID: 120110 (code=exited, status=2)
Jun 16 11:08:39 perf-hpc01 systemd[1]: Starting System Security Services Daemon... Jun 16 11:08:39 perf-hpc01 sssd[120110]: SSSD is already running Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 16 11:08:39 perf-hpc01 systemd[1]: Failed to start System Security Services Daemon. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Unit entered failed state. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Failed with result 'exit-code'.
If i look at my sssd.log (the only one that had something written to it), I see:
(Fri Jun 16 11:08:39:282642 2017) [sssd] [main] (0x0010): pidfile exists at /var/run/sssd.pid
I have my debug level set to 10.
Any help would be greatly appreciated! Thomas
On 06/16/2017 05:10 PM, Thomas Beaudry wrote:
Hi,
Up until recently I had sssd running on a ubuntu machine for 10 months. This machine has an identical setup to 20 other ones. When i try to restart sssd i get the following error:
root@perf-hpc01:/var/log/sssd# systemctl status sssd.service ● sssd.service - System Security Services Daemon Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-06-16 11:08:39 EDT; 7s ago Process: 120110 ExecStart=/usr/sbin/sssd -i -f (code=exited, status=2) Main PID: 120110 (code=exited, status=2)
Jun 16 11:08:39 perf-hpc01 systemd[1]: Starting System Security Services Daemon... Jun 16 11:08:39 perf-hpc01 sssd[120110]: SSSD is already running Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 16 11:08:39 perf-hpc01 systemd[1]: Failed to start System Security Services Daemon. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Unit entered failed state. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Failed with result 'exit-code'.
If i look at my sssd.log (the only one that had something written to it), I see:
(Fri Jun 16 11:08:39:282642 2017) [sssd] [main] (0x0010): pidfile exists at /var/run/sssd.pid
This means that the pidfile already exists. Try to run $ pgrep -a sssd
to see if there are some lingering processes (and kill them if there are), if not, then just remove the pidfile at /var/run/sssd.pid and try to start SSSD again.
Michal
I have my debug level set to 10.
Any help would be greatly appreciated! Thomas
sssd-users mailing list -- sssd-users@lists.fedorahosted.org To unsubscribe send an email to sssd-users-leave@lists.fedorahosted.org
Amazing Michal it worked! I was hoping it was as easy as this, I just didn't do it because I didn't want to break anything :)
Have a great weekend, Thomas ________________________________________ From: Michal Židek mzidek@redhat.com Sent: Friday, June 16, 2017 12:13 PM To: sssd-users@lists.fedorahosted.org Subject: [SSSD-users] Re: can't restart sssd
On 06/16/2017 05:10 PM, Thomas Beaudry wrote:
Hi,
Up until recently I had sssd running on a ubuntu machine for 10 months. This machine has an identical setup to 20 other ones. When i try to restart sssd i get the following error:
root@perf-hpc01:/var/log/sssd# systemctl status sssd.service ● sssd.service - System Security Services Daemon Loaded: loaded (/lib/systemd/system/sssd.service; enabled; vendor preset: enabled) Active: failed (Result: exit-code) since Fri 2017-06-16 11:08:39 EDT; 7s ago Process: 120110 ExecStart=/usr/sbin/sssd -i -f (code=exited, status=2) Main PID: 120110 (code=exited, status=2)
Jun 16 11:08:39 perf-hpc01 systemd[1]: Starting System Security Services Daemon... Jun 16 11:08:39 perf-hpc01 sssd[120110]: SSSD is already running Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Main process exited, code=exited, status=2/INVALIDARGUMENT Jun 16 11:08:39 perf-hpc01 systemd[1]: Failed to start System Security Services Daemon. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Unit entered failed state. Jun 16 11:08:39 perf-hpc01 systemd[1]: sssd.service: Failed with result 'exit-code'.
If i look at my sssd.log (the only one that had something written to it), I see:
(Fri Jun 16 11:08:39:282642 2017) [sssd] [main] (0x0010): pidfile exists at /var/run/sssd.pid
This means that the pidfile already exists. Try to run $ pgrep -a sssd
to see if there are some lingering processes (and kill them if there are), if not, then just remove the pidfile at /var/run/sssd.pid and try to start SSSD again.
Michal
I have my debug level set to 10.
Any help would be greatly appreciated! Thomas
sssd-users mailing list -- sssd-users@lists.fedorahosted.org To unsubscribe send an email to sssd-users-leave@lists.fedorahosted.org
_______________________________________________ sssd-users mailing list -- sssd-users@lists.fedorahosted.org To unsubscribe send an email to sssd-users-leave@lists.fedorahosted.org
sssd-users@lists.fedorahosted.org