It works :D , you are so smart.
------------------ ???????? ------------------
??????: "Roger Light";<roger@xxxxxxxxxx>;
????????: 2013??9??5??(??????) ????5:45
??????: "General development discussions for paho project"<paho-dev@xxxxxxxxxxx>;
????: Re: [paho-dev] how to config mosquitto authentication
Hi,
You'd be better asking on the mosquitto-users mailing list really, but
I suspect the solution to your problem is that you need to specify the
full path to the password file.
Cheers,
Roger
On Thu, Sep 5, 2013 at 9:39 AM, ??(Grey)?? <86267306@xxxxxx> wrote:
> hi,all:
> When I modified mosquitto.conf ,add "password_file pwfile.example"
> in default config file. and some error reported, I did same thing under
> Centos 6 and windows 7, I also tried my own passwd file generated by
> mosquitto_passwd utility. I am confused , any help will be appreciated.
>
> Starting Mosquitto MQTT broker[ OK 1378369640: mosquitto version 1.2
> (build date 2013-08-08 21:06:17+0000) starting
> 1378369640: Config loaded from /etc/mosquitto/mosquitto.conf.
> 1378369640: Error: Unable to open pwfile "pwfile.example".
> 1378369640: Error opening password file "pwfile.example".
>
> _______________________________________________
> paho-dev mailing list
> paho-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/paho-dev
>
_______________________________________________
paho-dev mailing list
paho-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/paho-dev