기본 콘텐츠로 건너뛰기

2008의 게시물 표시

이벤트 ID(Event ID) 1846, MSSQLSERVER, Windows Server 2003

Failure Audit message in SQL Server - Event ID: 18456 every minute? This is a event log error I have seen in Project Server 2007 on various farms going right back to the Beta and I finally found some time to track it down. It didn't seem to be breaking anything on my server, but made it difficult to read the logs and see other "important" stuff. This is the error: Event Type: Failure Audit Event Source: MSSQLSERVER Event Category: (4) Event ID: 18456 Date: 1/17/2008 Time: 1:29:00 PM User: DOMAIN\User Computer: SERVERNAME Description:Login failed for user 'DOMAIN\user'. [CLIENT: ] I did a SQL Profiler trace to see where it was coming from and discovered the cause was a SQL Server Agent job called SharedServices_DB_Job_DeleteExpiredSessions that was running every minute. The reason for the failure was that I did not have a SharedServices_DB on that server. I did once - but my test server gets changed around a fair bit and this was a remnant that didn't get clean

Installation nabi and hangul fonts for the Debian

1. #apt-get install nabi unfonts ttf-baekmuk ttf-alee 2. #apt-get install locales #dpkg-reconfigure locales //You should select the "ko_KR.UTF-8" and "en_US.UTF-8" and change default language to "ko_KR.UTF-8" 3. # cd ~ #gedit .gnomerc export LANG="ko_KR.UTF-8" export LC_ALL="ko_KR.UTF-8" export XMODIFIERS="@im=nabi" export XIM_PROGRAM=/usr/bin/nabi export GDK_USE_XFT=1 export GTK_IM_MODULE=hangul2 export G_BROKEN_FILENAMES=1 exec nabi & 4. #cd ~ #gedit .xinitrc LANG="ko_KR.UTF-8" LC_ALL="ko.KR.UTF-8" LINGUAS="ko" export LANG LC_ALL LINGUAS export XMODIFIERS="@im=nabi" export XIM=nabi export XIM_PROGRAM=/usr/bin/nabi #export XIM_ARGS="-d" export GTK_IM_MODULE=nabi export QT_IM_MODULE=nabi 5. #cd ~ #gedit .Xmodmap xmodmap -e "keycode 210 = Hangul" xmodmap -e "keycode 209 = Hangul_Hanja"

Supported Project Server 2007 extranet topologies

Supported Project Server 2007 extranet topologies Updated: 2006-11-16 In this article: Supported extranet topologies Extranet user scenarios Extranet considerations Using alternate access mapping (URL mapping) Configuring alternate access mappingAlternate access mapping is a Windows SharePoint Services 3.0 feature that is configured in the SharePoint Central Administration Web site. In Central Administration, go to the Operations page and in the Global Configuration section, click Alternate access mappings. On the Alternate Access Mappings page, click Show All and select Change Alternate Access Mapping Collection. Choose the Web application for which you want to modify the alternate access mapping. For example, in the case of adding a new front-end Web server to scale out a small farm configuration, it would be the Web application on which Project Web Access is configured. Click Edit Public URLs. This opens the Edit Outbound Zone URLs page, which lists public URLs for all zones for thi

Modbus slave source code

