A community member has associated this post with a similar question:
Event ID 6398 sharepoint
Only moderators can edit this content.
Failed to register SharePoint services, Event ID 6398
I followed this guidance and still have the error below
Open SQL server management studio, expand Security-Logins, right-click the account you are using, select Properties, and then click Server Roles to ensure that "dbcreator", "public", "securityadmin", and "sysadmin" are checked. Then click on User Mapping, click on the corresponding database ("WSSContentLGPORTAL"), and make sure that in the following Database role membership for: "WSSContentLGPORTAL" section, "dbowner", "dbsecurityadmin", and "public" *are checked.
- Then, verify that the SharePoint service account has security administrator and dbcreator permissions set for the SharePoint database.
Expand Security-Server Roles, right-click securityadmin and dbcreator respectively, and make sure the accounts belong to them.
The Execute method of job definition Microsoft.SharePoint.Help.HelpCollectionInstallerJob (ID d07a425c-28fc-42c6-bf1c-c115a2fd7902) threw an exception. More information is included below. <nativehr>0x80070005</nativehr><nativestack></nativestack>Access denied.. (Correlation=546a90a0-895d-4036-fd6a-90e65e747fbc)
Failed to register SharePoint services.
An exception of type System.Reflection.TargetInvocationException was thrown. Additional exception information: Exception has been thrown by the target of an invocation.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Security.Principal.IdentityNotMappedException: Some or all identity references could not be translated.
at System.Security.Principal.SecurityIdentifier.Translate(IdentityReferenceCollection sourceSids, Type targetType, Boolean forceSuccess)
at System.Security.Principal.SecurityIdentifier.Translate(Type targetType)
at Microsoft.SharePoint.Utilities.SPUserUtility.SidToAccountName(SecurityIdentifier sid)
at Microsoft.SharePoint.Utilities.SPUserUtility.IsLocalAccount(SecurityIdentifier sid)
at Microsoft.SharePoint.Utilities.SPUserUtility.WarnIfLocalAccountOnFarm(SecurityIdentifier sid, String accountUser)
at Microsoft.SharePoint.Administration.SPProcessIdentity.set_ManagedAccount(SPManagedAccount value)
at Microsoft.Office.Project.Server.Administration.ProjectServiceBase..ctor(String name, SPFarm farm)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.SharePoint.PostSetupConfiguration.ReflectionHelper.InvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters)
at Microsoft.SharePoint.PostSetupConfiguration.TaskCommon.ReflectionHelperInvokeConstructor(String assemblyQualifiedName, Type[] constructorSignature, Object[] constructorParameters, TaskBase task)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InvokeServiceConstructor(String serviceRegistryKeyName, String solutionIdRegistryName, String serviceNameRegistryName, Type[] constructorSignature, Object[] constructorParameters)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServiceInConfigDB(Boolean provisionTheServiceToo, String serviceRegistryKeyName)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.InstallServices(Boolean provisionTheServicesToo)
at Microsoft.SharePoint.PostSetupConfiguration.ServicesTask.Run()
at Microsoft.SharePoint.PostSetupConfiguration.TaskThread.ExecuteTask()