Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bnss_mysql exited with code 1 #2

Open
rallep71 opened this issue Nov 24, 2019 · 1 comment
Open

bnss_mysql exited with code 1 #2

rallep71 opened this issue Nov 24, 2019 · 1 comment

Comments

@rallep71
Copy link

Hello,

ive cloned freeradius alpine, and start with docker-composer on Ubuntu 18.04.

rlm_sql (sql): Opening additional connection (0), 1 of 32 pending slots used
bnss_radius | rlm_sql_mysql: Starting connect to MySQL server
bnss_radius | rlm_sql_mysql: Couldn't connect to MySQL server [email protected]:radius
bnss_radius | rlm_sql_mysql: MySQL error: Can't connect to MySQL server on '192.168.5.8' (115)
bnss_radius | rlm_sql_mysql: Socket destructor called, closing socket
bnss_radius | rlm_sql (sql): Opening connection failed (0)
bnss_radius | rlm_sql (sql): Removing connection pool
bnss_radius | /etc/raddb/mods-enabled/sql[20]: Instantiation failed for module "sql"
bnss_mysql exited with code 1
linux@linuxasus:/media/Data/DockerFreeradius/freeRADIUS-alpine$ docker-compose ps
Name Command State Ports

bnss_mysql docker-entrypoint.sh mysqld Restarting
bnss_radius /start.sh Restarting

@bestrocker221
Copy link
Owner

It is a problem with file permissions when trying to open the log files. I'll look into it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants