Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upError: Unable to load auth plugin "/usr/lib/auth-plug.so" #33
Comments
This comment has been minimized.
This comment has been minimized.
You've compiled yourself, so you've probably also made |
This comment has been minimized.
This comment has been minimized.
I've made ldd output: ldd mosquitto |
This comment has been minimized.
This comment has been minimized.
In Mosquitto's
|
This comment has been minimized.
This comment has been minimized.
Output: |
This comment has been minimized.
This comment has been minimized.
There you go. :)
|
This comment has been minimized.
This comment has been minimized.
Solved, thanks :) |
This comment has been minimized.
This comment has been minimized.
Because of the linkage with Mosquitto, yes. Sorry: I forgot to say that. Glad it works now. |
jpmens
closed this
Oct 6, 2014
pantaovay
referenced this issue
Nov 13, 2014
Closed
Error: Unable to load auth plugin "/home/xueba/tmp/mosquitto-auth-plug/auth-plug.so". #39
This comment has been minimized.
This comment has been minimized.
zhangshexin
commented
Dec 19, 2014
Hello, I am using is 1.3.5, I tried in accordance with the above method, but it's still an error like that |
jpmens
referenced this issue
Dec 22, 2014
Closed
Unable to load auth plugin "/home/xueba/tmp/mosquitto-auth-plug/auth-plug.so #52
AggelosGroumas
referenced this issue
Jan 30, 2015
Closed
Yet another unable to load auth-plugin. #55
kirang89
referenced this issue
Apr 3, 2015
Closed
Unable to run mosquitto with provided configuration #67
This comment has been minimized.
This comment has been minimized.
hkverma310
commented
Sep 11, 2015
Access denied for user 'xxxx'@'localhost' (using password: NO) any help auth_opt_backends mysql |
This comment has been minimized.
This comment has been minimized.
Why are you commenting on a closed issue with something that has nothing to do with the original issue?! The plugin isn't allowed to connect to mysql. are you sure |
This comment has been minimized.
This comment has been minimized.
hkverma310
commented
Sep 11, 2015
yeah my db password is root |
This comment has been minimized.
This comment has been minimized.
mahesh-balumuri
commented
Mar 11, 2016
I have changed WITH_SRV:=no and recompiled both mosquitto and mqtt-auth-plugin. I am getting the below error. ./mosquitto -c ../local.conf |
gallog commentedOct 6, 2014
Hi,
I've a problem running your library on a x86 machine:
./mosquitto -c mosquitto.conf1412605004: mosquitto version 1.3.4 (build date 2014-10-06 16:14:36+0200) starting
1412605004: Config loaded from mosquitto.conf.
1412605004: Error: Unable to load auth plugin "/usr/lib/auth-plug.so".
I've succesfully compiled the library without modify your makefile (I've only changed the MOSQUITTO_SRC) and moved to /usr/lib/auth.plugin.so.
I'm using mosquitto 1.3.4 compiled by myself and here is my mosquitto.conf:
autosave_interval 1800
connection_messages true
log_timestamp true
listener 1883
auth_plugin /usr/lib/auth-plug.so
auth_opt_backends mysql
auth_opt_host 127.0.0.1
auth_opt_port 3306
auth_opt_dbname mqtt
auth_opt_user mqttauth
auth_opt_pass mqttauthpassword
auth_opt_userquery SELECT password FROM USERS WHERE id_user = %s
auth_opt_superquery SELECT IFNULL(COUNT(), 0) FROM USERS WHERE id_user = %s AND superuser = 1
auth_opt_superusers S