Cannot install Sche…
 
Notifications
Clear all

[Solved] Cannot install Schedular Service – Service failed to start – Server 2019

18 Posts
3 Users
4 Reactions
1,355 Views
Posts: 0
Topic starter
Joined: 1 second ago

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/

17 Replies
Posts: 1600
Admin
Noble Member
Joined: 10 years ago

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.

Reply
Posts: 0
Topic starter
Joined: 1 second ago

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”

Reply
2 Replies
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

@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.

Reply
Joined: 1 second ago

Posts: 0

@jdixon Thanks, Email sent

Reply
Posts: 0
Joined: 1 second ago

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

Reply
12 Replies
Joined: 1 second ago

Posts: 0

Follow-Up, verified that config referencing the correct dll versions for the common logging files.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

@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.

Reply
Joined: 1 second ago

Posts: 0

@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.

Reply
Joined: 1 second ago

Posts: 0

Well I take that back, service did not get removed when cancelling install.

 

Trying again and reporting back shortly.

Reply
Joined: 1 second ago

Posts: 0

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.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

@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?

Reply
Joined: 1 second ago

Posts: 0

@jdixon No sir, I didn’t know that the service needed to be ran as db admin for that db.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

@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.

Reply
Joined: 1 second ago

Posts: 0

@jdixon That was correct, I did not understand the user for the service needed db rights as well.  Thank you again for the help.

Reply
Joined: 1 second ago

Posts: 0

@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.

Reply
Admin
Joined: 10 years ago

Noble Member
Posts: 1600

@oliveitky You’re welcome!

Reply
Joined: 1 second ago

Posts: 0

@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.

Reply
Share: