安装ADFS 3.0时出错 [英] Error Installing ADFS 3.0

查看:128
本文介绍了安装ADFS 3.0时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我正在尝试在新安装的Win Server 2012R2上安装ADFS,并且在部署后配置中出现错误。域控制器是Win Server 2008R2。请有人帮助我,我一直试图解决这个问题3天。



错误说:


数据库'AdfsConfiguration'的架构验证失败。 ALTER DATABASE语句失败。无法重新启动当前数据库。当前数据库切换到主数据库。




这是安装后的错误日志:



2015-04-29 12:46:55.93服务器Microsoft SQL Server 2012 - 11.0.2100.60(X64)2012年2月10日19:39:15版权所有(c)Microsoft Corporation Windows NT数据库(64位)在Windows NT 6.2上(构建9200:)(管理程序)



2015-04-29 12:46:55.97 Server(c)Microsoft Corporation。



2015-04-29 12:46:55.97 Server保留所有权利。



2015-04-29 12:46:55.97 Server Server进程ID为1532.



2015-04-29 12:46:55.97 Server System Manufacturer:'VMware,Inc。',System Model:'VMware Virtual Platform'。



2015-04-29 12:46:55.98服务器身份验证模式是WINDOWS-ONLY。



2015-04-29 12:46:55.98服务器在文件'C:\ Windows \ WID \Log \ error.log'中记录SQL Server消息。



2015-04-29 12:46:55.98服务器服务帐户是'NT SERVICE \MSSQL $ MICROSOFT ## WID'。这是一条参考消息;没有用户操作是必需。



2015-04-29 12:46:56.00 Server Registry启动参数:-w 65535 -T 1617 -K -e C:\ Windows \ WID \ Log \ error.log -l C:\ Windows \ WID \ data \mastlog.ldf -d C:\ Windows \ WID \ data \ master.mdf



2015-04-29 12:46:56.00服务器命令行启动参数:-S" MSWIN8.SQLWID" -s" MICROSOFT ## WID"



2015-04-29 12:46:56.54 Server SQL Server检测到1个套接字,每个套接字1个核心,每个套接字1个逻辑处理器,1个逻辑处理器;使用1个逻辑处理器关于SQL Server许可。这是一条参考消息;没有用户操作需要



2015-04-29 12:46:56.54服务器SQL Server从普通优先级基础开始(= 7)。这只是一条信息性消息。不需要用户操作。



2015-04-29 12:46:56.54服务器检测到4095 MB的RAM。这是一条参考消息;不需要用户操作。


< p style ="padding-right:0px;字体大小:15像素;明确:两者;颜色:#222222; font-family:'Helvetica Neue',Helvetica,Arial,sans-serif; line-height:19.5px">
2015-04-29 12:46:56.54服务器在内存管理器中使用常规内存。



2015-04-29 12:46:59.38服务器节点配置:节点0:CPU掩码:0x0000000000000001:0活动CPU掩码:0x0000000000000001:0。此消息提供了此计算机的NUMA配置。这只是一条信息性消息。无需用户操作



2015-04-29 12:46:59.41服务器使用动态锁分配。每个节点初始分配2500个锁定块和5000个锁定所有者块。这只是一条信息性消息。用户操作是必需的。



2015-04-29 12:46:59.42服务器软件使用指标被禁用。



2015-04-29 12:46:59.57 spid7s启动数据库'master'。



2015-04-29 12:47:00.20 spid7s SA的密码重新生成尝试成功。



2015-04-29 12:47:00.25 spid7s资源调控器重新配置成功。



2015-04-29 12:47:00.25 spid7s SQL Server Audit正在启动审核。这是一条信息性消息。无需用户操作。



2015-04-29 12:47:00.26 spid7s SQL Server Audit已启动审核。这是一条信息性消息。无需用户操作。



2015-04-29 12:47:00.48 spid7s SQL跟踪ID 1是由登录"sa"启动的。



2015-04-29 12:47:00.50 spid7s服务器名称为'GARWEB01 \MICROSOFT ## WID'。这只是一条信息性消息。无需用户操作。



