Can't Auto-Start Agent

Jul 20, 2005

I have a SQL Server 2000 that failed to start after a Windows reboot.
Agent properties are checked to auto start if stopped. Under the Agent
Error Log, I have the following data:

Information:
SQL Agent stopping because of Windows shutdown.
SQL Agent terminated normally.

Error:
SQL Server Error: 1115, cannot generate SSPI context SQLState HY000.
Logon to server(local) failed.

Help apprecaited. Thanks
Frank



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

View 2 Replies


ADVERTISEMENT

SQL Server Agent Did Not Auto-start

Nov 19, 2007

Hello everyone! We had an issue this week where SQL Server Agent did not restart automatically. Weekly maintenance runs on the server each Sunday in which a reboot of the server occurs. Both SQL Server and SQL Server Agent are set to auto-start when OS starts. SQL started fine, but SQL Server Agent didn't.

Anyone know of a reason why SQL Server Agent wouldn't have restarted? Also, does anyone know of a way to set something up that would alert me (through email) if this service hasn't restarted?

Thanks in advance,
Lance

View 7 Replies View Related

Auto Start Of SQL Server 7.0 Agent Not Occurring

Nov 16, 2000

I am not successful in getting SQL Server Agent to startup when SQL server starts up.

I believe the problem has to do with a lack of permissions or rights. I will list the steps
below which seem to me to be all that are needed to install SQL Server Agent. I used
Enterprise Manager to get this information.

If anyone can shoot any holes in the process, please do, that may be where my
problem lies.

a. Created NT accounts called MSSQLSERVER for the server and MSSQLSERVERAGENT
for SQL Agent.

b. Each of these accounts has the "right" to logon as a service.

c. Each of these accounts has "admin" rights.

d. Each of these accounts has been added to SQL SERVER under Security and Logins.

e. The properties assigned to each of the accounts are:
(1) on the general tab -- Windows NT authentication is in effect, database is master
and language is English (2) on the server roles tab -- System Administrators is checked
(3) on the database access tab -- the master database is checked

f. Under SQL Server Agent, properties, selecting the General Tab, in the frame
titled "service startup account":
(1) the circle labelled "this account" is clicked (2) the account is filled in using
domain namemssqlserveragent (3) the correct password is filled in taking case
into consideration

g. Under SQL Server Agent, properties, selecting the Connection Tab, in the frame
titled "sql server connection":
(1) the circle labelled "use windows NT authentication" is clicked


h. Right clicking the server and selecting properties show a multi-tab window
(1) the general tab shows that all three autostart boxes are checked
(2) the security tabs shows SQL Server and Windows authentication are in effect
(3) the startup service account shows "this account" selected and the account
is filled in with domain namemssqlserver and the password is filled in (taking
case into consideration)

In all cases above, the domain name is not the domain in which the server resides,
but is in a "trusted" domain.

Any help would be very much appreciated!!!!!

View 2 Replies View Related

Snapshot Agent && Log Reader Agent Will Not Start.

Nov 30, 2006

Hi All,

I would appreciate any help here at all. I am pulling my hair out!

I am unable to start the snapshot agent or log reader agent from within SQL management studio. it fails on executing step 2 with unknown username or bad password.

I have checked all account details and they are correctly using my domain admin account. I can connect to SQL using teh same account and it also has sysadmin permissions.

If i copy the step 2 paramters and start from the cmd prompt (again logged in using the same domain account) they both start fine.



Any ideas would be gratefully received.

View 1 Replies View Related

Cannot Start Log Reader Agent And Snapshot Agent

May 18, 2007

I am testing peer to peer replication in our environment. I simulated a three node peer to peer topology and a local distributor.

For some wierd reason I cannot get the Log Reader Agent and snapshot agent to start. The domain account under which SQL Server Agent runs has administrator previlage on the box. I also use a domain account for SQL Server Service. (none of the passwords changed).

This is the error I am getting - "Executed as user: abc. A required privilege is not held by the client. The step failed"

Any ideas???





Also this domain account is a member of



SQLServer2005MSSQLUsers$ServerName$MSSQLSERVER

SQLServer2005MSAgentUser$ServerName$MSSQLSERVER


View 3 Replies View Related

How To Start The Snapshot Auto?

Jun 19, 2004

I have used the script file to make a transcation repliation. All the things goes well except a bug, when the script executed over, the snapshot does not start copy at once and need me go to the enterprise manager and right click it in the replication monitor to start it, I just want to start it auto when finish executing the script . How should I do ?

