| |

VerySource

 Forgot password?
 Register
Search
View: 2469|Reply: 3

Radius mysql problem rlm_sql_mysql.so This file I didn't find

[Copy link]

2

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 Russia

Post time: 2021-4-25 16:00:01
| Show all posts |Read mode
RLM_SQL (SQL): COULD NOT LINK DRIVER RLM_SQL_MYSQL: RLM_SQL_MYSQL.SO: Cannot Open Shared Object File: No Such File or Directory
RLM_SQL (SQL): make Sure IT (and all its dependent libraries!) Are in the search path of Your System's LD.
RADIUSD.CONF [14]: SQL: Module Instantiation Failed.
Radiusd.conf [1844] Unknown Module "SQL".
Radiusd.conf [1773] failed to parse authorize section.

RLM_SQL_MYSQL.SO This file I have not found it, please have experienced high guidance, online, etc., thank you! ! !
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2021-4-25 17:00:01
| Show all posts
If you are mysql installed using MySQL source editing, this problem should not occur if you use mysql installed similar to RPM mode, then default, if you don't install RLM_SQL_MYSQL.so, if you need this file, you need to add Mysql. -devel - ****. rpm
Reply

Use magic Report

2

Threads

3

Posts

3.00

Credits

Newbie

Rank: 1

Credits
3.00

 China

 Author| Post time: 2021-4-25 17:15:01
| Show all posts
\Thanks!

I have encountered this problem when debugging now, how should I solve, mysqk\\\

RLM_SQL (SQL): Trying to (re) Connect Unconnected Handle 4 ..
RLM_SQL (SQL): Attempting to Connect RLM_SQL_MYSQL # 4
RLM_SQL_MYSQL: Starting Connect To MySQL Server for # 4
RLM_SQL_MYSQL: COULDN '' Connect Socket To MySQL Server Root @ localhost: Radius
RLM_SQL_MYSQL: MySQL Error 'Can't Connect To Local MySQL Server Through Socket' /VAR/LIB/Mysql/mysql.sock '(2)'
Reply

Use magic Report

0

Threads

2

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2021-4-25 17:30:01
| Show all posts
Error 2002: Can't Connect To Local MySQL Server Through Socket '/VAR/LIB/Mysql/mysql.sock' (2)

In fact, everyone asks all the questions all the questions, saying what link is not mysqld.sock. In fact, everyone may wish to see what Mysql's error log understand what is going on, I here's the wrong log is

/var/lib/mysql/*.err You will find mysql only, because / var / lib / mysql permissions do not allow mysql service access, English MySQL default is to call mysql users to start the service, ok, Since you know what is the reason you can't start, it is simple. We only need

Chown -r mysql: mysql / var / lib / mysql is in line, if it is still not started, slowly adjust the permissions, anyway, it is generally not the problem.

If everyone still can't start, then use my more cumbersome permissions, anyway, I do this every time, I will generally don't have a problem. See below:

Chown -r root / usr / local / mysql
chgrp -r mysql / usr / local / mysql
chown -r root / usr / local / mysql / bin
chgrp -r mysql / usr / local / mysql / bin
chgrp -r mySQL / var / lib / mysql
CHMOD 777 / VAR / LIB / MYSQL
Chown -r root / var / lib / mysql / mysql
Chgrp -r mysql / var / lib / mysql / mysql
CHMOD 777 / VAR / LIB / MYSQL / MySQL
Chown -r root / var / lib / mysql / mysql / *
chgrp -r mySQL / var / lib / mysql / mysql / *
CHMOD 777 / VAR / LIB / MYSQL / MySQL / *
Chmod 777 /usr/local/mysql/lib/mysql/libmysqlclient.a



After doing the above steps, then a script for your compilation directory COPY

CP Support-files / mysql.server /etc/rc.d/init.d/mysqld

Chkconfig --Add MySQLD

Use NTSYSV settings to make MySQL each startup automatically.

Ok, until this mysql is installed, you can start your MySQL service like this.

/etc/rc.d/init.d/mysqld start
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list