dbTalk Databases Forums  

Telling if SQL2005 is running

microsoft.public.sqlserver.clients microsoft.public.sqlserver.clients


Discuss Telling if SQL2005 is running in the microsoft.public.sqlserver.clients forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Chris Wood
 
Posts: n/a

Default Telling if SQL2005 is running - 12-05-2006 , 03:52 PM






Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000 was
running on a server after the server was upgraded to W2K3 SP1. This was due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server. This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris



Reply With Quote
  #2  
Old   
Uri Dimant
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-06-2006 , 04:13 AM






Chris
Try running
EXEC master..xp_servicecontrol 'QUERYSTATE', 'SQLSERVERAGENT'



"Chris Wood" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000 was
running on a server after the server was upgraded to W2K3 SP1. This was
due to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server. This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris




Reply With Quote
  #3  
Old   
Chris Wood
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-06-2006 , 09:27 AM



Thanks John. I may try that.

I would really like the white circle against a registered server in
Management Studio to show either the White Triangle inside the Green circle
or to have the Red Square. This is on my XP SP2 workstation.

As I mentioned in SQL2000 scmanager was used to check the server status and
W2K3 SP1 blocked its use unless you were in the local admin group on the
server. We found a way of changing the permissions so we could use
scmanager.

I fancy something similar in SQL2005 and would like to know what that is.

Thanks again.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote

Quote:
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris






Reply With Quote
  #4  
Old   
Chris Wood
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-06-2006 , 01:42 PM



Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote

Quote:
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris






Reply With Quote
  #5  
Old   
Chris Wood
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-06-2006 , 01:42 PM



Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote

Quote:
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris






Reply With Quote
  #6  
Old   
John Bell
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-07-2006 , 01:32 AM



Hi Chris

As you obviously miss SQL 2000 Then check out the customised report
Jasper has that replicates the taskpad view from Enterprise Manager
http://sqlblogcasts.com/blogs/sqldbatips/

This can be used with SQL 2005 SP2

John

"Chris Wood" wrote:

Quote:
Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:11E81A0B-5A88-48AC-B08B-095933A4672B (AT) microsoft (DOT) com...
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group had
the ability to use scmanager to poll the SQL2000 server to see if it was
running.

So what is SQL2005 using to see the status of SQL2005 on a server? What
permission do I need now?

Thanks

Chris







Reply With Quote
  #7  
Old   
Chris Wood
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-07-2006 , 09:39 AM



John,

I do find 2005 a lot different than 2000 but in this case I just want to
know, using SSMS, if the SQL Service is running on a server from my XP SP2
workstation.

Looks like I will have to raise an incident with MS, that's how I got 2000
SEM fixed when the servers upgraded to W2K3 SP1.

Thanks

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote

Quote:
Hi Chris

As you obviously miss SQL 2000 Then check out the customised report
Jasper has that replicates the taskpad view from Enterprise Manager
http://sqlblogcasts.com/blogs/sqldbatips/

This can be used with SQL 2005 SP2

John

"Chris Wood" wrote:

Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:11E81A0B-5A88-48AC-B08B-095933A4672B (AT) microsoft (DOT) com...
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This
was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of
any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group
had
the ability to use scmanager to poll the SQL2000 server to see if it
was
running.

So what is SQL2005 using to see the status of SQL2005 on a server?
What
permission do I need now?

Thanks

Chris









Reply With Quote
  #8  
Old   
Paul A. Mestemaker II [MSFT]
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-08-2006 , 12:52 PM



I think the problem is that Windows XP has different default firewall
settings than Server 2003 so we cannot remotely query the service through
WMI.

Here is an article on how you can properly configure your firewall settings.
http://msdn.microsoft.com/library/de...s_firewall.asp

I agree that this is a less than ideal solution. Especially in a
development or test environment where you are using/managing multiple remote
SQL Express instances on Windows XP boxes.

If this is important to you, please file this as an issue on Microsoft
Connect. http://connect.microsoft.com/SQLServer/.

Thanks,

Paul A. Mestemaker II
Program Manager
Microsoft SQL Server Manageability
http://blogs.msdn.com/sqlrem/

"Chris Wood" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
John,

I do find 2005 a lot different than 2000 but in this case I just want to
know, using SSMS, if the SQL Service is running on a server from my XP SP2
workstation.

Looks like I will have to raise an incident with MS, that's how I got 2000
SEM fixed when the servers upgraded to W2K3 SP1.

Thanks

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:CED16521-026B-4CF2-9551-78B5A149100E (AT) microsoft (DOT) com...
Hi Chris