View 3 Replies View Related

Auto Start SQL Server By O/S.

Jun 28, 2002

Hello,
I'm working on some maintenance task. I need some O/S system to start my SQL Service when it found stopped due to error or els any reason. I mean, when due to error if they fail, they have to start automatically by O/S.

regard's,
vnk.

View 5 Replies View Related

Auto Start Mail Client

Nov 4, 1998

We currently have SQL Server 6.5 installed on 2 servers and did not
specify to automatically start the mail client. When I display the Server
Configuration/Options screen in Enterprise Manager, the Auto Start Mail
Client check box option is grayed out. How can I change these servers to
automatically start the mail client at startup?

Thanks in advance!

View 3 Replies View Related

SQL Agent Auto-restart Problems

May 31, 2001

Morning,

I set up SQL Agent to start up on a domain account with Administrator rights, and the
auto-restart option is on. However, the agent does not restart automatically when restarting
SQL Server. No problems restarting manually. The Event Viewer logs the following:
"SQLServerAgent security context does not have server-autorestart privileges."

Any ideas on how to diagnose this?
Thanks,

Sergio

View 4 Replies View Related

SQL Express FTS: No Agent, No Auto Updating?

Jun 7, 2007

If SQL Express has no SQL Agent then FT catalogs cannot be autoupdated, automatically reflect user data in catalogs?



I cannot solve problem with automatically indexing data in SQL Express FTS.







View 4 Replies View Related

SQL Server Agent - Auto Email Reminder

Jun 17, 2005

Hi Experts,
I have a table with fields:
remindWHO               remindWHEN        remindWHATsomeone@test.com    6/20/05                  do blah blah
I want SQL Server Agent automatically run every morning at 1:00 AM, check against "remindWHEN" date, if match with current date, send out email to "remindWHO" for what they need to do in "remindWHAT"
I was told this can be done by using the "Jobs" feature under SQL Server Agent to do this, but I don't know how to write Transact-SQL-Script under "Job Step".
Please help me. Or any better alternative?I appreciate for any help.

View 1 Replies View Related

Start A SQL Agent Job!!!!

Aug 21, 2001

Hello everyone,

Any ideas of how to start a SQL Agent job, from OTHER-THAN Enterprise Manager !!!

Does Microsoft provide any stored procs, extended procs or any SDK that can help me force-start a scheduled task ?

There has got to be a way, coz' Enterprise Manager is doing it !!!!..

Any help is greately appreciated.

Thanks..

View 3 Replies View Related

SQL Agent Does Not Start

Nov 16, 2007

I changed my server's service account to Domainsqladmin and the service started successfully.

I did the same for SQL Agent but the service starts and stops. In Event Viewer saw this error:

SQLServerAgent could not be started (reason: SQLServerAgent must be able to connect to SQLServer as SysAdmin, but '(Unknown)' is not a member of the SysAdmin role).

I checked Logins under under security in SSMS and the Domainsqladmin is a member of SysAdmin roles. What's wrong?

Canada DBA

View 6 Replies View Related

DB Engine :: Start Or Call System AUTO-SHRINK Process?

Jul 23, 2015

Is it possible to manually force/call/start the system AUTOSHRINK process? I have an issue that appears only when the engine shrinking process is running and I need this to reproduce my bug.

I know how to start a "regular" database shrink process with:DBCC SHRINKDATABASE(xxxx);, but this is not the same as one started from the database engine.

View 13 Replies View Related

SQL Agent Fails To Start

Apr 8, 2001

I'm trying to set up SQL 7 for replication, so I set SQLAgent to start automatically, same as SQL Server itself. SQL Server starts fine, but SQL Agent "fails to connect in a reasonable time" according to the Event log (3000 milliseconds).

Can you suggest how I go about fixing this? They both are using valid logins, so I don't know what else could be wrong.

Advice appreciated!

Arthur

View 3 Replies View Related

SQL Agent Does Start Automatically

Aug 23, 2001

I have a problem with a server where for some reason when it is rebooted the SQLAgent service does not start automatically. You have to go into control panel, services and start it, even the it is set to Automatic.

Thanking in advance for any ideas??

View 1 Replies View Related

Sql Server Agent Not Start

Jun 11, 2004

hi

when i try to start sql agent hang then mmc
i look the log and the problem is the mail profile

