Skip to main content

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

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

Back to the top