Well, I got it work, but not according to the book/docs.
I did a manual
sc create MendixService binPath= "C:\CISDeploymentTest\Mendix\Service\MendixService.exe"
(note the required space after BinPath= !) which gave me:
[SC] CreateService SUCCESS
Then I attempted to start the service from the Windows service manager with the local MendixUser account. (XP warned me that that user now got rights to start a service.) Result:
The service start failed. Event log messages:
Service cannot be started. System.Exception Mendix Runtime not started. The database is not synchronized with the model. bij Mendix.MendixService.Service.client_Ready(M2EEClient client, StartupInfo startupInfo) bij Mendix.MendixService.RuntimeRunner.Start(Boolean askToSyncDatabase, LogLevel autoSubscribeLogLevel) in C:\Mendix\2.5\Modeler\Mendix.Service\RuntimeRunner\RuntimeRunner.cs:regel 188 bij Mendix.MendixService.RuntimeRunner.Start() in C:\Mendix\2.5\Modeler\Mendix.Service\RuntimeRunner\RuntimeRunner.cs:regel 45 bij Mendix.MendixService.Service.OnStart(String[] args)
which is not surprising because there was no database yet. In the Mendix service console (1.0.6.3), under Console I could now start the service.
Running http://localhost:8080 I could not login with the mxAdmin account, as warned for in the docs. Executing menu-item Advanced/Create or Update Admin User (an not a 'button'as https://world.mendix.com/display/howto25/Configure+the+Mendix+application says) gave me the error:
Password is not safe, also use non-alphanumeric characters.
So I went back, added a non-alphanumeric character, then I got:
Password is too similar to the username
These warnings should have been given much earlier in the Service Console/Common configuration section where I defined that password! I'll make a ticket for that.
Now it works!
Have you filled in DOMAIN_NAME\user_name
instead of user_name
?
Probably some info has been written to the Windows Event Log, see the Event Viewer at Administration Tools in Configuration Panel (in Dutch: Logboeken, Systeembeheer, Configuratiescherm).