Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mosquitto-dev] Can't read pass word file with 1.4

I'm embarrassed that I missed that post. Thanks for the solution, and sorry about the unnecessary post!

On Sun, Mar 15, 2015 at 8:44 PM, Aidan Gill <aidang@xxxxxxxxx> wrote:

It'll be the same issue that I reported yesterday - if you have more than one space in your config file mosquitto reads it as part of the file path, you can see it in the error log, ie:

Error: Unable to open pwfile "  /etc/mosquitto/passwd"

A fix is coming in 1.4.1.

-Aidan

On 16/03/2015 12:36 pm, "Doug Meredith" <doug.meredith@xxxxxxxxxxxx> wrote:
I'm running on CentOS 7 with all packages updated. On 1.3.5, everything worked fine, but when I upgrade to 1.4, I get the following error:

1426455715: mosquitto version 1.4 (build date 2015-03-08 21:26:17+0000) starting
Mar 15 18:41:55 frank mosquitto: 1426455715: Config loaded from /etc/mosquitto/mosquitto.conf.
Mar 15 18:41:55 frank mosquitto: 1426455715: Error: Unable to open pwfile "  /etc/mosquitto/passwd".
Mar 15 18:41:55 frank mosquitto: 1426455715: Error opening password file "  /etc/mosquitto/passwd".

I've tried this on a test system with the same result. Not too surprising, given that the systems are nearly identical.

File system permission seem reasonable:

[root@frank yum.repos.d]# ls -la /etc/mosquitto/
total 72
drwxr-xr-x   5 root root  4096 Mar 15 18:41 .
drwxr-xr-x. 77 root root  8192 Mar  9 08:28 ..
-rw-r--r--   1 root root   230 Mar  8 18:26 aclfile.example
drwxr-xr-x   2 root root    19 Mar  9 00:32 ca_certificates
drwxr-xr-x   2 root root    19 Mar  9 00:32 certs
drwxr-xr-x   2 root root    39 Mar 15 18:40 conf.d
-rw-r--r--   1 root root   235 Mar  8 18:26 mosquitto.conf
-rw-r--r--   1 root root 36723 Mar  8 18:26 mosquitto.conf.example
-rw-r--r--   1 root root   114 Mar 15 18:41 passwd
-rw-r--r--   1 root root    23 Mar  8 18:26 pskfile.example
-rw-r--r--   1 root root   355 Mar  8 18:26 pwfile.example

I've seen no reports of this. Has anyone else seen this? Any ideas? Any help would be appreciated.

Doug

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev

_______________________________________________
mosquitto-dev mailing list
mosquitto-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mosquitto-dev



--
Doug Meredith
(506) 854-7997 ext. 801

Back to the top