Public bug reported: freeradius fails to start when MySQL is a dependency to start. The usage of upstart from MySQL prevents specifying an earlier start level priority for MySQL to start first.
Wed Nov 21 01:22:19 2012 : Error: rlm_sql_mysql: Mysql error 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)' Wed Nov 21 01:22:19 2012 : Error: rlm_sql (sql): Failed to connect DB handle #0 Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): There are no DB handles to use! skipped 5, tried to connect 0 Wed Nov 21 01:22:19 2012 : Error: Failed to load clients from SQL. Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): Closing sqlsocket 4 Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): Closing sqlsocket 3 Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): Closing sqlsocket 2 Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): Closing sqlsocket 1 Wed Nov 21 01:22:19 2012 : Info: rlm_sql (sql): Closing sqlsocket 0 Wed Nov 21 01:22:19 2012 : Error: /etc/freeradius/sql.conf[22]: Instantiation failed for module "sql" Wed Nov 21 01:22:19 2012 : Error: /etc/freeradius/sites-enabled/inner-tunnel[131]: Failed to load module "sql". Wed Nov 21 01:22:19 2012 : Error: /etc/freeradius/sites-enabled/inner-tunnel[47]: Errors parsing authorize section. Wed Nov 21 01:22:19 2012 : Error: Failed to load virtual server inner-tunnel Description: Ubuntu 12.04.1 LTS Release: 12.04 freeradius: Installed: 2.1.10+dfsg-3ubuntu0.12.04.1 Candidate: 2.1.10+dfsg-3ubuntu0.12.04.1 Version table: *** 2.1.10+dfsg-3ubuntu0.12.04.1 0 500 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu/ precise-security/main amd64 Packages 100 /var/lib/dpkg/status 2.1.10+dfsg-3build2 0 500 http://us.archive.ubuntu.com/ubuntu/ precise/main amd64 Packages ** Affects: freeradius (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to freeradius in Ubuntu. https://bugs.launchpad.net/bugs/1081509 Title: freeradius + mysql fails to start To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/freeradius/+bug/1081509/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs