Tech_Info/OS2006. 8. 30. 09:11

Event Log로 위와 같이 기록되면서 Error가 나면, 터미널 서비스의 세팅을 보면 됩니다.
터미널 서비스 연결에 대한 Windows 프린터 매핑과 LPT 포트 매핑을 해제합니다.

Link : http://support.microsoft.com/?kbid=268065
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 31. 16:30
원인 :
도메인 환경에서 FTP를 사용할 수 있게 하려면 "로컬 로그온"이 지정되어야 합니다..
그 이유는 FTP가 인증을 위해 로컬 계정만을 사용할 수 있기 때문입니다.

해결방법 :
위와 같은 이유로 AD유저로 로그인을 하시려면 <AD이름>\<user이름> 방식으로 FTP로그인을 하시면 됩니다.
ex) ftp 000.000.000.000
  user : AD\hitadmin
  pwd : xxxxxxxx

추가사항:
AD유저로 FTP로그인이 안되는 문제는 IIS5.0까지이며, IIS6.0부터는 일반 AD유저로 로그인하시면 됩니다.
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 7. 7. 10:47

간단하게 정리하면 W3C 확장로그파일 형식을 선택할 경우에는 로그내용에 무조건 GMT를 사용하게 되어있다.
하지만 W3C 외의 다른 로그파일 형식을 사용하면 Local Time을 사용한다.

파일 명명 및 롤오버에 현지 시간 사용이라는 뜻은, 로그파일 구성옵션에서 매일/매월 등을 선택하면 파일이 새로 생성될때에나 다음파일로 롤오버될때에 파일명명을 Local Time을 사용한다는 뜻이다.

생성된 W3C 확장로그파일을 NCSA Log File format 과 Local Time으로 변환하고 싶으면 convlog란 Utility 를 사용한다.

참고:
Extended Log File Format Always in GMT : http://support.microsoft.com/kb/194699
W3C(World Wide Web Consortium) 확장 로그 파일 형식을 제외한 모든 로그 파일 형식에서 "자정"이란 현지 시간을 기준으로 합니다. 이 파일 형식의 경우 "자정"이란 기본적으로 GMT(그리니치 표준시)를 의미하지만 현지 시간으로 변경할 수 있습니다. 현지 시간을 사용하는 W3C 확장 로그 파일 형식을 새로 열려면 파일 명명 및 롤 오버에 현지 시간 사용을 누릅니다. 새 로그가 현지의 자정에 시작하지만 로그 파일에 기록되는 시간은 여전히 GMT입니다.

Extended Log File Format Always in GMT - http://support.microsoft.com/kb/194699
The extended log file format is defined in the W3C Working Draft WD- logfile-960323 specification by Phillip M. Hallam-Baker and Brian Behlendorf. This document defines the Date and Time files to always be in GMT:

  Date
  <date> = 4<digit> "-" 2<digit> "-" 2<digit> Dates are recorded in the format YYYY-MM-DD where YYYY, MM and DD stand for the numeric year, month and day respectively. All dates are specified in GMT. This format is chosen to assist collation using sort.

  Time
