Shibboleth SP on RHEL7- issues between shibd <-> systemd?

Mark Cairney Mark.Cairney at ed.ac.uk
Mon Jun 1 09:59:45 EDT 2015


Thanks, looking at the times in shibd.log it was taking over 30 seconds
from start to finish. I've now upped the -w parameter and it's starting
and stopping as expected!
I'm slightly surprised it takes as long as it does to start as it's a
relatively simple config but that' by-the-by.

Fully systemd-ing it would be good for future-proofing but now it's
behaving I'm happy enough to go with this tweaked config.

Cheers,

Mark


On 01/06/15 14:45, Cantor, Scott wrote:
> On 6/1/15, 9:19 AM, "users on behalf of Mark Cairney" <users-bounces at shibboleth.net on behalf of Mark.Cairney at ed.ac.uk> wrote:
>>
>> # /etc/init.d/shibd start
>> Starting shibd (via systemctl):  Job for shibd.service failed. See
>> 'systemctl status shibd.service' and 'journalctl -xn' for details.
>>                                                           [FAILED]
>> However the process starts (this PID matches the one in
>> /var/run/shibboleth/shibd.pid):
> 
> It's simply taking too long to start, more than 30 seconds. You can change the -w param in the script, or just live with it. Has nothing to do with systemd.
> 
>> If I run the status command I see:
> 
> That's probably it reporting the original failure to start fast enough and reporting the PID of the original process before it forked.
> 
>> Similarly if I stop the service I see:
>>
>> # /etc/init.d/shibd stop
>> Stopping shibd (via systemctl):                            [  OK  ]
>>
>> However shibd is still running.
> 
> I've not seen any such behavior, but I'll look at ours, it certainly should be slow to start up, enough to trigger this if it's actually happening.
> 
> I know enough to probably throw a systemd script together at this point.
> 
> -- Scott
> 

-- 
/****************************

Mark Cairney
ITI UNIX Section
Information Services
University of Edinburgh

Tel: 0131 650 6565
Email: Mark.Cairney at ed.ac.uk
PGP: 0x435A9621

*******************************/

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: OpenPGP digital signature
URL: <http://shibboleth.net/pipermail/users/attachments/20150601/0b56b271/attachment.sig>


More information about the users mailing list