new install Can’t g…
 
Notifications
Clear all

[Solved] new install Can't get the scheduler service to run on server 2019

14 Posts
2 Users
0 Reactions
475 Views
0
Topic starter

I have not been able to get the scheduler service to install on a new install on server 2019.  The service is being run with a domain admin account with log on as a service rights. Also the account have full db admin right to the database.

not sure if this error is related or not.

[2024-03-28 21:38:40,396] | INFO | CPService.CPService | Job GetSettingsTask was excecuted now and scheduled to run every 5 minutes
[2024-03-28 21:38:40,443] | INFO | CPService.Tasks.Settings.GetSettingsTask | Job Executed: Updating settings from database
[2024-03-28 21:38:40,521] | ERROR | CPService.Tasks.Settings.GetSettingsTask | Error getting settings: System.Data.SqlClient.SqlException (0x80131904): Invalid object name ‘cp_Settings’.

bdempsey1941 Topic starter 2024-03-29 06:42

This database was created by the installer with the following tables.

bdempsey1941 Topic starter 2024-03-29 07:27

First off I realized I did not thank you for the quick reply. So thank you.

I will try again and supply logs to you. 

2 Answers
0
Topic starter

Got it going al set thank you. 

0

It appears it is pointing to a database that is not configured correctly. When CloudPanel installs and runs, it makes sure the database is up to date. In your case, I bet the CloudPanel logs files show it is having trouble updating the database, so SQL tables are missing.

Open SQL server management studio and look at the tables to see what tables are in it. Also check the CloudPanel logs files

bdempsey1941 Topic starter 2024-03-29 06:40

@jdixon The installer created the cloud panel database with the following tables. I used your installer

 

KMI Support 2024-03-29 06:48

You need to install CloudPanel first, not the service. The installer creates the database but when the web application starts, it updates the database to the latest version. It appears your CloudPanel isn’t starting properly. Please make sure you attempt to login to CloudPanel first.

bdempsey1941 Topic starter 2024-03-29 07:09

@jdixon

Ok Will reinstall and let you know if it works. Here is what I did.

1 installed all the pre-requisites’. 

2 setup Ad and exchange as described in the instructions

3 downloaded the newest version of cloud panel ran the cloud pasnel installer.

4 I did not log on to the web site but when I tried localhost/cloudpanel I got error 500

So I will reinstall and try again

did I  miss anything?

bdempsey1941 Topic starter 2024-03-29 07:18

@jdixon Ok I did a clean reinstall even deleted and used a new data base.

I ran the installer for cloudpanel all went well

After if finished I tried http://localhost/cloudpanel I get error 500

KMI Support 2024-03-29 07:20

What do the log files say in the path I provided you in the previous post? Go to http://localhost/CloudPanel/admin/setup

bdempsey1941 Topic starter 2024-03-29 07:28

@jdixon First of thank you for the quick replies and help.

I will retry and send over the logs.

 

bdempsey1941 Topic starter 2024-03-29 11:21

@jdixon Ok I fixed the issue.  It was a security setting disallowed interactive services I set the registry and now all works. It was not a Cloud panel issue. Thank you for the assist

bdempsey1941 Topic starter 2024-04-01 06:25

@jdixon last piece I hope I got it to install and got to the log on scree I have tried to log in with user\domain and user@domain but keeps saying password wrong. I can log into ad with the same credentials.

 

KMI Support 2024-06-13 07:48

Hi there, apologizes for the late response. These were missed somehow.

When you install CloudPanel, it should have set the IIS application pool to use the website as the user account you specified. Also, you will need to go to https://localhost/Cloudpanel/admin/setup on the server you installed CloudPanel and configured the Active Directory username/password field with that same user.

In IIS, you should also have a “Default Web Site” and a “CloudPanel”  virtual directory listed under it, with the CloudPanel IIS application pool bound to the virtual directory only. Can you confirm that?

Share: