Solved

Problem with SQL Server when Query Analyzer is run at the actual SQL server

Posted on 2011-09-20
8
374 Views
Last Modified: 2012-05-12
We have a very peculiar situation.  

At the actual SQL Server when we run the Query Analyzer we found that it doesnt connect, it stays idle.  ALso no users can connect to thier apps.  Finally, the Entreprose Manager didnt also respond.

We have SQL 2000 server with the latest service pack 4 running under Windows Server 2003.

What can be causing this?
0
Comment
Question by:rayluvs
  • 5
  • 3
8 Comments
 

Author Comment

by:rayluvs
ID: 36568796
Here are the error messages that was the result of our problems:

After a while trying to start Query Analyzer:

        [Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist
        or access denied

At the Event Viewer:

        Level:            Información
        Source:         MSSQLSERVER
        Event ID:       17052
        Description:   Error: 17883, Severity: 1, State: 0
        Process 10:0 (770) UMS Context 0x002FA090 appears to be non-yielding on Scheduler 1

0
 
LVL 5

Assisted Solution

by:Eduardo Goicovich
Eduardo Goicovich earned 500 total points
ID: 36568814
be sure that tcp/ip protocol is enabled and the server not to be in single user (emergency) mode
0
 

Author Comment

by:rayluvs
ID: 36568931
All is working now and we think we know what possibilly fixed the problem.  We would like to know EE expierenxe advise on what happened.  Here is the info:

- Prior the problem the user was trying to restart the server
   and at the first try, it said it had an update to install
-  User kept trying restart but couldn't so he press the on/off
    server button until it turned off
-  Also prior shutting down, the server had 1 gb disk space
    and was optiniE to 3 gb available (server is 2gb ram)
-  Finally, the server paging settings was modified to
    Custom size of initial 3072 and max 3072 and also
     Adjusted for best performance, "background services"
     selected

We think it was the last restart that permited to dix the problem.

Please, your opinions.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 5

Accepted Solution

by:
Eduardo Goicovich earned 500 total points
ID: 36569129
some security updates (OS or database engine) need a server restart to working properly, because shared libraries need to be free from memory to load the new ones (after reboot). In some cases, a database security update needs to change server access to make wide changes and drop any existing client connection. If for any case, after updates get applied, database server doesn't get online again, force a reboot can be the cure. But, any update procedure on producction server must carry out a previous system and user database backup
0
 

Author Comment

by:rayluvs
ID: 36569637
So you think that it may have  been update that it has to have a reboot done?
0
 
LVL 5

Assisted Solution

by:Eduardo Goicovich
Eduardo Goicovich earned 500 total points
ID: 36569692
the windows update log register all activities performed (default dir %windir%\Windowsupdate.log)
to see the description of this, you can review to the next link
http://support.microsoft.com/kb/902093/en-us

you can check if reboot needed by the update (example line)

2005-06-02      12:11:01      3348      70c      Handler        : Command line install completed. Return code = 0x00000000, Result = Succeeded, Reboot required = true


for hotfixes is %windir%

http://uekb.shavlik.com/updateexpert/troubleshooting/Tasks/UE0212.htm

other logs

http://www.hsc.fr/ressources/articles/win_log_files/index.html.en


0
 

Author Comment

by:rayluvs
ID: 36578463
Thank you very much.  This last post helped a lot!
0
 

Author Closing Comment

by:rayluvs
ID: 36583006
Thanx
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
This video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question