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 <[email protected]>
Sent: Friday, June 16, 2017 12:13 PM
To: [email protected]
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 -- [email protected]
> To unsubscribe send an email to [email protected]
>
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
_______________________________________________
sssd-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to