Re: Server blown up after move

2007-12-20 Thread Alan DeKok
John Ellin wrote:
> config is radius + LDAP and worked fine on the old machine but, on the new 
> machine it works fine when debugging, but not at all when running as a 
> daemon.

  You can run it as a daemon, *and* have extended debugging.  Just use
radiusd -xxx.

> Tried running in debug as radius:radius and still worked, so it doesn't 
> appear 
> to be a problem with config directory/file ownership.
> 
> Any suggestions would be greatly appreciated...

  Run it as "radiusd -fxxx" from the command line, and see if it works then.

  Alan DeKok.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Server blown up after move

2007-12-19 Thread A . L . M . Buxey
Hi,

what does the 'less debugging' mode ->  radiusd -x
give you (thats a small x rather thana  big X)

alan
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Server blown up after move

2007-12-19 Thread John Ellin
Hi all,

Recently had to move free radius 1.1.7 from production server to test/backup 
server due to failed HD in RAID.

config is radius + LDAP and worked fine on the old machine but, on the new 
machine it works fine when debugging, but not at all when running as a 
daemon.

Output from netstat -l shows that the server is listening on the correct ports 
on the ('listen'ed) sockets when running as a daemon:

[EMAIL PROTECTED] raddb]# netstat -l | grep radius
udp0  0 nw.4ccompany.com:radius *:*
udp0  0 nw.4ccompany.com:radius *:*
udp0  0 nw.4cco:radius-acct *:*
udp0  0 nw.4cco:radius-acct *:*

(doubling up is for lo and eth0)

(also tried 'bind_address = *')

however output from radtest is:

[...]
Re-sending Access-Request of id 218 to 192.168.0.16 port 1812
User-Name = "john"
User-Password = "removed"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
radclient: no response from server for ID 218

and nothing appearing in radius.log.

Using radiusd -X:

[EMAIL PROTECTED] raddb]# radtest john removed 192.168.0.16 0 also_removed
Sending Access-Request of id 14 to 192.168.0.16 port 1812
User-Name = "john"
User-Password = "removed"
NAS-IP-Address = 255.255.255.255
NAS-Port = 0
rad_recv: Access-Accept packet from host 192.168.0.16:1812, id=14, length=20


Tried running in debug as radius:radius and still worked, so it doesn't appear 
to be a problem with config directory/file ownership.

Any suggestions would be greatly appreciated...

 Best regards,
 jona.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html