赞
踩
运行mosquitto的时候,出现Invalid user 'mosquitto’错误。
[root@qfedu mqtt_arm]#./sbin/mosquitto -c etc/mosquitto/mosquitto.con
1420083785: mosquitto version 1.5.4 starting
1420083785: Config loaded from etc/mosquitto/mosquitto.conf.
1420083785: Opening ipv6 listen socket on port 1883.
1420083785: Opening ipv4 listen socket on port 1883.
1420083785: Error: Invalid user 'mosquitto'.
[root@qfedu mqtt_arm]#
Invalid user ‘mosquitto’
添加用户mosquitto
[root@qfedu mqtt_arm]#adduser mosquitto
Changing password for mosquitto
New password:
Bad password: too weak
Retype password:
Password for mosquitto changed by root
[root@qfedu mqtt_arm]#./sbin/mosquitto -c etc/mosquitto/mosquitto.con
1420083972: mosquitto version 1.5.4 starting
1420083972: Config loaded from etc/mosquitto/mosquitto.conf.
1420083972: Opening ipv6 listen socket on port 1883.
1420083972: Opening ipv4 listen socket on port 1883.
1420083973: New connection from 10.36.100.74 on port 1883.
1420083973: New client connected from 10.36.100.74 as c16e4062-3c7b-48a7-a2eb-bd28b1fcf7b4 (c1, k60).
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。