I tried running in -X || -x || -xx and it works fine even running it not as root... but when I tried to run it without the debug modes.. it wont authenticate anymore....
I tried radtest user pass localhost:1645 and it did not return a reply
 
I'll just show outputs...
 
[kramz@iliganonline kramz]$ /opt/sbin/radiusd -x
Starting - reading configuration files ...
Module: Loaded SQL
rlm_sql: Driver rlm_sql_mysql loaded and linked
rlm_sql: Attempting to connect to raddius@localhost:/auth_db
rlm_sql:  Connected new DB handle, #0
rlm_sql:  Connected new DB handle, #1
rlm_sql:  Connected new DB handle, #2
rlm_sql:  Connected new DB handle, #3
rlm_sql:  Connected new DB handle, #4
Module: Instantiated sql (sql)
Module: Loaded preprocess
Module: Instantiated preprocess (preprocess)
Module: Loaded realm
Module: Instantiated realm (suffix)
Module: Loaded files
Module: Instantiated files (files)
Module: Loaded detail
Module: Instantiated detail (detail)
Module: Loaded System
Module: Instantiated unix (unix)
Module: Loaded radutmp
Module: Instantiated radutmp (radutmp)
Failed writing process id to file /opt/var/run/radiusd.pid: Permission denied
Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on 1647/udp.
Ready to process requests.
----
[kramz@iliganonline kramz]$ /opt/bin/radtest demoshan shan localhost:1645 0 testing123
Sending Access-Request of id 35 to 127.0.0.1:1645
        User-Name = "demoshan"
        Password = "\356\010E\233O\336_\024$\346\226Ns\303\316M"
        NAS-IP-Address = xxx.com
        NAS-Port-Id = "0"
rad_recv: Access-Accept packet from host 127.0.0.1:1645, id=35, length=20
 
---- IT works with debug mode... now without the debug... ----
[kramz@iliganonline kramz]$ /opt/sbin/radiusd -f
radiusd: Starting - reading configuration files ...
 
----
[kramz@iliganonline kramz]$ /opt/bin/radtest demoshan pass localhost:1645 0 testing123
Sending Access-Request of id 177 to 127.0.0.1:1645
        User-Name = "demoshan"
        Password = "\252\023)\003`\027U<H\254q\224b\227\232"
        NAS-IP-Address = iliganonline.com
        NAS-Port-Id = "0"
Sending Access-Request of id 177 to 127.0.0.1
        User-Name = "demoshan"
        Password = "\252\023)\003`\027U<H\254q\224b\227\232"
        NAS-IP-Address = iliganonline.com
        NAS-Port-Id = "0"
Sending Access-Request of id 177 to 127.0.0.1
        User-Name = "demoshan"
        Password = "\252\023)\003`\027U<H\254q\224b\227\232"
        NAS-IP-Address = iliganonline.com
        NAS-Port-Id = "0"
Sending Access-Request of id 177 to 127.0.0.1
        User-Name = "demoshan"
        Password = "\252\023)\003`\027U<H\254q\224b\227\232"
        NAS-IP-Address = iliganonline.com
        NAS-Port-Id = "0"
^C
[kramz@iliganonline kramz]$

Reply via email to