Registered users    
MembershipMembership:
Latest New UserLatest:Andrew Stott
New TodayNew Today:10
New YesterdayNew Yesterday:9
User CountOverall:22876

Private messaging    
You must be logged in to use this module.
Top 10 posters    
NamePosts
Mariette Knap12481
Marina Roos11720
Eriq Neale2071
Michael Patrick1901
Stan Guinn1806
Robert Pearman1717
Nick Pieters1425
Stewart Brown609
Kevin D.563
Eddie Kerr534
Welcome unauthorized visitor    
If you want to join us in the discussions on this forum you need to register first. Registration is free! If you are already a registered user please login to join the forum.
Small Business Server Support Forum    
Subject: SQL Novice Needs Help
Prev Next
You are not authorized to post a reply.

Author Messages
Drew Graham User is Offline
United Kingdom
Member since
6/15/2007

Registered Users
Posts: 11

6/19/2008 07:17 PM  
Hey,
 
My SBS Reporting wasn't working, and so I found this post:
[url]http://forums.techarena.in/showthread.php?t=733930[/url]
 
I followed the instructions up to uninstalling Monitoring (Step 11) and then reinstalling it, but the reinstall failed on, initially, both Monitoring and MSDE SP4 and, on a retry, only MSDE SP4. 
 
I downloaded and installed SQL Server 200 SP4, SQL2000.MSDE-KB884525-SP4-x86-ENU.EXE, and ran it with the command:
C:\SQL2KSP4\MSDE>setup /upgradesp sqlrun INSTANCENAME=SBSMONITORING /L*v C:\MSDELog.log
 And it seemed to complete (I have the log file), but I now have the symptoms:
- Monitoring still doesn't work - it is unconfigured, but an attempt to start the monitoring wizard produces:
The wizard encountered an error while configuring the monitoring features.  Run Small Business Server Setup, reinstall the Server Tools component, and then run the Monitoring Configuration Wizard again.
Which I'm not keen to do. 
- My Kaspersky Administration Server has also stopped working
- WSUS 3.0 SP1 Admin console stopped working
 
And here I'm stuck.
 
I obviously need to figure out what instances of SQL I have running and where, and what versions, and I need to learn how to back up the databased and upgrade to the correct version of SQL, but I really don't know where to start.  Can someone help please!
Edwin Sarmiento User is Offline
Singapore
Member since
2/13/2007

Microsoft MVP
Posts: 128

6/30/2008 09:37 AM  
Check your Services applet as it will tell you the name of the SQL Server instance you are running. For SQL Server 2000, you'll have MSSQL$instancename. SQL Server 2005 is pretty straight-forward. You can also look at this registry key
HKLM\Software\Microsoft\Microsoft SQL Server\InstalledInstances

MCP MCDBA MCAD MCSD MCT MCTS MCITP : DBA MCSA
http://bassplayerdoc.blogspot.com
Need a remote SQL Server DBA?
Drew Graham User is Offline
United Kingdom
Member since
6/15/2007

Registered Users
Posts: 11

6/30/2008 11:27 AM  
I've got that far and found the instance names. But that's as far as I got. How do I backup each instance? And then tell what version it is? And then upgrade it to SP4 if needed? And then verify that it's working?
Edwin Sarmiento User is Offline
Singapore
Member since
2/13/2007

Microsoft MVP
Posts: 128

7/02/2008 07:26 AM  
I have a script which backs up all the databases in a SQL Server instance. Run this script on each of your instances

declare @IDENT INT, @sql varchar(1000), @DBNAME VARCHAR(200)

select @IDENT=min(DBID) from SYSDATABASES WHERE [DBID] > 0 AND NAME NOT IN ('PUBS', 'NORTHWIND', 'TEMPDB')
while @IDENT is not null
begin
SELECT @DBNAME = NAME FROM SYSDATABASES WHERE DBID = @IDENT
/*Change disk location here as required*/
SELECT @SQL = 'BACKUP DATABASE '+@DBNAME+' TO DISK = ''C:\DBBackup\'+@DBNAME+'.BAK'' WITH INIT'
PRINT "==========================================="
EXEC (@SQL)
PRINT "Backup for database " + @DBNAME + " has been created"
select @IDENT=min(DBID) from SYSDATABASES WHERE [DBID] > 0 and DBID>@IDENT AND NAME NOT IN ('PUBS', 'NORTHWIND', 'TEMPDB')
end
To find out the version of your SQL Server instance, you can run this query
SELECT @@VERSION
 
Check out this KB article for more details

MCP MCDBA MCAD MCSD MCT MCTS MCITP : DBA MCSA
http://bassplayerdoc.blogspot.com
Need a remote SQL Server DBA?
Drew Graham User is Offline
United Kingdom
Member since
6/15/2007

Registered Users
Posts: 11

7/03/2008 03:18 PM  
Right, I've done that. I guess I now reinstall SQL on the machine, upgrade it to SP4 and re-instate them. Any starting points?
You are not authorized to post a reply.



ActiveForums 3.7
Forum policy    
These Discussion Forums are dedicated to the discussion of the Small Business Server and related server and client software. For the benefit of the community please observe the following posting guidelines:
  1. No Advertising. This includes promotion of commercial products and non-commercial products which are not directly related to Small Business Server and related server and client software.
  2. No Flaming or Trolling.
  3. No Profanity, Racism, or Prejudice.
  4. Site Moderators have the final word on approving/removing a thread or post or comment.