Service radiusd Start vs radiusd

eric.chang eric_xxxx at yahoo.co.nz
Wed Jan 25 07:49:57 CET 2012


Hi guys,

Whats the different between command:

# Service radiusd start 

# radiusd

when i use radiusd or radiusd -X everything works fine.

but when i use service radiusd start, i have problem connecting with the
postgresql DB.

Log:

(radiusd)
Thu Jan 26 08:38:10 2012 : Info: Loaded virtual server inner-tunnel
Thu Jan 26 08:38:10 2012 : Info: rlm_sql (sql): Driver rlm_sql_postgresql
(module rlm_sql_postgresql) loaded and linked
Thu Jan 26 08:38:10 2012 : Info: rlm_sql (sql): Attempting to connect to
radiusd at localhost:5432/radiusdb
Thu Jan 26 08:38:10 2012 : Info: Loaded virtual server <default>
Thu Jan 26 08:38:10 2012 : Info: Ready to process requests.
Thu Jan 26 08:38:16 2012 : Info: Exiting normally.

(service radiusd start)
Thu Jan 26 08:39:23 2012 : Info: Loaded virtual server inner-tunnel
Thu Jan 26 08:39:23 2012 : Info: rlm_sql (sql): Driver rlm_sql_postgresql
(module rlm_sql_postgresql) loaded and linked
Thu Jan 26 08:39:23 2012 : Info: rlm_sql (sql): Attempting to connect to
radiusd at localhost:5432/radiusdb
Thu Jan 26 08:39:23 2012 : Error: rlm_sql_postgresql: Couldn't connect
socket to PostgreSQL server radiusd at localhost:radiusdb
Thu Jan 26 08:39:23 2012 : Error: rlm_sql (sql): Failed to connect DB handle
#0
Thu Jan 26 08:39:23 2012 : Info: Loaded virtual server <default>
Thu Jan 26 08:39:23 2012 : Info: Ready to process requests.
Thu Jan 26 08:39:28 2012 : Info: Exiting normally.

Thanks
Eric

--
View this message in context: http://freeradius.1045715.n5.nabble.com/Service-radiusd-Start-vs-radiusd-tp5429517p5429517.html
Sent from the FreeRadius - User mailing list archive at Nabble.com.



More information about the Freeradius-Users mailing list