i try remove it from the property of sql agent but this hang the mmc too

can i remove this with tsql?

thanks

View 2 Replies View Related

Can't Start SQLServer Job Agent

May 4, 2002

In attempt to run the SQLServer Job Agent, the following error occurs:

An error 1068 (the dependency service or group failed to start) occured while performing this service opertion on the SQLServer Agent Service.

An user a/c with Administrator rights is assigned to the SQLServer Agent Service upon setup.

Any idea what is causing it?

Thanks in advance,
Ben

View 1 Replies View Related

Log Reader Agent Won't Start

Jun 22, 2004

We restored a database with replicated tables. Now, the Log Reader Agent will not run. This displays:
"The process could not execute 'sp_repldone/sp_replcounters' on 'ourservername'."
In Error Details for the agent:
"The process could not set the last distributed transaction."
And, from the logs:
"ForwardLogBlockReadAheadAsync: Operating system error 998(Invalid access to memory location.) encountered."

Does anyone know how we get the Distribution database and the Log Reader running again?
It is only affecting Transactional replication (not snapshot or merge).

View 4 Replies View Related

Snapshot Agent Won't Start

Mar 11, 2008

Hi guys,

I'm trying to set up merge replication between a SQL Server 2000 SP4 / Win2k box and a MSDE SP4/WinXP box and I'm finding that the initial snapshot isn't being produced.

The SQL Agent runs as a windows user that has admin privileges, the snapshot agent impersonates the SQL Agent. The SQL Server login for the agent account has the server role "System Administrators" and database access to all db's.

When I turn on logging and try to start the agent, the following is written to the log:
Microsoft SQL Server Snapshot Agent 8.00.760
Copyright (c) 2000 Microsoft Corporation
Microsoft SQL Server Replication Agent: SVRName-POS-POS_Test_Suburb-1

Connecting to Distributor 'SVRName'
SourceTypeId = 5
SourceName = SVRName
ErrorCode = 18456
ErrorText = Login failed for user 'SVRNameSQLAgent'.
The process could not connect to Distributor 'SVRName'.

Most of the posts I've seen regarding problems like this are due to subscriber authentication issues (not up to that, this is the initial snapshot) or windows/domain user permissions.

Any ideas what else it might be?

View 1 Replies View Related

MSDE SQL Agent Won't Start

Feb 23, 2004

Hi,
I have installed the MSDE and use mixed mode authenticaton.
The SQL Server Agent will not start due to login failures.
Normally, I would use the Enterprise Manager Managment wizard to
correct the System Account and Connection Credentials.

Can anyone tell me how to achieve this using OSQL?

Thanks

View 8 Replies View Related

Not Able To Start Agent Service

Jun 5, 2015

We came across a biggg issue with SQL Agent service on one of our SQL Server 2012 production servers. Suddenly, it stopped working. So we just thought of disabling and enabling the service, but once we disabled and try to set automatic (before starting it), gives us error message "The Remote Procedure Call Failed [0x800706be]".

View 1 Replies View Related

SQL Server Agent Won't Start

Apr 18, 2008

We are having problems w/ our agent. When we try to start it in computer management, it will say the agent started then stopped because it has nothing to do. In surface area config, when we try to start it it times out. Does anyone have experience with this? We are desperate. Thanks!

View 3 Replies View Related

Start Sql Server Agent

May 12, 2008

hi
i have start sql server agent then dispaly following error message

(The system cannot find specified path) occured while performing this service operation on the sqlserveragent service

View 4 Replies View Related

Cannot Start MSSQLSERVER Agent

May 14, 2007

