Amazon RDS Custom SQL-Server: Agent not running

0

Hello,

I am an absolute beginner to Amazon RDS. I've created an RDS Custom Instance for SQL Server Standard. After connecting; I've tried to activate SQL Jobs:

 sp_configure 'show advanced options', 1; 
 GO 
 RECONFIGURE; 
 GO 
 sp_configure 'Agent XPs', 1; 
 GO 
 RECONFIGURE 
 GO

Now I 'm able to create jobs, but they are not runnable. Error message is: Enter image description here

I've found no advanced setting in RDS admin or Management Studio where I am able to activate the agent. According to the documentation, this feature should work: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Appendix.SQLServer.CommonDBATasks.Agent.html

Can anybody point me into the right direction please how to get it running? Thanks in advance.

2개 답변
0
수락된 답변

Did a support request, if anyone else stumbles upon this: Use the underlying EC2 instance to start the service. You can open a PowerShell-Session. There you can start services.

답변함 2년 전
0

You should change the agent log file path to D drive.

-- enable SQL Server Agent
exec sp_CONFIGURE 'show advanced options',1;
GO
RECONFIGURE WITH OVERRIDE;
GO
exec sp_CONFIGURE 'Agent XPs', 1;
GO
RECONFIGURE WITH OVERRIDE;
GO

-- update the SQL Server Agent log file path
USE [msdb] 
GO
EXEC msdb.dbo.sp_set_sqlagent_properties @errorlog_file=N'D:\rdsdbdata\Log\SQLAgent.out';
GO
zzaaee
답변함 9달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