<time> = 2<digit> ":" 2<digit> [":" 2<digit> ["." *<digit>]

  Times are recorded in the form HH:MM, HH:MM:SS or HH:MM:SS.S where HH is the hour in 24 hour format, MM is minutes, and SS is seconds. All times are specified in GMT.

IIS Log File Entries Have the Incorrect Date and Time Stamp : http://support.microsoft.com/kb/271196/en-us

Posted by 알 수 없는 사용자
Tech_Info/Database2006. 6. 26. 14:43
기본적으로 SQL Server error log는 SQL Server의 로그 서브폴더에 보관된다. 총 7개의 Error log로 구성되어 있으며, Errorlog, Errorlog.1 ~ Errorlog.6의 순으로 보관되며, 확장자가 없는 것이 가장 최근의 현재 Error log이다.
로그는 SQL Server가 restart될 때마다, 재생성된다. Errorlog가 재생성 될때마다, 기존의 Errorlog를 Errorlog.1로 rename하고, 나머지 것도 한개씩 증가한다. Errorlog.6였던 내용은 삭제된다.

※ SQL Server 7.0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\MSSQLServer\NumErrorLogs
※ SQL Server 2000
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Microsoft SQL Server\<SQL Server Instance Name>\MSSQLServer\NumErrorLogs
- NumErrorLogs REG_DWORD 7(원하는 개수)

확인하는 방법
DBCC ERRORLOG를 실행하면,
E:\MSSQL\MSSQL$MSSQL1\LOG 에 ERRORLOG.7이라는 파일이 생긴다.

참조 링크
How to increase the number of SQL Server error logs
- http://support.microsoft.com/kb/196909/EN-US/

HOW TO: Archive More Than Six SQL Server Error Logs
- http://support.microsoft.com/kb/230590/en-us

'Tech_Info > Database' 카테고리의 다른 글

TableSpace 사용량 확인하는 script  (0) 2006.11.08
xp_cmdshell 삭제하기  (0) 2006.06.26
Posted by 알 수 없는 사용자
Tech_Info/Database2006. 6. 26. 13:45
보안에 문제가 될 수 있는 xp_cmdshell 삭제하기

원본링크 : Implications of removing the xp_cmdshell stored procedure from SQL Server 2000
- http://support.microsoft.com/kb/891984/en-us

How to drop the xp_cmdshell stored procedure
- system administrator user right 필요
- to-drop :
exec sp_dropextendedproc 'xp_cmdshell'
- re-add :
exec sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'

영향받는 stored procedure List

sp_ActiveDirectory_SCP sp_adddistpublisher sp_adddistributiondb sp_attachsubscription sp_changedistpublisher sp_copysubscription sp_MScopysnapshot sp_MScopyscriptfile sp_MSget_file_existence sp_MSremove_userscript sp_replicationoption sp_vupgrade_replication
sp_MSreplremoveuncdir sp_MSdeletefoldercontents sp_resolve_logins Sp_set_local_time sp_msx_defect sp_msx_enlist Xp_sscanf Xp_sprintf Xp_msver Xp_msver Xp_enumgroups Xp_logevent Xp_loginconfig

삭제하게 되면서 발생할 수 있는 메세지

ODBC: Msg 0, Level 16, State 1
Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).

Trying to configure Distributor for "server"
Fails with Error 2812: Could not find stored procedure 'master..xp_cmdshell'

Status: 0, code: 1007, text: 'Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).'.
Cannot load the DLL xplog70.dll, or one of the DLLs it references. Reason: 126(The specified module could not be found.).
Repl Agent Status: 6

An error occurred trying to execute a SQL Statement.

"Cannot enlist server 'ServerName' . Please upgrade server 'ServerName' to SQL Server 2000 sp3 or later.

“Cannot load the DLL xplog70.dll or one of the DLLs it references. Reason: 126(The specified module could not be found)
ServerName xp_msver


xplog70.dll을 삭제하고서 SQL Server Restart하면 더이상 sp_addextendedproc를 사용해서 등록할 수 없다.
쿼리분석기에서 다시 sp_addextendedproc 'xp_cmdshell', 'xplog70.dll'을 실행하면 정상적으로 실행되지만,
xp_cmdshell 'dir' 와 같이 실행하면,
ODBC: 메시지 0, 수준 16, 상태 1
xplog70.dll DLL 또는 이 DLL이 참조하는 DLL 중 하나를 로드할 수 없습니다. 이유: 126(지정된 모듈을 찾을 수 없습니다.). 라는 메세지를 뿌리면서 실패하게 된다.


'Tech_Info > Database' 카테고리의 다른 글

TableSpace 사용량 확인하는 script  (0) 2006.11.08
SQL Server Errorlog archive 개수 늘리기  (0) 2006.06.26
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 6. 20. 17:29
TypeDescription
How To ArticlesHow To articles describe how to accomplish a specific task, usually in a Step-by-Step format. These articles are prefaced with "How To" in the title.

