Jump to content

Recommended Posts

Posted

Hi,

 

Installed WSUS on Server 2012 R2 RTM today and get the following error when trying to load the post installation tasks:

 

The database is in single-user mode, and a user is currently connected to it.ALTER DATABASE statement failed.

Seems to be an SQL problem. Backup Exec uses a database but it did on the old server I'm moving it from...

 

Cannot seem to find a solution on the net. Anybody come across this?

 

Thanks

George.

Posted

It's difficult to imagine what would have caused the database to get stuck in SINGLE_USER mode on a WS2012/WSUS v6.x installation, but there is only ONE way to resolve this issue.

 

1. STOP the Update Services service. (The reason you cannot get your console connection to work is because the SERVICE has already consumed that one authorized "user".)

2. Open SQL Server Management Studio. (When using WID, you may need to download and install SQL Server 2012 Management Studio Express Edition.)

3. Execute this command: ALTER DATABASE SUSDB SET MULTI_USER;

4. Restart the Update Services service.

Posted
It's difficult to imagine what would have caused the database to get stuck in SINGLE_USER mode on a WS2012/WSUS v6.x installation, but there is only ONE way to resolve this issue.

 

1. STOP the Update Services service. (The reason you cannot get your console connection to work is because the SERVICE has already consumed that one authorized "user".)

2. Open SQL Server Management Studio. (When using WID, you may need to download and install SQL Server 2012 Management Studio Express Edition.)

3. Execute this command: ALTER DATABASE SUSDB SET MULTI_USER;

4. Restart the Update Services service.

 

Lawrence,

 

That's what makes this situation weird. The Update Service service isn't showing....

 

srvices.png

 

George.

Posted
Well, that makes it simple. If there's no Update Services service, then it's not a WSUS Server, and without the service, that'll make it near impossible to connect to the database. Either the installation is corrupted, or the role was partially uninstalled. Inasmuch as it seems the WID was in SINGLE_USER mode when WSUS was being installed (we know that's where it was when the post-install wizard was launched), this thing could be all sorts of sideways. Your best option may be to start from scratch.
Posted

Hi,

I have checked multi user mode and a host of other suggestions on another forum. Hate to say it but I give up. I've going to set up a virtual machine and just have it dedicated to WSUS. There is obviously something conflicting with my current setup. I had it running fine on a test machine.

Thanks for your help.

George.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...