That`s pretty easy. Try to get the standard of the protocol. I did that and in a few hours worked fine. Try this: int address, function, register, quantity address=incomingframe[0] function=incomingframe[1] register=(int)(incomingframe[2]+incomingframe[3]) quantity=(int)(incomingframe[4]+incomingframe[5]) if addres==myAddress then select case function case 0: break; case 1: case 2: //send data required by register and quantity case 3: case 4: //send data required by register and quantity case 6: //write single register case 15: //write multiple coils, mask found within message case 16: //write multiple holdings, asi sent in incoming message end case; endif; good luck.

GDB Manual

사용법 help 도움말, 명령어 분류 목록 출력 help [class] 해당 class에 속한 명령어 목록 표시 help [command] 해당 command에 대한 도움말 표시 *** class와 command의 축약형도 지원됨 명령어 분류 목록 running 프로그램 수행 support 지원 도구 stack 스택 검사 user-defined 사용자 정의 명령 data 데이타 검사 aliases 다른 명령어의 별칭 files 검사할 파일 obscure 기타 status 상태 조회 internals 유지보수 명령 breakpoints 어떤 포인트에서 프로그램을 중단하게 만듦 프로그램의 수행 (running) show args 디버깅할 프로그램에 전달되는 argument를 보여준다.이 명령어 다음에 몇 개의 argument가 온다. info handle 프로그램이 각종 신호를 입력으로 받았을 때, 디버거의 동작법을 보여준다. kill 디버깅 중인 프로그램의 실행을 취소한다. target 타겟 기계나 프로세스에 연결한다.첫번째 argument는 타겟 기계의 타입이나 프로토콜이다. 나머지 argument는 타겟 프로토콜에 의해서 해석 되어진다. 특정 프로토콜에 작동하는 argument에 관해 추가 정보가 필요하면, [help target 프로토콜명]을 친다. [target 서브 명령어 목록] target exec 타겟으로서 실행 파일을 사용한다. target extended-remote 시리얼 라인을 경유해 떨어져 있는 컴퓨터를 타겟으로 사용 target remote 시리얼 라인을 경유해 떨어져 있는 컴퓨터를 타겟으로 사용 target core 타겟으로서 코어 파일을 사용한다. target child ([run] 명령어에 의해 시작된) 유닉스의 자식 프로세스를 타겟으로 사용한다. handle 신호를 어떻게 다룰지 상술함argument는 신호와 그 신호에 적용할 동작이다. 심벌 신호(즉 SIGSEGV)가 권장 사항이지만, 1-15의 숫자 신호도 GDB

GDB Debugging Tool for Embedded Linux

Compile GDB for ARM Target Preinstallation : ARM-LINUX-GCC 1. Compile for GDB #tar xvf gdb-6.8.tar.tar #cd gdb-6.8 #./configure -target=arm-linux : Target 을 Embedded Linux for ARM 으로 설정한다. : --prefix=/usr/local/bin 또는 GDB 가 설치될 Directory 를 명시한다. (Option) #make #make install 여기까지 정상적으로 진행된 경우, /usr/local/bin/ 에서 arm-linux-run, arm-linux-gdb, arm-linux-gdbtui 이렇게 3개의 실행파일이 생성된 것을 확인할 수 있다. file 명령으로 arm-linux-gdb 를 확인하면 "ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GN/Linux 2.4.1, not stripped" 로 표시되는 것을 확인할 수 있다. 2. Compile for GDBServer #cd gdb-6.8/gdb/gdbserver #./configure -target=arm-linux --host=arm-linux Target 이 Embedded Linux for ARM 이므로 Target 에 복사될 gdbserver 는 host 를 arm-linux 로 설정하여 다시 configure 를 실행하는 것이다. #make CC=arm-linux-gcc 여기까지 정상적으로 진행된 경우, gdb608/gdb/gdbserver 에 gdbreplay, gdbserver 이렇게 2개의 실행파일이 생성된 것을 확인할 수 있다. file 명령으로 gdbserver 를 확인하면 "ELF 32-bit LSB executable, ARM, vers

Linux Command 6

vi 에디터 사용법 1. vi 시작하기: vi filename 2. vi 끝내기: :w (save하기, 끝나지는 않는다.) :q (빠져나옴,고치지 않았을때) :wq (또는 ZZ) (save하고 빠져나옴) :q! (고친 것을 포기하고 빠져나옴) 3. vi의 두 모드(mode) 1) 편집모드 - 화면 맨 아랫쪽 첫째 column에 ":"가 없는 경우를 말함. (vi를 시작했을 때 상태 그대로가 편집모드이다.) - 대부분의 명령은 알파벳 글자 하나를 누름으로써 수행된다. - 편집모드에는 string의 수정(R, replace), 삽입( i 또는 a, insert), 대치(s, substitution)모드 등이 별개로 존재하고 각 모드는 Esc키를 누름으로써 끝난다. 2) Command모드 - 편집모드에서 사용자가 ":"(콜론)을 쳐서 화면 맨 아랫쪽 첫째 column에 ":"가 있는 경우를 말함. - command모드는 ":"를 쳐서 시작하고 엔터를 침으로써 끝이 난다. - 이후 ":"로 시작되는 명령어는 모두 command모드를 의미한다. 4, cursor의 이동 명 령 설 명 h l k j 0 $

Linux Command 5

리눅스 셀의 사용법 1. 쉘의 개념 1) 쉘 : 쉘(shell)은 유닉스 명령어 해석기입니다. 도스에서 COMMAND.COM이라는 프로그램의 역할과 유사한 일을 합니다. 이러한 쉘은 커널 위에서 커널과 통신하면서 사용자가 내리는 명령을 수행하는 역할을 합니다. 리눅스에서는 bash(Bourne Again Shell)를 기본 쉘로 사용하며 이러한 bash말고도 다른 유닉스 계열에서 만들어진 것으로는 BSD 계열에서 만든 csh(C shell), 이 csh을 확장한 tcsh(TENEX C shell), AT&T유닉스에서 만들어진 ksh(Korn Shell) 등이 있습니다. 이러한 쉘 중 bash는 리눅스의 대표적 쉘로 GNU 프로젝트의 산물로 만들어졌다. bash는 POSIX 1003.2 쉘 표준에 따라 Korn Shell과 SystemⅤ의 쉘에서 장점을 따서 만들어졌다. 유닉스에서는 기본 쉘로 알려진 sh(Bourne shell)과 호환성을 유지하고 있으며 sh보다 많은 기능들이 추가되어 있습니다. 쉘은 이름 그대로 껍데기입니다. 중앙의 알맹이 부분에는 운영체제의 근간을 이루는 커널(Kernel)이 있다. 사용자는 이 커널에 직접 명령을 내리기 어렵기 때문에 커널에 줄 수 있는 명령을 사용자가 쓰기 편하도록 만들어 놓은 명령어 해석기가 필요한 것이다. 그것이 바로 쉘의 필요성이자 쉘의 역할이다.UNIX System은 Kernel, Shell, Utility의 3부분으로 구성된다. 2) Kernel : UNIX OS의 실제 부분으로 파일시스템, CPU, 메모리 관리, 시스템 호출을 통한 기타 운영체제의 기능들을 제공한다. DOS의 msdos.sys, io.sys에 해당되는 부분으로 생각하면 된다. 3) Shell : 사용자와 Kernel 사이에 위치해서 둘 사이의 Interface의 역할과 해석기 역할을 하는 것으로 DOS의 command.com에 해당하는 부분이다. shell은 login

Linux Command 4

리눅스 시스템관리 명령어 1. 자신이 누구인지 알아보기: whoami, id, finger - whoami는 자신의 아이디만을 알려준다. 그러나 id는 자신의 아이디와 그룹에 대한 숫자와 이름까지 알려준다. $ id 특정아이디 형식으로 입력하면 특정 아이디에 대한 정보를 볼 수 있다. finger 뒤에 조회하려는 아이디를 적어주면 해당 아이디에대한 좀 더 자세한 정보를 보여준다. - # whoami - # id - # id tuxlove - # finger tuxlove 2. 달력 보기: cal - # cal 3. 오늘의 날짜 보기: date - # date - # date 월/일/시/분/년 4. 현재 시스템을 사용하고 있는 사용자 보기: who - # who 5. 현재 로그인 되어있는 사용자 보기: w - # w 6. 잠시 다른 사용자가 되기: su - 빠져 나올때: exit나 logout명령을 사용한다. - # su roseb612 - # exit - $ su - root 7. 시스템 끄기: shutdown - 시스템을 끄는 방법에는 halt(정지),와 reboot(재부팅)의 두 가지 방법이 있다. - # shutdown -h now : 시스템 정지 - # shutdown -r now : 재부팅 - # shutdown -h 18:00 8. 사용자 추가: useradd - # /usr/sbin/useradd roseb612 - # passwd roseb612 - # /usr/sbin/useradd -p **** sora - 계정과 관련된 파일: etc/pass

Linux Command 3

리눅스 기초 명령어 1. 로그 아웃하기 - # logout / ^D / exit 2. 리눅스 종료하기 - # halt - # shutdown -h now 3. 파일과 디렉토리 관리하기 1) 한글 터미널 실행하기 - [시작]-[시스템도구]-[추가시스템도구]-[한글터미널] 2) 파일과 디렉토리 목록보기 - # ls - # ls -a :숨김파일도 표시 - # ls -l : 자세한 정보 표시 - # ls --show-control-chars : 일반 영어가 아닌 글자들을 출력하는 옵션 - # ls --color :파일의 종류에 따라 다른 색으로 표시 - # ls -c : 파일의 생성이나 변경된 시간에 따라 정렬하여 표시 - # ls -F : 파일의 종류에 따라 파일 이름 뒤에 특정 문자를 추가하여 표시 - # ls -R : 하위 디렉토리의 내용까지 모두 표시 - # ls -al --color 3) 현재의 작업 디렉토리 표시 - # pwd 4) 디렉토리 이동하기 - # cd /home 5) 파일 복사하기 - # cp [원본파일이름] [복사할파일이름] - # cp [원본파일이름] [복사할디렉토리이름] : 디렉토리에 파일 복사 - # cp [원본파일이름] [복사할데렉토리/복사할이름] : 이름을 바꾸어서 지정한 디렉토리에 복사 - # cp [디렉토리/파일이름] [디렉토리/파일이름] - # cp -r [원본디렉토리이름] [복사할디렉토리이름] : 디렉토리를 통채로 복사 - # cp -rb [원본디렉토리이름] [복사할디렉토리이름] : 디렉토리를 통채로 복사하는데 같은 이름이 있을 때는 ~문자를 덧붙여 백업 파일 생성 - #