Reputation: 173
I am trying to run the Hive-MQ broker (version 1.4.2) on my ubuntu machine.
When I am trying to connect with my MQTT-client which is running on a telematics unit, I get loads of errors, this being one of them:
2013-11-18 11:20:25,510 ERROR - ISPN000045: Problems encountered while purging
expired org.infinispan.loaders.CacheLoaderException: File /home/ubuntu/hivemq
/data/cache/clientSessions is not directory or IO error occurred when listing
files with filterorg.infinispan.loaders.file.FileCacheStore$NumericNamedFilesFilter@4d9c113e
[fileExists=false, isDirector=false, canRead=false, canWrite=false]
at org.infinispan.loaders.file.FileCacheStore.listFilesStrict(FileCacheStore.java:459)
at org.infinispan.loaders.file.FileCacheStore.purgeInternal(FileCacheStore.java:218)
All the errors complain about directories not existing. I get the same result when i run ./run.sh
as well as sudo ./run.sh
.
Anyone else had this problem?
Thanks!
Upvotes: 0
Views: 976
Reputation: 818
it seems there is something wrong with the directory permissions. Did you use the official getting started instructions? http://www.hivemq.com/documentations/getting-started/
In general it should be enough to unzip the file, go into the folder and start HiveMQ with: ./bin/run.sh
You can also try to remove everything from within the data/cache directory.
Best regards,
Chris
Upvotes: 1