473,394 Members | 1,714 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

sqlagent.out

Hello,

I have the following error message in the sqlagent.out file, looping
each minute.

2005-12-19 10:58:54 - ! [298] SQLServer Error: 14262, The specified
@job_id ('254D5C3B-CB1F-4B02-AD79-FF5AFE343E3B') does not exist.
[SQLSTATE 42000] (ConnExecuteCachableOp)

I restarted the sqlagent and ms-sqlserver service, but did not fix the
problem.

Thanks

Diane Lavoie

Dec 19 '05 #1
5 7254
Hi, Diane

Try the following:

USE msdb
SELECT plan_name FROM sysdbmaintplans p
INNER JOIN sysdbmaintplan_jobs pj ON p.plan_id=pj.plan_id
WHERE job_id NOT IN (SELECT job_id FROM sysjobs)

If you get any result from this query, delete and recreate the
specified DB Maintenance Plans.

Razvan

Dec 19 '05 #2

Hi Razvan,

thanks for your reply, but the query does not return any row. I scanned
almost all tables in to found that jobid number but did found anything.

Each 20 seconds, there is an entry in the sqlagent.out and the
eventviewer windows log concerning this non-existent job.

Do you know anything about that 'ConnExecuteCachableOp'. Seems it is the
exe looking for the job.

Diane
*** Sent via Developersdex http://www.developersdex.com ***
Dec 19 '05 #3
Hi, Diane

Use Profiler to identify the statement and the program that calls this
job. If you do this on a production server, use some filters to see
only the relevant events (for example, database='msdb' and maybe
hostname='yourserver').

Razvan

Dec 19 '05 #4
Hi Razvan,

I did the trace in the profiler and got the following:

EXECUTE msdb.dbo.sp_delete_job @job_id =
0x3B5C4D251FCB024BAD79FF5AFE343E3B
This job is executed each 10 seconds with the pid 72 which is the
sqlagent pid. This job does not exist in msdb.

Do I kill the pid 72 or maybe I should insert this job in the sysjobs
table of msdb......

Thanks
Diane
*** Sent via Developersdex http://www.developersdex.com ***
Dec 19 '05 #5
Hi, Diane

Try executing the following:

DECLARE @job_id uniqueidentifier
EXEC sp_add_job @job_name='test', @job_id=@job_id OUTPUT
UPDATE sysjobs SET job_id=0x3B5C4D251FCB024BAD79FF5AFE343E3B
WHERE job_id=@job_id
EXEC sp_delete_job @job_id=0x3B5C4D251FCB024BAD79FF5AFE343E3B

If it is still executed, did set up log shipping sometime ? Or
transactional replication ? Do you have other servers (that may be
executing a job on this server) ?

Razvan

Dec 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Saiyou Anh | last post by:
I have two questions: (1)After I stopped SQLAgent, I couldn't start it up, even restart the server.Why? (2) I may need to reinstall the server, if I do, do I need to uninstall? or just override...
1
by: Darek | last post by:
Hi there; I was trying to apply SQL SP3a on my windows 2000 server (SP4), but the installation failed and when I rebooted my server the SQL agent failed to start and I get the following error:...
5
by: Igor Solodovnikov | last post by:
Hi. I am trying to automatically backup transaction log when error 9002 happened. So i have created appropriate job and alert to catch this error. I have two instances of sql server under Windows...
2
by: Maurizio Camurati | last post by:
Hi all, I have some trouble with SQLAgent...when I try to schedule a job that invokes a script (vbs, java, cmdshell,...), SQLAgent crashes at the moment of scheduled execution. If I try to execute...
11
by: Peter Neumaier | last post by:
Hi! I scheduled a DTS-Import from MySQL, whenever I run it manually (Right-Click on the DTS package) it runs through without any problems. But firing it by a schedule doesn't work!? Just to...
3
by: Le | last post by:
So here's my dilemma. I need an automated SQL Server (2000) job that runs once once per hour. This jobs should: 1) Retrieve unread email for the user "Le" from our Exchange Server, and insert...
0
by: kmounkhaty | last post by:
Hi Guru, I'm tired of trouleshoot one of my sql box that the sqlagent can't started. Here is the message: SQLServerAgent could not be started (reason: Unable to connect to server '(local)';...
3
by: donnyma | last post by:
I have a problem that looks like it has not been discussed before in these groups. I have a simple SQLAgent job that runs sp_who (could be anything, but let's just say sp_who for this example). ...
5
by: Amber | last post by:
Following is our test steps. 1. Create directory E:\firefly in E:. 2. Create a test file a.txt in E:\firefly. 3. Create E:\firefly\test.bat file with the following commands: cd E:\firefly copy...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.