[Shib-Users] shib_handler: cannot connect socket

1,799 views
Skip to first unread message

Gokula Krishnan P

unread,
May 17, 2010, 11:29:27 PM5/17/10
to shibbole...@internet2.edu

Hi,

I have been trying to locate the problem but still not succeed. It would be a great help if anyone of you could give me a hint where exactly I need to look to resolve it. Please find the native.log below

 

2010-05-18 08:25:55 ERROR Shibboleth.Listener [3365] shib_handler: socket call resulted in error (13): no message

2010-05-18 08:25:55 WARN Shibboleth.Listener [3365] shib_handler: cannot connect socket (24)...retrying

2010-05-18 08:25:57 ERROR Shibboleth.Listener [3365] shib_handler: socket call resulted in error (13): no message

2010-05-18 08:25:57 WARN Shibboleth.Listener [3365] shib_handler: cannot connect socket (24)...retrying

2010-05-18 08:26:01 ERROR Shibboleth.Listener [3365] shib_handler: socket call resulted in error (13): no message

2010-05-18 08:26:01 WARN Shibboleth.Listener [3365] shib_handler: cannot connect socket (24)...

2010-05-18 08:26:01 CRIT Shibboleth.Listener [3365] shib_handler: socket server unavailable, failing

2010-05-18 08:26:01 ERROR Shibboleth.StatusHandler [3365] shib_handler: error while processing request: Cannot connect to shibd process, a site adminstrator should be notified.

 

Thanks & Regards,

Gokula

 

Gokula Krishnan P

unread,
May 17, 2010, 11:45:17 PM5/17/10
to shibbole...@internet2.edu

I am getting the  below response to the Status request https://mydomain.com/Shibboleth.sso/Status

 

<StatusHandler>

<Version Xerces-C="3.0.1" Shibboleth="2.3"/>

<Status>

<Exception type="shibsp::ListenerException">

Cannot connect to shibd process, a site adminstrator should be notified.

</Exception>

</Status>

</StatusHandler>

 

Thanks & Regards,

Gokula

Nate Klingenstein

unread,
May 18, 2010, 12:01:56 AM5/18/10
to shibbole...@internet2.edu
Gokula,

Did you remember to start shibd? It is a daemon process that needs to be operational. /etc/init.d/shibd start is typical if you are on a RedHat-flavored system with an RPM-based install.

If you did, then please look for misconfigurations of the listener in shibboleth2.xml, dead socket files laying around, and hung shibd processes. But you probably just need to start shibd.

Take care,
Nate.

Gokula Krishnan P

unread,
May 18, 2010, 12:48:05 AM5/18/10
to shibbole...@internet2.edu
Yes, it is RPM-based install on CentOS and I have also restarted shibd process. I am getting the below error message in the browser hence sure that the shibd is running.
<StatusHandler>
<Version Xerces-C="3.0.1" Shibboleth="2.3"/>
<Status>
<Exception type="shibsp::ListenerException"> Cannot connect to shibd process, a site adminstrator should be notified. </Exception>
</Status>
</StatusHandler>

Thanks & Regards,
Gokula

Nate Klingenstein

unread,
May 18, 2010, 1:19:09 AM5/18/10
to shibbole...@internet2.edu
Gokula,

I forgot one more obvious cause.

Do you have SELinux enabled without a policy file for Shibboleth?

https://spaces.internet2.edu/display/SHIB2/NativeSPTroubleshootingCommonErrors#NativeSPTroubleshootingCommonErrors-Can%27tconnecttolistenerprocess

I bet this is the problem,

Gokula Krishnan P

unread,
May 18, 2010, 1:32:27 AM5/18/10
to shibbole...@internet2.edu
Thank you so much, yes SELinux is enforced. I have disabled it and it is working fine now.
Thank you so much again.
Reply all
Reply to author
Forward
0 new messages