CloudPanel Service Errors
Hello everyone,
A few days ago I installed the CP service, since no statisks were displayed.
I have now noticed two “mistakes”.
First:
in the settings, I set the time intervals to 360 minutes, but in the logs but it stands on 720 minutes.
Is this a mistake?
second:
there are no statisks displayed and the log is full of errors, but I will not be smart about this. Can you help me?
example from the logs:
018-04-29 11:35:45,575 [4] ERROR CPService.CPService Error getting settings: System.Data.SqlClient.SqlException (0x80131904): Ungültiger Objektname "cp_Settings".
bei System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
bei System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
bei System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
bei System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
bei System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
bei System.Data.SqlClient.SqlDataReader.get_MetaData()
bei System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption)
bei System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
bei System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
bei System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
bei System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
bei System.Data.Common.DbCommand.ExecuteReader()
bei System.Data.Linq.SqlClient.SqlProvider.Execute(Expression query, QueryInfo queryInfo, IObjectReaderFactory factory, Object[] parentArgs, Object[] userArgs, ICompiledSubQuery[] subQueries, Object lastResult)
bei System.Data.Linq.SqlClient.SqlProvider.ExecuteAll(Expression query, QueryInfo[] queryInfos, IObjectReaderFactory factory, Object[] userArguments, ICompiledSubQuery[] subQueries)
bei System.Data.Linq.SqlClient.SqlProvider.System.Data.Linq.Provider.IProvider.Execute(Expression query)
bei System.Data.Linq.Table`1.GetEnumerator()
bei System.Data.Linq.Table`1.System.Collections.Generic.IEnumerable<TEntity>.GetEnumerator()
bei System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
bei System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
bei CPService.ServiceSettings.ReadSettings()
ClientConnectionId:0f2efd70-b45f-48fd-a62c-d82d13eb1aa1
Fehlernummer (Error Number):208,Status (State):1,Klasse (Class):16
2018-04-29 11:35:46,435 [4] INFO CPService.CPService Starting Service... Scheduling job GetSettingsTask to run every 10 minutes
2018-04-29 11:35:46,507 [4] INFO CPService.CPService Starting Service... Scheduling job Get_DisabledUsersTask to run every 10 minutes
2018-04-29 11:35:46,510 [4] INFO CPService.CPService Starting Service... Scheduling job Get_LockedUsersTask to run every 10 minutes
2018-04-29 11:35:46,510 [4] INFO CPService.CPService Starting Service... Scheduling job Get_MailboxSizesTask to run every 720 minutes
2018-04-29 11:35:46,511 [4] INFO CPService.CPService Starting Service... Scheduling job Get_MailboxDatabaseSizesTask to run every 720 minutes
2018-04-29 11:35:46,511 [4] INFO CPService.CPService Starting Service... Scheduling job Get_MessageTrackingLogsTask to run every 720 minutes
2018-04-29 11:35:46,512 [4] INFO CPService.CPService Starting Service... Scheduling job Get_ExchDelayedTasks to run every 10 minutes
2018-04-29 11:35:46,512 [4] INFO CPService.CPService Starting Service... Scheduling job FindMissingDataTask to run every 720 minutes
2018-04-29 11:35:46,512 [4] INFO CPService.CPService Starting Service... Scheduling job UpdateDatabaseHistoryTask to run every 720 minutes
2018-04-29 11:35:46,512 [4] INFO CPService.CPService Starting Service... Scheduling job UpdateCompanyAdditions to run every 720 minutes
2018-04-29 11:35:46,513 [4] INFO CPService.CPService Starting Service... Scheduling job PurgeStatisticsTask to run every 1440 minutes
2018-04-29 11:35:46,513 [4] INFO CPService.CPService Starting Service... Scheduling job SendSupportNotifications to run every 10 minutes
2018-04-29 11:45:46,617 [QuartzScheduler_Worker-1] INFO CPService.Tasks.Settings.GetSettingsTask Job Executed: Updating settings from database
2018-04-29 11:45:46,658 [QuartzScheduler_Worker-2] INFO CPService.Tasks.ActiveDirectory.Get_DisabledUsersTask Job Executed: Querying a list of disabled users
2018-04-29 11:45:46,658 [QuartzScheduler_Worker-3] INFO CPService.Tasks.ActiveDirectory.Get_LockedUsersTask Job Executed: Querying a list of locked out users
2018-04-29 11:45:47,413 [QuartzScheduler_Worker-4] INFO CPService.Tasks.Exchange.Get_ExchDelayedTasks Job Executed: Processing calendar permissions
2018-04-29 11:45:47,763 [QuartzScheduler_Worker-2] ERROR CPService.Tasks.ActiveDirectory.Get_DisabledUsersTask Error processing disabled users: System.ArgumentException: Der Benutzername und das Kennwort müssen entweder beide Null oder beide nicht Null sein.
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String userName, String password)
bei CPService.Tasks.ActiveDirectory.ADActions.GetDisabledUsers()
bei CPService.Tasks.ActiveDirectory.Get_DisabledUsersTask.Execute(IJobExecutionContext context)
2018-04-29 11:45:47,763 [QuartzScheduler_Worker-3] ERROR CPService.Tasks.ActiveDirectory.Get_LockedUsersTask Error processing locked out users: System.ArgumentException: Der Benutzername und das Kennwort müssen entweder beide Null oder beide nicht Null sein.
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String container, ContextOptions options, String userName, String password)
bei System.DirectoryServices.AccountManagement.PrincipalContext..ctor(ContextType contextType, String name, String userName, String password)
bei CPService.Tasks.ActiveDirectory.ADActions.GetLockedUsers()
bei CPService.Tasks.ActiveDirectory.Get_LockedUsersTask.Execute(IJobExecutionContext context)
Thanks
Torben
What version of CloudPanel and what version of CloudPanel service did you install? The versions should match. In previous versions of CloudPanel, the service would read from a config file for the intervals but in the latest versions the config file only contains the SQL connection string back to the CloudPanel database and it reads the intervals from the settings in the database.
CloudPanel and CloudPanelService are installed in version 3.2.0256.0.
However I installed the 3.1 until recently and then updated.
Before the update the CloudPanel service was not installed
You would need to email me the CloudPanel and CloudPanel service log files to jdixon@knowmoreit.com. It sounds like CloudPanel hasn’t updated the database properly. You may try to update the settings and then restart the CloudPanel service, then check the logs
- 5 Forums
- 716 Topics
- 3,649 Posts
- 0 Online
- 258 Members