Hack way to compile freeradius causing freeradius to hang under multithread mode

Ming-Ching Tiew mctiew at yahoo.com
Sun Jun 14 14:52:02 CEST 2009




--- On Sun, 6/14/09, A.L.M.Buxey at lboro.ac.uk <A.L.M.Buxey at lboro.ac.uk> wrote:


> 
> umm, have you checked the output of radiusd.log etc to
> ensure you
> dnt have a simple problem - such as access rights to a
> directory,
> path or log file?
> 

This would be very likely. When I run it as 'radiusd -xx', 
the log file says :-

 Module: Checking session {...} for more modules to load
 Module: Checking post-proxy {...} for more modules to load
 Module: Checking post-auth {...} for more modules to load
 }
 thread pool {
        start_servers = 5
        max_servers = 32
        min_spare_servers = 3
        max_spare_servers = 10
        max_requests_per_server = 0
        cleanup_delay = 5
        max_queue_size = 65536
 }
Thread spawned new child 1. Total threads in pool: 1
Thread spawned new child 2. Total threads in pool: 2
Thread spawned new child 3. Total threads in pool: 3
Thread 1 waiting to be assigned a request
Thread 2 waiting to be assigned a request
Thread 3 waiting to be assigned a request
Thread spawned new child 4. Total threads in pool: 4
Thread spawned new child 5. Total threads in pool: 5
Thread pool initialized
radiusd: #### Opening IP addresses and Ports ####
listen {
        type = "auth"
        ipaddr = *
        port = 0
Thread 4 waiting to be assigned a request
Thread 5 waiting to be assigned a request
Re-wait 3
Re-wait 1
Re-wait 2

And nothing after that. netstat -naut still does not have
anything listening to 1812.

Regards.


      



More information about the Freeradius-Devel mailing list