Microsoft MVP성태의 닷넷 이야기
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 
(연관된 글이 2개 있습니다.)

SQL Server 2008 - Package 실행 오류의 구체적인 원인 확인


DB 백업을 위해 "Maintenance Plans"에서 작업을 하나 등록했습니다. 그런데 실행했더니 오류가 발생합니다. 오류 화면은 다음과 같이 간단합니다.

[그림 1: 에러 화면 - Maintenance Plan]
sql_backup_error_1.png

게다가... 좀 아쉬운 것이 있다면, 이 화면에서 곧바로 자세한 로그를 보여주면 좋을 텐데, 오류 메시지 창의 "Execution failed. Se..." 링크를 누르면 다음과 같은 정도의 기본 메시지만 보여줍니다.

TITLE: Execute Maintenance Plan
------------------------------

Execution failed. See the maintenance plan and SQL Server Agent job history logs for details.

------------------------------
ADDITIONAL INFORMATION:

Job 'FullBackup.Subplan_1' failed. (SqlManagerUI)

------------------------------
BUTTONS:

OK
------------------------------

그런데, 이 오류 메시지를 찾아가는 과정이 복잡합니다. 아래와 같이 "SQL Server Agent" 하위의 "Job Activity Monitor"를 펼치고,

[그림 2: Job Activity Monitor 노드]
sql_backup_error_2.png

해당 노드를 마우스로 두 번 누르면 다음과 같이 창이 뜹니다.

[그림 3: Job Activity Monitor 대화창]
sql_backup_error_3.png

보면 오류가 발생한 Job 항목이 있음을 알 수 있죠. 얼핏 보면 마우스 두 번 누르면 상세한 정보를 볼 수 있을 것 같지만, 그래서는 안되고 아래와 같이 오른쪽 버튼으로 나오는 메뉴의 "View History"를 선택해 주어야 합니다.

[그림 4: SQL Server Agent job history 메뉴]
sql_backup_error_4.png

휴... 이제 겨우 왔습니다.

[그림 5: SQL Server Agent job history - Log File Viewer]
sql_backup_error_5.png

오류 내용을 보니,

Date		2009-04-08 오전 11:22:06
Log		Job History (FullBackup.Subplan_1)

Step ID		1
Server		TESTMACHINE
Job Name		FullBackup.Subplan_1
Step Name		Subplan_1
Duration		00:00:00
Sql Severity		0
Sql Message ID		0
Operator Emailed		
Operator Net sent		
Operator Paged		
Retries Attempted		0

Message
Executed as user: TESTMACHINE\myaccount. Microsoft (R) SQL Server Execute Package Utility  Version 10.0.1600.22 for 32-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    The SQL Server Execute Package Utility requires Integration Services to be installed by one of these editions of SQL Server 2008: Standard, Enterprise, Developer, or Evaluation. To install Integration Services, run SQL Server Setup and select Integration Services.  The package execution failed.  The step failed.

간단합니다. "Integration Services"를 설치해야 하는군요. 결국, 설치 파일을 실행시키고 아래와 같이 "Integration Services" 항목을 설치해주면 됩니다.

[그림 6: Integration Services 설치 추가]
sql_backup_error_6.png

정리해 보면... 이 글의 주제는 2가지입니다. ^^

  • Package를 실행시키기 위해 Integration Services를 설치해야 한다는 것
  • Package 실행 시 구체적인 오류를 어떻게 확인하는지!




[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]

[연관 글]






[최초 등록일: ]
[최종 수정일: 7/5/2021]

Creative Commons License
이 저작물은 크리에이티브 커먼즈 코리아 저작자표시-비영리-변경금지 2.0 대한민국 라이센스에 따라 이용하실 수 있습니다.
by SeongTae Jeong, mailto:techsharer at outlook.com