For example: How To Dynamically Add Controls to a Form with Visual Basic 6.0 (http://support.microsoft.com/kb/190670/en-us)
Informational ArticlesInformational articles provide informational details about a Microsoft product, product feature, or technology. These articles are prefaced with "INFO:" in the title.

For example: INFO: Differences Between DCOM95 and DCOM98 (http://support.microsoft.com/kb/198600/en-us)
Perceived Problem ArticlesThese articles address problems experienced by the user or developer. These articles typically address error messages or warnings that might be received, or they might address an issue caused by something external to the product. Problem articles often offer workaround steps to resolve the issue. These articles are prefaced with "PRB" in the title.

For example: PRB: Internet Connection Dialog Appears at Windows 95/98 Startup (http://support.microsoft.com/kb/191901/en-us)
Fix ArticlesThese articles address bugs reported in previous versions of a Microsoft product or technology that have been fixed in a new release or service pack. These articles are prefaced with "FIX:" in the title. These articles usually begin as bug articles; when the bug is resolved the title changes to FIX.

Here is an example: FIX: Visual Studio 97 SP3 Installs Incorrect Cvtres.exe (http://support.microsoft.com/kb/187280/en-us)
Bug ArticlesThese articles document a known bug in a Microsoft product or technology. Often they provide steps to work around the problem. These articles are prefaced with "BUG:" in the title. If a bug is fixed in a new release or service pack the article title changes and becomes a "FIX:" article.

Here is an example: BUG: Hang or Application Error in Setup (VS60wiz.exe) (http://support.microsoft.com/kb/192731/en-us)
Sample ArticlesSample articles provide downloadable code samples designed to assist users and developers with a Microsoft product feature or technology. Code samples are usually written when a HowTo article would not be sufficient to demonstrate a particular feature or technology. These articles are prefaced with "SAMPLE:" in the Title.

Here is an example: SAMPLE: Using the PHD Class to Isolate Memory Leaks (http://support.microsoft.com/kb/194655/en-us)
File ArticlesThese articles provide downloadable files that are not samples. The files available in these articles might include drivers, DLLs, tools, or other files that can be used in conjunction with a Microsoft product. These articles are prefaced with "FILE:" in the title.
Here is an example: FILE: Cectlpak.exe Installs the Windows CE ActiveX Control Pack (http://support.microsoft.com/kb/238952/en-us)
Frequently Asked Question ArticleThese articles answer frequently asked questions about a Microsoft product or technology. These articles are prefaced with "FAQ:" in the title. Note that not all frequently asked questions have "FAQ:" in the title.

Here is an example: FAQ: How Can I Get VSS and Visual InterDev Integration Working? (http://support.microsoft.com/kb/157883/en-us)
Documentation Error ArticlesIf there is an error in the documentation for a Microsoft product, it is noted in a KB article. These articles identify any errors and how they should be corrected. These articles are prefaced with "DOC:" in the title. For example:

DOC: Constant Values Incorrect for CursorLocationEnum
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 6. 20. 17:02
오늘 MS의 KB를 뒤지다가 갑자기 본 이상한 대문자가 있었다.
XADM

도대체 뭘까? 한참 검색해봤다.

결국은...

XADM : Definition of Exchange Administration (Microsoft Knowledge Base)

Exchange 관리용 KB라는 거였다. ㅠ.ㅠ

추가정보 :
SPTS : SharePoint Team Services

참고용...
Microsoft 기술 자료를 검색하는 방법에 대한 정보
http://support.microsoft.com/default.aspx?kbid=242450

How To Use the Developer Support Microsoft Knowledge Base - 이건 또 다른 참고용
http://support.microsoft.com/kb/242971
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 6. 19. 09:37


현상
Netlogon 서비스가 시작되거나 로드 중이면 이벤트 로그에 다음 이벤트가 기록될 수 있습니다.

원인
이 오류의 가능한 원인 중 하나는 NetBT 데이터그램 버퍼의 버퍼 공간이 부족한 것입니다.

해결방법
이 문제를 해결하려면 MaxDgramBuffering 값을 128KB에서 256KB로 늘리십시오.

1. 레지스트리 편집기(Regedt32.exe)를 시작합니다.
2. 레지스트리에서 다음 키를 찾습니다.
  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NetBT\Parameters
3. 편집 메뉴에서 값 추가를 누른 후 다음 정보를 추가합니다.
  값 이름:: MaxDgramBuffering
  데이터 형식: REG_DWORD
  값: 0x40000
4. 레지스트리 편집기를 끝냅니다.
5. Netlogon 서비스를 다시 시작합니다. 컴퓨터를 다시 시작해야 할 수도 있습니다.
  참고: Regedit32 대신 Regedit를 사용하여 레지스트리를 수정하는 경우에는 다음 중 하나를 수행하십시오.

  Parameters를 마우스 오른쪽 단추로 누르고 새로 만들기를 누른 다음 DWORD 값을 누릅니다.
  편집 메뉴에서 새로 만들기를 누른 다음 DWORD 값을 누릅니다.

  그런 다음 새 레지스트리 키 정보를 추가합니다.

추가 정보

MaxDgramBuffering 정보
키: NetBT\Parameters
값 종류: REG_DWORD - 바이트 수
유효 범위: 0 - 0xFFFFFFFF
기본값: 0x20000(128KB)
설명: 이 매개 변수는 NetBT가 모든 처리되지 않은 데이터그램 보내기 명령을 위해 동적으로 할당하는 최대 메모리 크기를 지정합니다. 이 제한에 도달하면 리소스가 부족하여 추가 보내기 명령이 실패하게 됩니다.

원본URL : http://support.microsoft.com/kb/310339/ko (한글)
관련URL :  도메인 컨트롤러에서 Netlogon을 시작하면 이벤트 ID 5701이 발생한다. http://support.microsoft.com/kb/217023/KO/ (영어)
Posted by 알 수 없는 사용자
Tech_Info/OS2006. 6. 16. 09:17

콘솔의 기본 문자색과 배경색을 설정합니다.

COLOR [attr]

  attr        콘솔로 출력되는 색 속성을 지정합니다.

색 속성은 두 자리의 16진수로 지정됩니다. 즉, 첫째 자리는 배경색에 해당되고
둘째 자리는 문자색에 해당됩니다.  각 자리 수는 다음 값이 될 수 있습니다.

  0 = 검정색       8 = 회색
  1 = 파랑색       9 = 연한 파랑색
  2 = 초록색       A = 연한 초록색
  3 = 옥색         B = 연한 옥색
  4 = 빨강색       C = 연한 빨강색
  5 = 자주색       D = 연한 자주색
  6 = 노랑색       E = 연한 노랑색
  7 = 흰색         F = 밝은 흰색

인수가 주어지지 않으면 이 명령은 CMD.EXE가 시작할 때 사용한
색으로 복원됩니다. 값은 현재 콘솔 창에서 가져오거나, /T 명령 중
스위치나 DefaultColor 레지스트리 값으로부터 가져옵니다.

COLOR 명령은 문자색과 배경색을 같게 지정하여 실행하려고 할 경우
ERRORLEVEL을 1로 설정합니다.

예를 들면 "COLOR fc"는 밝은 흰색 위에 연한 빨강색의 문자색을 나타냅니다.
어떻게 변하는지는 아래 그림을 클릭하세요. ^^;

Posted by 알 수 없는 사용자
Tech_Info/OS2006. 6. 15. 17:20
Windows 2000은 2GB와 4GB 사이의 메모리를 완전히 덤프할 수 없다

현상
Microsoft Windows 2000 기반 서버는 2GB와 4GB 사이의 메모리를 완전히 덤프할 수 없습니다. 디버깅 정보 쓰기 구역에서 사용할 수 있는 유일한 옵션은 작은 메모리 덤프 (64KB)와 커널 메모리 덤프입니다. 전체 메모리 덤프 옵션은 나타나지 않습니다.

해결 방법
이 동작을 해결하려면 다음 두 방법 중 하나를 수행할 수 있습니다.
  1. Boot.ini 파일에 MaxMem=2000 매개 변수를 설정하여 Windows 2000이 액세스할 수 있는 메모리 양을 제한합니다.
  2. Windows 2000 기반 서버가 작은 메모리 덤프 옵션이나 커널 메모리 덤프 옵션을 만들도록 명령합니다.
덤프를 못하는군 ^^; 2GB이상일 경우에는 전체 메모리 덤프는 안된다.

Link : http://support.microsoft.com/kb/274598/

Posted by 알 수 없는 사용자