Straight from the sqlagent error file: (the username and login I'm providing is correct. for testing purposes only its and admin account and works on another instance)

2007-05-14 15:12:07 - ! [298] SQLServer Error: 10061, TCP Provider: No connection could be made because the target machine actively refused it. [SQLSTATE 08001]
2007-05-14 15:12:07 - ! [165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00]
2007-05-14 15:12:07 - ! [298] SQLServer Error: 10061, An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. [SQLSTATE 08001]
2007-05-14 15:12:07 - ! [000] Unable to connect to server '(local)'; SQLServerAgent cannot start
2007-05-14 15:12:38 - ! [298] SQLServer Error: 10061, TCP Provider: No connection could be made because the target machine actively refused it. [SQLSTATE 08001]
2007-05-14 15:12:38 - ! [165] ODBC Error: 0, Login timeout expired [SQLSTATE HYT00]
2007-05-14 15:12:38 - ! [298] SQLServer Error: 10061, An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. [SQLSTATE 08001]
2007-05-14 15:12:38 - ! [382] Logon to server '(local)' failed (DisableAgentXPs)
2007-05-14 15:12:39 - ? [098] SQLServerAgent terminated (normally)

View 10 Replies View Related

SQl Server Agent Does Not Start

Jun 18, 2007

I cannot run SQl Server Agent service. Each time I try I get these 2 errors

Event Type:Error
Event Source:SQLAgent$MY_INSTANCE
Event Category:(2)
Event ID:17310
Date:18/06/2007
Time:09:27:49
User:N/A
Computer:MY SERVER
Description:
A user request from the session with SPID 53 generated a fatal exception. SQL Server is terminating this session. Contact Product Support Services with the dump produced in the log directory.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:



Event Type:Error
Event Source:SQLAgent$MY_INSTANCE
Event Category:Service Control
Event ID:103
Date:18/06/2007
Time:09:27:49
User:N/A
Computer:MY SERVER
Description:

SQLServerAgent could not be started (reason: SQLServerAgent cannot start because the msdb database is not set to a compatibility level of 70 or higher).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I am on SQL Server 2005. Do you have any ideas what might cause it and how to fix it?

Chris

View 3 Replies View Related

SQL Server Agent Does Not Start

Jun 18, 2007

I cannot run SQl Server Agent service. Each time I try I get these 2 errors

Event Type: Error
Event Source: SQLAgent$MY_INSTANCE
Event Category: (2)
Event ID: 17310
Date: 18/06/2007
Time: 09:27:49
User: N/A
Computer: MY SERVER
Description:
A user request from the session with SPID 53 generated a fatal exception. SQL Server is terminating this session. Contact Product Support Services with the dump produced in the log directory.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:



Event Type: Error
Event Source: SQLAgent$MY_INSTANCE
Event Category: Service Control
Event ID: 103
Date: 18/06/2007
Time: 09:27:49
User: N/A
Computer: MY SERVER
Description:

SQLServerAgent could not be started (reason: SQLServerAgent cannot start because the msdb database is not set to a compatibility level of 70 or higher).

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.


I am on SQL Server 2005. Do you have any ideas what might cause it and how to fix it?

Chris

View 3 Replies View Related

SQL COMMAND START SQL AGENT

Dec 14, 2007

HELLO TO ALL OF YOU


IS THERE ANY SQL COMMAND IN ORDER TO START SQL AGENT ?

THANKS IN ADVANCE

View 3 Replies View Related

Sql Agent Jobs Fail To Start

Oct 4, 2000

The SQL Server Agent process is running. When I use EM to start a database integrity
check job, it fails with an error message of 22029 and the following:

[LOG] SQLServerAgent security context does not have server-autorestart privileges

I can not find error 22029 in Books on Line. I will go to Microsoft Knowledge base
and research this problem.

In the mean time if someone can help, it is much appreciated.

Thanks to all.

View 2 Replies View Related

Unable To Start SQL Server Agent

Oct 15, 1999

I need to start SQL Server Agent so that I can run scheduled jobs. I am running SQL Server 7.0 with windows NT 4.0 service pack 4. When I try to start the agent I get the following error

Error 22003: StartService() returned error 5,'Access is denied'

Does anyone have an idea as to why this is happening?
Any help with this problem would be appreciated.
Thanks

Phil

View 1 Replies View Related

Server Agent Doesnt Start.

Apr 7, 2005

hi guys i keep getting this error when trying to start the sql server agent service.

"The SQLSERVERAGENT service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service".

the SQL server service starts fine and i tryied starting the agent with the same user but it fails still.

Any ideas?

Thanks.

View 2 Replies View Related

Start Up Sql Agent Error 1722

Jun 4, 2002

When l try to start up sql agent on a remote server l get the following error. Error 1722 RCP Server is unavailable. How can l fix that.

View 1 Replies View Related

SQL 2012 :: Unable To Start Agent

Apr 2, 2015

As my sql agent is not starting due to XP's are disabled . when I ran the sp_configure with override and changed to 0 to 1 when I am starting the agent the configured value will be back to again 0 and in logs.Waiting for SQL Server to recover database 'msdb'...ODBC Error: 0, Invalid character value for cast specification [SQLSTATE 22018]

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved