Open seanmachin-sunfolding opened 4 years ago
Did you figure this out or do you still need help? FWIW: Check the windows application event logs.
Yes, it's still a problem. I did not see any obvious related error messages in the Windows event logs either. The service does install correctly on two other development Windows 7 embedded machines.
Disclaimer: I'm not a professional developer but since no one else responded to you I thought I'd see if there's anything I could do to assist. So, FWIW, a few things come to mind for now:
A) Have you made any changes to the default configuration file? If so you might want to try things with just the defaults if you haven't already. For example, if you have a custom configuration that points to a path on disk for something like a password file and that path isn't accessible for some reason then the service may not start.
B) If the above isn't a problem, then try adding 'log_type all' and/or 'log_type debug' to see what is logged in mosquitto.log when trying to start.
C) I see you're using Win7 embedded. Is there any possibility you could give this a go on a Win10 64 bit system? That's what I'm using and it's been flawless. (Isn't Win7 out of support and no longer patched now anyhow? No judgement here especially if you're on a closed network)
I feel for you. Hopefully someone else with more experience will chime in here.
@seanmachin-sunfolding Could you try running the mosquitto.exe directly by double clicking it? It should be in C:\Programs\mosquitto\
. If there's a problem starting it like that then it may give a hint as to what the solution is.
One possible cause might be missing Visual Studio 2019 redistributables.
Hi,
I installed the VC2019 re-distributables and that solved the problem, the service now installs and runs as expected.
On Thu, Sep 10, 2020 at 2:43 AM Roger Light notifications@github.com wrote:
@seanmachin-sunfolding https://github.com/seanmachin-sunfolding Could you try running the mosquitto.exe directly by double clicking it? It should be in C:\Programs\mosquitto. If there's a problem starting it like that then it may give a hint as to what the solution is.
One possible cause might be missing Visual Studio 2019 redistributables.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/eclipse/mosquitto/issues/1812#issuecomment-690118294, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALHRPA5FDMGNJCDN57R3AHDSFCNVJANCNFSM4QR4ISJQ .
--
Sean T. Machin Principal Embedded Engineer Sunfolding
tel:866.763.5364 ext 527 www.sunfolding.com
This email message, including any attachments, is for the sole use of the intended recipient(s). In the event Sunfolding has entered into any agreement related to confidential information, including a nondisclosure agreement, with recipient, recipient's employer, or any related entity, the information contained in this email and any attachments is "confidential information" according to such agreement(s). Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
(Thank you ralight) ;)
Environment is Windows 7 Embedded Standard, SP1. Mosquitto 64 bit version 1.6.9.
After I run mosquitto-1.6.9-install-windows-x64.exe from the command prompt (logged in as an admin user), the files install OK, but when I check the service, it has not started. When I go to start the service from the task manager, I get the message "The operation could not be completed. The service did not respond to the start or control request in a timely fashion"
How can I resolve this?