Startup problem with ldap

Alan DeKok aland at deployingradius.com
Tue Nov 6 00:30:31 CET 2007


Massimo Meregalli wrote:
> 	1) I get the same problem with the fresh configuration files as
> installed by freeradius 1.1.7. This time I'd expect the server say it
> can't contact "ldap.your.domain" instead it will stop like when started
> with my configuration file. The ps command say the server is stopped in
> the "futex_wait" before generating threads (the ps -eLf command report
> only one thread). 

  Can you attach to the process with gdb, and print the output of "bt"?
That would help figure out where the problem lies.

> 	2) The problem starts only when the ldap module is activated, no matter
> if the module is configured in authorize or in authentication section.
> 
> 	3) I've tried to start the server with uid = gid = root (to prevent uid
> change) but I'got the same results. 

  Ok... so it's likely not a permissions issue.

> 	4) Doing su - radiusd ; radiusd -X doesn't produce output differences
> compared to when the server i started by root, all the things is working
> fine.

  Probably because it's in single-threaded mode.  What happens when you
start it as root with "radiusd -xxf" ?

  Alan DeKok.



More information about the Freeradius-Users mailing list