[Solved] new install Can't get the scheduler service to run on server 2019
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’.
This database was created by the installer with the following tables.
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.
Got it going al set thank you.
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
@jdixon The installer created the cloud panel database with the following tables. I used your installer
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.
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?
@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
What do the log files say in the path I provided you in the previous post? Go to http://localhost/CloudPanel/admin/setup
@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
@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.
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?
- 5 Forums
- 716 Topics
- 3,649 Posts
- 0 Online
- 258 Members