Re:Rejected: Realm does not have at least one dot separator
Hi, Please state which distro and version of FR you are using, and post the full debug output. As it stands, either you forgot to flush privileges/restart MySQL, OR have not configure the appropriate user/password, OR /var/run has run out of space. Regards
Message: 1 Date: Sun, 10 May 2015 11:54:13 +0200 From: <escalanterj@gmail.com> To: <freeradius-users@lists.freeradius.org> Subject: Rejected: Realm does not have at least one dot separator Message-ID: <007e01d08b07$45e4d140$d1ae73c0$@gmail.com> Content-Type: text/plain; charset="us-ascii"
Hello,
I'm struggling with Freeradius since a few days and cannot get forward. This is the message I get when I execute Freeradius in debug mode:
'Rejected: Realm does not have at least one dot separator'
Ignoring "ldap" (see raddb/mods-available/README.rst)
And this is what I get when I restart the computer, but when I restart Freeradius I don't get it.
Sun May 10 11:22:30 2015 : Info: rlm_sql (sql): Couldn't find configuration for accounting, will return NOOP for calls from this section
Sun May 10 11:22:30 2015 : Info: rlm_sql (sql): Couldn't find configuration for post-auth, will return NOOP for calls from this section
Sun May 10 11:22:30 2015 : Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Sun May 10 11:22:30 2015 : Info: rlm_sql (sql): Attempting to connect to database "radius"
Sun May 10 11:22:30 2015 : Info: rlm_sql (sql): Opening additional connection (0)
Sun May 10 11:22:30 2015 : Error: rlm_sql_mysql: Couldn't connect socket to MySQL server root@localhost:radius
Sun May 10 11:22:30 2015 : Error: rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'
Sun May 10 11:22:30 2015 : Error: rlm_sql (sql): Opening connection failed (0)
Sun May 10 11:22:30 2015 : Error: /etc/freeradius/sql.conf[22]: Instantiation failed for module "sql"
The socket exists in the right place, and the credentials for access to the DB are right.
Could you please give me a clue?
Thanks in advance.
-- Regards, -- Rui Ribeiro Senior Sysadm ISCTE-IUL https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434
participants (1)
-
Rui Ribeiro