비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...
NoWriterDateCnt.TitleFile(s)
12951정성태2/2/20227187.NET Framework: 1147. C# - ffmpeg(FFmpeg.AutoGen)를 이용한 오디오 필터링 예제(filtering_audio.c)파일 다운로드1
12950정성태2/1/20226724.NET Framework: 1146. .NET 6에 추가되지 않은 Generic Math (예: INumber<T>)
12949정성태2/1/20226575.NET Framework: 1145. C# - ffmpeg(FFmpeg.AutoGen) - Codec 정보 열람 및 사용 준비파일 다운로드1
12948정성태1/30/20226720.NET Framework: 1144. C# - ffmpeg(FFmpeg.AutoGen) AVFormatContext를 이용해 ffprobe처럼 정보 출력파일 다운로드1
12947정성태1/30/20227888개발 환경 구성: 634. ffmpeg.exe - 기존 동영상 컨테이너에 다중 스트림을 추가하는 방법
12946정성태1/28/20226387오류 유형: 792. .NET Core - 로컬 개발 중에 docker 호스팅으로 바꾸는 경우 SQL 서버 접근 방법
12945정성태1/28/20226700오류 유형: 791. SQL 서버 로그인 시 localhost는 되고, 127.0.0.1로는 안 되는 문제
12944정성태1/28/20229155.NET Framework: 1143. C# - Entity Framework Core 6 개요
12943정성태1/27/20227970.NET Framework: 1142. .NET 5+로 포팅 시 플랫폼 호환성 경고 메시지(SYSLIB0006, SYSLIB0011, CA1416)파일 다운로드1
12942정성태1/27/20228226.NET Framework: 1141. XmlSerializer와 Dictionary 타입파일 다운로드1
12941정성태1/26/20229658오류 유형: 790. AKS/k8s - pod 상태가 Pending으로 지속되는 경우
12940정성태1/26/20226974오류 유형: 789. AKS에서 hpa에 따른 autoscale 기능이 동작하지 않는다면?
12939정성태1/25/20227739.NET Framework: 1140. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 MP3 오디오 파일 인코딩/디코딩하는 예제파일 다운로드1
12938정성태1/24/202210076개발 환경 구성: 633. Docker Desktop + k8s 환경에서 local 이미지를 사용하는 방법
12937정성태1/24/20227916.NET Framework: 1139. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 오디오(mp2) 인코딩하는 예제(encode_audio.c) [2]파일 다운로드1
12936정성태1/22/20227857.NET Framework: 1138. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 멀티미디어 파일의 메타데이터를 보여주는 예제(metadata.c)파일 다운로드1
12935정성태1/22/20228086.NET Framework: 1137. ffmpeg의 파일 해시 예제(ffhash.c)를 C#으로 포팅파일 다운로드1
12934정성태1/22/20227653오류 유형: 788. Warning C6262 Function uses '65564' bytes of stack: exceeds /analyze:stacksize '16384'. Consider moving some data to heap. [2]
12933정성태1/21/20228164.NET Framework: 1136. C# - ffmpeg(FFmpeg.AutoGen)를 이용해 MP2 오디오 파일 디코딩 예제(decode_audio.c)파일 다운로드1
12932정성태1/20/20228615.NET Framework: 1135. C# - ffmpeg(FFmpeg.AutoGen)로 하드웨어 가속기를 이용한 비디오 디코딩 예제(hw_decode.c) [2]파일 다운로드1
12931정성태1/20/20226629개발 환경 구성: 632. ASP.NET Core 프로젝트를 AKS/k8s에 올리는 과정
12930정성태1/19/20227390개발 환경 구성: 631. AKS/k8s의 Volume에 파일 복사하는 방법
12929정성태1/19/20227205개발 환경 구성: 630. AKS/k8s의 Pod에 Volume 연결하는 방법
12928정성태1/18/20227291개발 환경 구성: 629. AKS/Kubernetes에서 호스팅 중인 pod에 shell(/bin/bash)로 진입하는 방법
12927정성태1/18/20227050개발 환경 구성: 628. AKS 환경에 응용 프로그램 배포 방법
12926정성태1/17/20227602오류 유형: 787. AKS - pod 배포 시 ErrImagePull/ImagePullBackOff 오류
... 16  17  18  19  20  21  22  23  24  25  26  27  [28]  29  30  ...