-
Notifications
You must be signed in to change notification settings - Fork 494
Error: Unable to load auth plugin "/usr/lib/auth-plug.so" #33
Comments
You've compiled yourself, so you've probably also made |
I've made ldd output: ldd mosquitto |
In Mosquitto's
|
Output: |
There you go. :)
|
Solved, thanks :) |
Because of the linkage with Mosquitto, yes. Sorry: I forgot to say that. Glad it works now. |
Hello, I am using is 1.3.5, I tried in accordance with the above method, but it's still an error like that |
Access denied for user 'xxxx'@'localhost' (using password: NO) any help auth_opt_backends mysql |
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 |
yeah my db password is root |
I have changed WITH_SRV:=no and recompiled both mosquitto and mqtt-auth-plugin. I am getting the below error. ./mosquitto -c ../local.conf |
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
The text was updated successfully, but these errors were encountered: