Cyrus + LDAP = death by 13
Konstantin V. Gavrilenko
mlists at arhont.com
Tue Mar 6 18:42:03 EST 2007
Hi list,
Been in contact with Roland Felnhofer, who also experiences the same
problem. He narrowed it down to the version of nss_ldap in use.
Here is the list of different versions of nss_ldap and how it affects
the cyrus operations.
nss_ldap-248 NOT working
nss_ldap-247 - not tested -
nss_ldap-246 NOT working (SuSE source RPM)
nss_ldap-245 !! could not find source !!
nss_ldap-244 WORKING
nss_ldap-243 - not tested -
nss_ldap-242 - not tested -
nss_ldap-241 - not tested -
nss_ldap-240 WORKING
Maybe it will be helpful to someone.
Respectfully,
Konstantin V. Gavrilenko
Managing Director
Arhont Ltd - Information Security
web: http://www.arhont.com
http://www.wi-foo.com
e-mail: k.gavrilenko at arhont.com
tel: +44 (0) 870 44 31337
fax: +44 (0) 117 969 0141
PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com
Konstantin V. Gavrilenko wrote:
> Hi list,
>
> I have a problem with my cyrus server that I managed to track to the
> presence of the LDAP on the system.
>
> The user and group information is obtained form the LDAP server.
> When this functionality is enabled, when I start cyrus I get the
> following error:
>
>
> Feb 12 14:58:12 pingo master[22999]: about to exec /usr/lib/cyrus/idled
> Feb 12 14:58:12 pingo master[22963]: ready for work
> Feb 12 14:58:12 pingo master[22963]: process 23054 exited, signaled to
> death by 13
> Feb 12 14:58:12 pingo master[22963]: process 23055 exited, signaled to
> death by 13
> Feb 12 14:58:12 pingo master[22963]: process 23056 exited, signaled to
> death by 13
> Feb 12 14:58:14 pingo master[22963]: process 23057 exited, signaled to
> death by 13
> Feb 12 14:58:14 pingo master[22963]: service imaps pid 23057 in READY
>
> If I change the nssswitch.conf to obtain the group information from
> files, cyrus starts up fine.
>
> passwd: files ldap
> #group: files ldap
> group: files
>
>
> When I shut down ldap server, leave the nsswitch.conf to obtain the info
> from "files ldap" and start cyrus, I get the following error for some
> time, and them cyrus starts up normally.
>
> Feb 12 15:13:07 pingo master[32551]: retrying with 1024 (current max)
> Feb 12 15:13:07 pingo master[32551]: process started
> Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP
> server ldaps://localhost/: Can't contact LDAP server
> Feb 12 15:13:07 pingo master[32554]: nss_ldap: failed to bind to LDAP
> server ldaps://localhost/: Can't contact LDAP server
> Feb 12 15:13:07 pingo master[32554]: nss_ldap: reconnecting to LDAP
> server (sleeping 1 seconds)...
> Feb 12 15:13:08 pingo master[32554]: nss_ldap: failed to bind to LDAP
> server ldaps://localhost/: Can't contact LDAP server
> Feb 12 15:13:08 pingo master[32554]: nss_ldap: reconnecting to LDAP
> server (sleeping 2 seconds)...
>
> In both of last cases, I can turn on ldap after the cyrus has started,
> and it does not affect its later functionality and works fine.
>
> What can be the problem of initial start up of cyrus and signaled to
> death by 13 (broken pipe) ? Has anyone experienced the same problem ?
>
>
--
Respectfully,
Konstantin V. Gavrilenko
Managing Director
Arhont Ltd - Information Security
web: http://www.arhont.com
http://www.wi-foo.com
e-mail: k.gavrilenko at arhont.com
tel: +44 (0) 870 44 31337
fax: +44 (0) 117 969 0141
PGP: Key ID - 0xE81824F4
PGP: Server - keyserver.pgp.com
More information about the Info-cyrus
mailing list