[Solved] Cannot install Schedular Service – Service failed to start – Server 2019
Installer gets stuck at “Starting services” suggesting I don’t have permission.
I’ve made sure the administrator account on the domain has “Log on as a service” rights
I’ve tried going into services.msc and updating the log on details and re-trying.
I’ve even tried installing it as the local computer administrator no change.
There is nothing written to the service logs under C:\Program Files (x86)\Know More IT\CloudPanel Service\logs
Event viewer shows:
Log Name: Application
Source: CloudPanel Service
Date: 26/02/2021 9:23:04 AM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: ControlPanel.hex.xxx
Description:
Service cannot be started. System.TypeInitializationException: The type initializer for ‘Quartz.Impl.StdSchedulerFactory’ threw an exception. —> System.IO.FileLoadException: Could not load file or assembly ‘Common.Logging.Core, Version=106.3.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) —> System.IO.FileLoadException: Could not load file or assembly ‘Common.Logging.Core, Version=3.4.1.0, Culture=neutral, PublicKeyToken=af08829b84f0328e’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
— End of inner exception stack trace —
at Quartz.Impl.StdSchedulerFactory..cctor()
— End of inner exception stack trace —
at Quartz.Impl.StdSchedulerFactory.ValidateConfiguration()
at Quartz.Impl.StdSchedulerFactory.Initialize(NameValueCollection props)
at CPService.C…
Event Xml:
Looks to be similar to http://knowmoreit.com/support/free/cannot-start-scheduler-on-server-2019/
Are you installing new or upgrading an existing one? If you are upgrading can you try uninstalling the service and then installing it again? It seems to think the DLL file is older and I wonder if it couldn’t replace one of the DLL files because it was in use during an upgrade.
Hi Jacob,
I have been using an older version of Cloudpanel (3.2.0319) but never installed the schedular service.
Upgraded recently to 3.2.0330 and it popped up on the dashboard saying the service was not installed and hasn’t reported back in 24 hours.
This is when I decided to try and install the 3.2.0330 service to match the 3.2.0330 cloud panel for the first time.
Once the installer fails, there is no Cloudpanel Service under “services”
@lhavas can you email me at jdixon@knowmoreit.com when you have time? I would like to remote in and take a look. I am in CST timezone btw.
Same issue here, tried Domain User, Domain Admin, Local Admin and all fail to start the service. Nothing in log file as it occurs during install and I do not believe it logs that during install. Even tried changing in service.msc during install and still cannot start service. Tried removing installation location folder so that it could be reinstalled fresh and still same issue. Thoughts? Thank you Jacob ahead of time.
Using latest release 3.2.0340
Follow-Up, verified that config referencing the correct dll versions for the common logging files.
@oliveitky Can you completely uninstall the service and then make sure the old folder is renamed or deleted before installing the new version? If it still doesn’t work after that then I can connect to take a look.
@jdixon Yes sir, I did this, well when you cancel the installer it removes the service. And then I manually renamed the original install folder and tried install again. Same results. Thank you for your reply.
Well I take that back, service did not get removed when cancelling install.
Trying again and reporting back shortly.
Same result, I also tried adding the user for the service into both local policy and default domain policy and forcing gp updates on both Primary DC and CP server. Did not change anything.
@oliveitky The user you are installing the service as AND the user you configured in the installer both have access to the SQL database, right?
@oliveitky When you install the service it does a check to see if the user you are running it as has rights to the SQL database since it is using Windows Authentication. However, you are prompted during the install to provide a username/password to run as the service as which may or may not be different than the user you are logged in with. It sounds like the username/password you provided the service (the account the service runs as) does not have access to the Microsoft SQL database. If you can, please check that before I remote in.
@jdixon That was correct, I did not understand the user for the service needed db rights as well. Thank you again for the help.
@jdixon That fixed it, good to note this as I assumed it was just for the service and then the config defined the user that was used for db connections and came from the first SQL user prompt and not that services side of things.
Thank you for the help.
@jdixon Server 2019 domain member server with 2012R2 Forrest-Level with latest MS updates in case that matters in terms of hosting for CP. Just trying to give as much info as I can. Thank you.
- 5 Forums
- 714 Topics
- 3,630 Posts
- 1 Online
- 253 Members