Установил PostgreSQL freeradius. Настроил. База запущена, работает. Запускаю радиус пишет @40000000406e3baf103c3254 rlm_sql (sql): Driver rlm_sql_postgresql (module rlm_sql_postgresql) loaded and linked @40000000406e3baf104463fc rlm_sql (sql): Attempting to connect to pgsql@127.0.0.1:/radius @40000000406e3baf104cad14 rlm_sql (sql): starting 0 @40000000406e3baf10563e4c rlm_sql (sql): Attempting to connect rlm_sql_postgresql #0 @40000000406e3baf10b66f4c rlm_sql_postgresql: Couldn't connect socket to PostgreSQL server pgsql@127.0.0.1:radius @40000000406e3baf10bfd58c rlm_sql_postgresql: Postgresql error 'could not connect to server: Connection refused ?Is the server running on host 127.0.0.1 and accepting ?TCP/IP connections on port 5432? ' @40000000406e3baf10cda0cc rlm_sql (sql): Failed to connect DB handle #0
Не хочет коннектится в файле конфигурации радиуса # Database type # Current supported are: rlm_sql_mysql, rlm_sql_postgresql, rlm_sql_iodbc, rlm_sql_oracle driver = "rlm_sql_postgresql"
# Connect info server = "localhost" # server = 127.0.0.1 # The following credentials will most likely work on a default install of Postgresql # If they do work however, it means that you have a HUGE GAPING SECURITY RISK on your # server! Please change the "postgres" users password and setup a separate radius user. login = "pgsql" password = "123"
# Database table configuration radius_db = "radius" А коннектися не хочет... в чем проблема?