Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mosquitto-dev] Mosquitto doesn't start after power loss on Windows
  • From: Stefano Sambi <Stefano.Sambi@xxxxxxxxxxxxxxxx>
  • Date: Fri, 4 Mar 2022 09:48:45 +0000
  • Accept-language: it-IT, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=unitec-group.com; dmarc=pass action=none header.from=unitec-group.com; dkim=pass header.d=unitec-group.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=o9Rsk3X2Jie08Zdbtp/yEVZ4gJ6bXH1u4VuPHgnXxRA=; b=VKasVd+k+iH3kDU1Amrl2zP1t6M8kkrZ9eF3bZXdjpg9z9XE6ymuUtgpkPt/wnWSrOc0hwf5Dke+UBnAJh4CR9dBzctlmiThVbciGmKhxWTBBVweLqOuqipApqo2g+KDpJRtnZZOboGhXcSajXrJ7XVdzbseI/43nGaEOfqSoqpkTWp277LIUVFi5rexXuQ6uUsR/SxBzsgY8XSJ8aaH8CPrag6QmsUrz/S6RMA1Dyzw3JilPAYO39m5P3S1Ms/6eEQ8O87zWUPANLwozz9zuV5yuVWXr/fwaHMC4io1iS4UelC6+2k96eZI14P8uwlALZxpRLijdm9k+5HjDmeQ8g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=byH3LxOJ+AuQvYrZ85AdgWkGIhdPSOeHSvmkG7yHq9pXxfxHXKQcyK7SWDKQFiV9kdhAkoJ89eWAjuEM3mYU6t3OCIFzMe47vtcgQV6BOzP+6dvrKGEh0COnQA5/89XLAjooPXlBiRPEDTRAmZqrFH7EnflXy8u/gKxrJbRjY81CAPC2ez4JK+pzAPZkcUQb0J2oI/VbXp0vcllUgmITjzPU/dsZmFLVtCdSm5sJ5mMg0iNIhqlYWIL843qUokeaLzrX7XiWO1MdWeOgRmuiyf9nATym8fi5BmJRIkjhmWw2vzMEy92pC04Hw6Ie1QitDF9YxgpRP6GkPEoBj0lfxQ==
  • Delivered-to: mosquitto-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/mosquitto-dev/>
  • List-help: <mailto:mosquitto-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/mosquitto-dev>, <mailto:mosquitto-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AdgvrPktQk1KFPuVTaqWQrO2EXTreg==
  • Thread-topic: Mosquitto doesn't start after power loss on Windows

Hi,

I’m using mosquitto v2.0.11 on windows x64 and I’ve experienced a problem similar to the one described in the following issue:

https://github.com/eclipse/mosquitto/issues/189

 

After a power loss, mosquitto service didn’t started and both “mosquitto.db” and “mosquitto.db.new” files are present on the directory.

The service started only when these two files were deleted.

 

The issue 189 was on Linux and the fixing changes are under the preprocessor directive “#ifndef WIN32”.

Are there experiences on this problem on Windows. How could I manage these cases?

 

Thank you,

 

Stefano Sambi


Back to the top