As you obviously miss SQL 2000 Then check out the customised report
Jasper has that replicates the taskpad view from Enterprise Manager
http://sqlblogcasts.com/blogs/sqldbatips/

This can be used with SQL 2005 SP2

John

"Chris Wood" wrote:

Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:11E81A0B-5A88-48AC-B08B-095933A4672B (AT) microsoft (DOT) com...
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if
SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This
was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of
any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the server.
This
was the main change in SP1 that only members of the local admin group
had
the ability to use scmanager to poll the SQL2000 server to see if it
was
running.

So what is SQL2005 using to see the status of SQL2005 on a server?
What
permission do I need now?

Thanks

Chris











Reply With Quote
  #9  
Old   
Chris Wood
 
Posts: n/a

Default Re: Telling if SQL2005 is running - 12-08-2006 , 03:53 PM



Paul,

Can you tell me what SSMS uses to see if the SQL Server service is running?
As I mentioned before it was using SCManager in SQL2000 SEM and that got
shutdown by W2K3 SP1 so that only local admins on the server could use it.

This is what we finished up doing on SQL2000.

sc sdset scmanager
DA;;LCRPRC;;;DU)(A;;CC;;;AU)(A;;CCLCRPRC;;;IU)(A ;;CCLCRPRC;;;SU)(A;;CCLCRPWPRC;;;SY)(A;;KA;;;BA)S: (AU;FA;KA;;;WD)(AU;OIIOFA;GA;;;WD)

This allowed non admins to at least use SCManager to query but not start or
stop a service on the remote server.

Thanks

Chris

"Paul A. Mestemaker II [MSFT]" <PaulMest (AT) online (DOT) micro-soft.com> wrote in
message news:%23ifbQovGHHA.1064 (AT) TK2MSFTNGP04 (DOT) phx.gbl...
Quote:
I think the problem is that Windows XP has different default firewall
settings than Server 2003 so we cannot remotely query the service through
WMI.

Here is an article on how you can properly configure your firewall
settings.
http://msdn.microsoft.com/library/de...s_firewall.asp

I agree that this is a less than ideal solution. Especially in a
development or test environment where you are using/managing multiple
remote SQL Express instances on Windows XP boxes.

If this is important to you, please file this as an issue on Microsoft
Connect. http://connect.microsoft.com/SQLServer/.

Thanks,

Paul A. Mestemaker II
Program Manager
Microsoft SQL Server Manageability
http://blogs.msdn.com/sqlrem/

"Chris Wood" <anonymous (AT) discussions (DOT) microsoft.com> wrote in message
news:uqBwhXhGHHA.4116 (AT) TK2MSFTNGP05 (DOT) phx.gbl...
John,

I do find 2005 a lot different than 2000 but in this case I just want to
know, using SSMS, if the SQL Service is running on a server from my XP
SP2 workstation.

Looks like I will have to raise an incident with MS, that's how I got
2000 SEM fixed when the servers upgraded to W2K3 SP1.

Thanks

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:CED16521-026B-4CF2-9551-78B5A149100E (AT) microsoft (DOT) com...
Hi Chris

As you obviously miss SQL 2000 Then check out the customised report
Jasper has that replicates the taskpad view from Enterprise Manager
http://sqlblogcasts.com/blogs/sqldbatips/

This can be used with SQL 2005 SP2

John

"Chris Wood" wrote:

Thanks John and Jasper.

The SQL Manager looks good.

Chris

"John Bell" <jbellnewsposts (AT) hotmail (DOT) com> wrote in message
news:11E81A0B-5A88-48AC-B08B-095933A4672B (AT) microsoft (DOT) com...
Hi Chris

SQL Server Configuration Manager will show the status of the services
running on a server.
A version for Service Manager for SQL 2005 can be found at
http://www.sqldbatips.com/showarticle.asp?ID=46

There is also a stored procedure to check that a service is running
at
http://www.sqldbatips.com/showcode.asp?ID=38

John

"Chris Wood" wrote:

Hi,

In SQL2000 I had to change permissions to scmanager to tell if
SQL2000
was
running on a server after the server was upgraded to W2K3 SP1. This
was
due
to SP1 security changes.

Now I have SQL2005 Management Studio and I cannot see the status of
any
of
my SQL2005 servers and only some of my SQL2000 servers.

I am a DBA but my Windows account is not a local admin on the
server.
This
was the main change in SP1 that only members of the local admin
group had
the ability to use scmanager to poll the SQL2000 server to see if it
was
running.

So what is SQL2005 using to see the status of SQL2005 on a server?
What
permission do I need now?

Thanks

Chris













Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.