2015-04-29 12:47:01.00服务器CLR版本v4.0.30319已加载。



2015-04-29 12:47:01.16 spid9s启动数据库'mssqlsystemresource'。



2015-04-29 12:47:01.21 spid7s启动数据库'msdb'。



2015-04-29 12:47:01.24 spid13s服务主密钥重新生成成功。



2015-04-29 12:47:01.24 spid13s服务器本地连接提供程序已准备好接受[\.\pipe\MICROSOFT ## WID \ tsql \\上的连接\\ _query]。



2015-04-29 12:47:01.25 spid9s资源数据库构建版本是11.00.2100。这只是一条信息性消息。不需要用户操作。



2015-04-29 12:47:01.26 spid13s由于在此版本的SQL Server上禁用了专用管理员连接支持,因此未启动专用管理员连接支持。如果要使用专用管理员连接,使用跟踪标志7806重新启动SQL Server。这只是
信息性消息。不需要用户操作。



2015-04-29 12:47:01.43 spid9s启动数据库'model'。



2015-04-29 12:47:01.87 spid9s清除tempdb数据库。



2015-04-29 12:47:03.65 spid9s启动数据库'tempdb'。



2015-04-29 12:47:07.48 spid16s Service Broker端点处于禁用或停止状态。



2015-04-29 12:47:07.52 spid16s数据库镜像端点处于禁用或停止状态。



2015-04-29 12:47:07.72 spid16s Service Broker经理已经开始。



2015-04-29 12:47:08.13服务器公共语言运行时(CLR)功能使用CLR版本v4.0.30319从C:\ Windows \ Windows下进行初始化Framework64 \v4.0.30319。



2015-04-29 12:47:09.13 spid7s SQL Server现已准备好进行客户端连接。这是一条参考消息;不需要用户操作。



2015-04-29 12:47:09.28 spid7s恢复已完成。这只是一条信息性消息。无需用户操作。



2015-04-29 12:47:09.59 spid3s sql server进程内存的一个重要部分已经被页面调出。这可能会导致性能下降。持续时间:0秒。 set(KB):5648,committed(KB):119708,内存利用率:4%。



2015-04-29 12:49:03.32 spid3s sql server进程内存的一个重要部分已经被页面调出。这可能会导致性能下降。持续时间:331秒。 set(KB):24060,committed(KB):98188,内存利用率:24%。



2015-04-29 12:52:52.70 spid51尝试将库'xpsqlbot.dll'加载到内存中。这只是一条信息性消息。无需用户操作。



2015-04-29 12:52:52.74 spid51使用'xpsqlbot.dll'版本'2011.110.2100'执行扩展存储过程'xp_qv'。这只是一条信息性消息;不需要用户操作。



2015-04-29 12:53:05.74 spid3s sql server进程内存的一个重要部分已被分页。这可能会导致性能下降。持续时间:601秒。 set(KB):38888,committed(KB):98548,内存利用率:39%。



2015-04-29 12:58:19.65 spid3s sql server进程内存的一个重要部分已被分页。这可能会导致性能下降。持续时间:928秒。 set(KB):39020,committed(KB):98548,内存利用率:39%。



2015-04-29 13:03:46.67 spid3s sql server进程内存的一个重要部分已被分页。这可能会导致性能下降。持续时间:1258秒。 set(KB):39580,committed(KB):98892,内存利用率:40%。



2015-04-29 13:09:17.59 spid3s sql server进程内存的一个重要部分已被分页。这可能会导致性能下降。持续时间:1523秒。 set(KB):39568,committed(KB):98940,内存利用率:39%。



2015-04-29 13:15:34.11 spid3s sql server进程内存的一个重要部分已经被页面调出。这可能会导致性能下降。持续时间:1853秒。 set(KB):39776,committed(KB):99044,内存利用率:40%。



2015-04-29 13:16:33.02 Logon Error:18456,Severity:14,State:38。



2015-04-29 13:16:33.02用户'GARANTIZAR \ BackupUSR'的登录登录失败。原因:无法打开显式指定的数据库'AdfsConfiguration'。[客户端: ]



2015-04-29 13:16:48.56登录错误:18456,严重性:14,状态:38。



2015-04-29 13:16:48.56用户'GARANTIZAR \ BackupUSR'登录失败。原因:无法打开显式指定的数据库'AdfsConfiguration'。[客户端: ]



2015-04-29 13:16:50.57 spid51启动数据库'AdfsConfiguration'。



2015-04-29 13:16:51.38 spid51将数据库'AdfsConfiguration'的数据库选项SINGLE_USER设置为ON。



2015-04-29 13:16:51.88 spid34s无法启动Service Broker获取数据库ID:5。问题是阻止SQL Server启动Service Broker。检查SQL Server错误记录其他消息。



2015-04-29 13:16:51.97 spid34s错误:9645,严重性:16,状态:3。



2015-04-29 13:16:51.97 spid34s服务代理管理器发生错误,错误:3602,状态:124。



2015-04-29 13:16:59.89 spid51将数据库'AdfsConfiguration'的数据库选项MULTI_USER设置为ON。



2015-04-29 13:17:00.23 spid51启动数据库'AdfsConfiguration'。



2015-04-29 13:17:00.34 spid51无法验证DLL上的Authenticode签名'C:\ Windows \ WID \Binn \DBVerify \ _adfsconfigDbVerify.dll '。



2015-04-29 13:17:58.86 spid51启动数据库'AdfsConfiguration'。



2015-04-29 13:18:20.94 spid54尝试将库'xpstar.dll'加载到内存中。这只是一条信息性消息。无需用户操作。



2015-04-29 13:18:21.11 spid54使用'xpstar.dll'版本'2011.110.2100'执行扩展存储过程'xp_instance_regread'。这只是一条信息性消息;不需要用户操作。



2015-04-29 13:18:23.04 spid54启动数据库'AdfsConfiguration'。



2015-04-29 13:18:42.36 spid54为数据库'AdfsConfiguration'设置数据库选项MULTI_USER为ON。



2015-04-29 13:18:42.41 spid54启动数据库'AdfsConfiguration'。



2015-04-29 13:18:42.44 spid54无法验证DLL上的Authenticode签名'C:\ Windows \ WID \Binn \DBVerify \\\ADfsconfigDbVerify.dll '。

解决方案

我发现自己是错误,问题是Windows Internal Database服务正在运行帐户  NT
SERVICE \ MSSQL


MICROSOFT ## WID  由windows配置。我将服务配置为以  Local
系统帐号
 一切正常。


i'm trying to install ADFS on a new installation of a Win Server 2012R2 and I get an error in the post-deployment configuration. The Domain Controller is a Win Server 2008R2. Please someone help me, i've been trying to solve this for 3 days.

The error says:

Schema verification failed for database 'AdfsConfiguration'. ALTER DATABASE statement failed. Failed to restart the current database. The current database is switched to master.

This is the error log after the installation:

2015-04-29 12:46:55.93 Server Microsoft SQL Server 2012 - 11.0.2100.60 (X64) Feb 10 2012 19:39:15 Copyright (c) Microsoft Corporation Windows Internal Database (64-bit) on Windows NT 6.2 (Build 9200: ) (Hypervisor)

2015-04-29 12:46:55.97 Server (c) Microsoft Corporation.

2015-04-29 12:46:55.97 Server All rights reserved.

2015-04-29 12:46:55.97 Server Server process ID is 1532.

2015-04-29 12:46:55.97 Server System Manufacturer: 'VMware, Inc.', System Model: 'VMware Virtual Platform'.

2015-04-29 12:46:55.98 Server Authentication mode is WINDOWS-ONLY.

2015-04-29 12:46:55.98 Server Logging SQL Server messages in file 'C:\Windows\WID\Log\error.log'.

2015-04-29 12:46:55.98 Server The service account is 'NT SERVICE\MSSQL$MICROSOFT##WID'. This is an informational message; no user action is required.

2015-04-29 12:46:56.00 Server Registry startup parameters: -w 65535 -T 1617 -K -e C:\Windows\WID\Log\error.log -l C:\Windows\WID\Data\mastlog.ldf -d C:\Windows\WID\Data\master.mdf

2015-04-29 12:46:56.00 Server Command Line Startup Parameters: -S "MSWIN8.SQLWID" -s "MICROSOFT##WID"

2015-04-29 12:46:56.54 Server SQL Server detected 1 sockets with 1 cores per socket and 1 logical processors per socket, 1 total logical processors; using 1 logical processors based on SQL Server licensing. This is an informational message; no user action is required.

2015-04-29 12:46:56.54 Server SQL Server is starting at normal priority base (=7). This is an informational message only. No user action is required.

2015-04-29 12:46:56.54 Server Detected 4095 MB of RAM. This is an informational message; no user action is required.

2015-04-29 12:46:56.54 Server Using conventional memory in the memory manager.

2015-04-29 12:46:59.38 Server Node configuration: node 0: CPU mask: 0x0000000000000001:0 Active CPU mask: 0x0000000000000001:0. This message provides a description of the NUMA configuration for this computer. This is an informational message only. No user action is required.

2015-04-29 12:46:59.41 Server Using dynamic lock allocation. Initial allocation of 2500 Lock blocks and 5000 Lock Owner blocks per node. This is an informational message only. No user action is required.

2015-04-29 12:46:59.42 Server Software Usage Metrics is disabled.

2015-04-29 12:46:59.57 spid7s Starting up database 'master'.

2015-04-29 12:47:00.20 spid7s The password regeneration attempt for SA was successful.

2015-04-29 12:47:00.25 spid7s Resource governor reconfiguration succeeded.

2015-04-29 12:47:00.25 spid7s SQL Server Audit is starting the audits. This is an informational message. No user action is required.

2015-04-29 12:47:00.26 spid7s SQL Server Audit has started the audits. This is an informational message. No user action is required.

2015-04-29 12:47:00.48 spid7s SQL Trace ID 1 was started by login "sa".

2015-04-29 12:47:00.50 spid7s Server name is 'GARWEB01\MICROSOFT##WID'. This is an informational message only. No user action is required.

2015-04-29 12:47:01.00 Server CLR version v4.0.30319 loaded.

2015-04-29 12:47:01.16 spid9s Starting up database 'mssqlsystemresource'.

2015-04-29 12:47:01.21 spid7s Starting up database 'msdb'.

2015-04-29 12:47:01.24 spid13s The service master key regeneration was successful.

2015-04-29 12:47:01.24 spid13s Server local connection provider is ready to accept connection on [ \.\pipe\MICROSOFT##WID\tsql\query ].

2015-04-29 12:47:01.25 spid9s The resource database build version is 11.00.2100. This is an informational message only. No user action is required.

2015-04-29 12:47:01.26 spid13s Dedicated administrator connection support was not started because it is disabled on this edition of SQL Server. If you want to use a dedicated administrator connection, restart SQL Server using the trace flag 7806. This is an informational message only. No user action is required.

2015-04-29 12:47:01.43 spid9s Starting up database 'model'.

2015-04-29 12:47:01.87 spid9s Clearing tempdb database.

2015-04-29 12:47:03.65 spid9s Starting up database 'tempdb'.

2015-04-29 12:47:07.48 spid16s The Service Broker endpoint is in disabled or stopped state.

2015-04-29 12:47:07.52 spid16s The Database Mirroring endpoint is in disabled or stopped state.

2015-04-29 12:47:07.72 spid16s Service Broker manager has started.

2015-04-29 12:47:08.13 Server Common language runtime (CLR) functionality initialized using CLR version v4.0.30319 from C:\Windows\Microsoft.NET\Framework64\v4.0.30319.

2015-04-29 12:47:09.13 spid7s SQL Server is now ready for client connections. This is an informational message; no user action is required.

2015-04-29 12:47:09.28 spid7s Recovery is complete. This is an informational message only. No user action is required.

2015-04-29 12:47:09.59 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 0 seconds. Working set (KB): 5648, committed (KB): 119708, memory utilization: 4%.

2015-04-29 12:49:03.32 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 331 seconds. Working set (KB): 24060, committed (KB): 98188, memory utilization: 24%.

2015-04-29 12:52:52.70 spid51 Attempting to load library 'xpsqlbot.dll' into memory. This is an informational message only. No user action is required.

2015-04-29 12:52:52.74 spid51 Using 'xpsqlbot.dll' version '2011.110.2100' to execute extended stored procedure 'xp_qv'. This is an informational message only; no user action is required.

2015-04-29 12:53:05.74 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 601 seconds. Working set (KB): 38888, committed (KB): 98548, memory utilization: 39%.

2015-04-29 12:58:19.65 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 928 seconds. Working set (KB): 39020, committed (KB): 98548, memory utilization: 39%.

2015-04-29 13:03:46.67 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 1258 seconds. Working set (KB): 39580, committed (KB): 98892, memory utilization: 40%.

2015-04-29 13:09:17.59 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 1523 seconds. Working set (KB): 39568, committed (KB): 98940, memory utilization: 39%.

2015-04-29 13:15:34.11 spid3s A significant part of sql server process memory has been paged out. This may result in a performance degradation. Duration: 1853 seconds. Working set (KB): 39776, committed (KB): 99044, memory utilization: 40%.

2015-04-29 13:16:33.02 Logon Error: 18456, Severity: 14, State: 38.

2015-04-29 13:16:33.02 Logon Login failed for user 'GARANTIZAR\BackupUSR'. Reason: Failed to open the explicitly specified database 'AdfsConfiguration'. [CLIENT: ]

2015-04-29 13:16:48.56 Logon Error: 18456, Severity: 14, State: 38.

2015-04-29 13:16:48.56 Logon Login failed for user 'GARANTIZAR\BackupUSR'. Reason: Failed to open the explicitly specified database 'AdfsConfiguration'. [CLIENT: ]

2015-04-29 13:16:50.57 spid51 Starting up database 'AdfsConfiguration'.

2015-04-29 13:16:51.38 spid51 Setting database option SINGLE_USER to ON for database 'AdfsConfiguration'.

2015-04-29 13:16:51.88 spid34s Could not start Service Broker for database id: 5. A problem is preventing SQL Server from starting Service Broker. Check the SQL Server error log for additional messages.

2015-04-29 13:16:51.97 spid34s Error: 9645, Severity: 16, State: 3.

2015-04-29 13:16:51.97 spid34s An error occurred in the service broker manager, Error: 3602, State: 124.

2015-04-29 13:16:59.89 spid51 Setting database option MULTI_USER to ON for database 'AdfsConfiguration'.

2015-04-29 13:17:00.23 spid51 Starting up database 'AdfsConfiguration'.

2015-04-29 13:17:00.34 spid51 Failed to verify Authenticode signature on DLL 'C:\Windows\WID\Binn\DBVerify\adfsconfigDbVerify.dll'.

2015-04-29 13:17:58.86 spid51 Starting up database 'AdfsConfiguration'.

2015-04-29 13:18:20.94 spid54 Attempting to load library 'xpstar.dll' into memory. This is an informational message only. No user action is required.

2015-04-29 13:18:21.11 spid54 Using 'xpstar.dll' version '2011.110.2100' to execute extended stored procedure 'xp_instance_regread'. This is an informational message only; no user action is required.

2015-04-29 13:18:23.04 spid54 Starting up database 'AdfsConfiguration'.

2015-04-29 13:18:42.36 spid54 Setting database option MULTI_USER to ON for database 'AdfsConfiguration'.

2015-04-29 13:18:42.41 spid54 Starting up database 'AdfsConfiguration'.

2015-04-29 13:18:42.44 spid54 Failed to verify Authenticode signature on DLL 'C:\Windows\WID\Binn\DBVerify\adfsconfigDbVerify.dll'.

解决方案

I found myself the error, the problem was that the Windows Internal Database service was running with the account NT SERVICE\MSSQL


MICROSOFT##WID which was configured by windows. I configured the service to start with Local System account and everything worked ok.


这篇关于安装ADFS 3.0时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