| |

VerySource

 Forgot password?
 Register
Search
View: 881|Reply: 5

Ask questions about the SQLSERVER AGENT error log

[Copy link]

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-2-24 16:30:02
| Show all posts |Read mode
Problem Description:
  The following three logs appear in the application log in Event Viewer:
  1. Error Source SQLSERVERAGENT Category: Alert Engine Event:

318 user N / A
    Description: Unable to read local eventlog (reason: event log

The file has been changed at read time. )
  2. Information Source SQLSERVERAGENT Category: Alert Engine Event:

311 user N / A
   Description: Attempting to to re-open the local eventlog ..
  3. Warning Source SQLSERVERAGENT Category: Alert Engine Event:

312 user N / A
   Description: successfully re-opened the local eventlog

-NOTE: Some event may have been missed
Then the application log is quickly full. The log event IDs that appear later are all 17055.
  The following two messages appear alternately every minute, and the time is described as follows
  Description: 17550: DBCC TRACEON 208, server process ID (SPID56)
  Description: 17550: DBCC TRACEON 208, server process ID (SPID61)
 

 What should I do to keep this error log from appearing? It is annoying that the application log is full soon. . I beg you for your help. . .
Reply

Use magic Report

0

Threads

114

Posts

69.00

Credits

Newbie

Rank: 1

Credits
69.00

 China

Post time: 2020-5-9 09:30:01
| Show all posts
It can be deleted when full, or compressed ~~
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-5-24 18:45:01
| Show all posts
This is not the way, the log is deleted and it will be full soon.
I want to find a way to avoid these errors ..
The real master knows how to solve it?
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-5-25 00:30:01
| Show all posts
I want to ask what method can make this error of SQL not appear again, instead of letting it display in the event viewer,
If you filter out errors, warnings, and information, you wo n’t see other event logs.
Does any master know that sqlserver agent fundamentally solves this problem?
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-20 19:15:01
| Show all posts
1. In Enterprise Manager, right-click the server name, and then click Properties.
2. On the General tab, click Startup Parameters.
3. Add the following as new parameters:
-T2505
4. Restart the server
Reply

Use magic Report

1

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

 Author| Post time: 2020-8-20 20:00:01
| Show all posts
If you want to prevent these messages from appearing in the error log, you can use the trace flag 2505 as the startup parameter

To use trace flag 2505 as a SQL Server startup parameter, use the following steps:

1. In Enterprise Manager, right-click the server name, and then click Properties.
2. On the General tab, click Startup Parameters.
3. Add the following as new parameters:

-T2505
4. Restart the server for the new parameters to take effect.

Solve it yourself..
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list