<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog-boxcorea</title>
	<atom:link href="http://blog.boxcorea.com/wp/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.boxcorea.com/wp</link>
	<description>Simple is Beautiful!</description>
	<lastBuildDate>Tue, 19 Jan 2010 08:52:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>CISCO 라우터 로그정보 외.</title>
		<link>http://blog.boxcorea.com/wp/archives/245</link>
		<comments>http://blog.boxcorea.com/wp/archives/245#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:52:48 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[H/W(하드웨어)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=245</guid>
		<description><![CDATA[그대로 퍼왔음. 원문이 없어질 경우를 대비하여ㅣ

원문: http://www.totalphone.co.kr/router2.html

Cisco 1601,2501,1720 기본정보

Router(config)#logging buffer 라우터의 가동정보 설정
Router# wr                    저장
Router#sh log                 라우터의 가동정보 설정 열람(라우터의 [...]]]></description>
			<content:encoded><![CDATA[<pre><span style="font-size: 10pt">그대로 퍼왔음. 원문이 없어질 경우를 대비하여ㅣ

원문: </span>http://www.totalphone.co.kr/router2.html
<span style="font-size: 10pt">
<span id="more-245"></span>Cisco 1601,2501,1720 기본정보

Router(config)#logging buffer 라우터의 가동정보 설정
Router# wr                    저장
Router#sh log                 라우터의 가동정보 설정 열람(라우터의 장애상황을 저장한다)

추가 정보

Router#wr er                   초기화
Router#reload                  재 기동 (y를 친다)
Router#sh conf                 확인

프로토콜 변경법

Router#conf t
Router(config)#int s0                     2501은 int s1 도 가능
Router(config)#encapsulation hdlc         프로토콜을 hdlc로 설정 ppp로설정가능
Router#wr

정보 확인

Router#sh conf                             라우터의 셋팅상황을 열람
Router#sh int s0                           시리얼의 정보를 열람
Router#sh int s1                           2501 시리얼 1번 열람
Router#sh int e0                           이더넷의 정보를 열람
Router#sh int fast0                        1720의 이더넷 열람
Router#sh ip int br                        모든 이더넷,시리얼 up/down유무 확인

ip accounting 거는 방법
Router#
Router#conf  t
Router(config)#int s0             시리얼s0에 걸었음:2501은 s1, e0, 1720은 fa0 가능함
Router(config)#ip acco
Router(config)#exit
Router#sh ip acco                      

보고나서
Router#
Router#conf  t
Router(config)#int s0
Router(config)#no ip acco          꼭 해줘야함
Router(config)#exit
Router#sh run
ip acco 해서 나온 정보를 이용해서 ip추적을 할수있다
도스창에서 tracert 211.110.48.202(가상ip) 하면 ip의 경로를 볼수있다

## ip acco는 라우터에서 나가는 경로확인이고
sh ip cacha flow는 라우터에 들어오는 경로 확인이다.
단)cisco 7500이상 라우터에 적용
interface Serial 시리얼에 적용
Router_7500(config-if)&gt;#ip route-cacha flow           적용
Router_7500(config-if)&gt;#no ip route-cacha flow        해제
Router_7500#sh ip cacha flow                          보기

시리얼에 정보 입력
Router#
Router#conf  t
Router(config)#int s0                    시리얼이나 이더넷도 가능
Router(config)#Description  ####(123456)우주인터넷짱 ####   맘대로 정보를 입력하면됨
Router#wr

그 외 정 보

Router#
Router#conf  t
Router(config)#banner moth ^c
###########################
#         들어오면 죽어   #
###########################
^c
하면 login시 첫화면에 뜬다

모르면 ?를 치면 작업 가능한 명령어들이 나옴 

※라우터가 프로그램으로 재부팅&amp; power로 재부팅 확인방법
Router#show ver
 .
 .
4009028 uptime is 2 minutes           &lt;==재부팅 된 시간
System restarted by power-on          &lt;==전원으로 재부팅. 프로그램은 reload 라고나옴
System image file is "flash:c1600-y-mz.120-8"
 .
 .

※장애처리

Router#sh int s0
Serial0 is up, line protocol is up
  Hardware is cyBus Serial
  Description: (123456) 우주인터넷 짱
  Internet address is 100.100.100.100/30
  MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
  Encapsulation HDLC, crc 16, loopback not set
  Keepalive set (10 sec)
  Last input 00:00:00, output 00:00:00, output hang never
  Last clearing of "show interface" counters 6d00h
  Input queue: 0/75/0 (size/max/drops); Total output drops: 379
  Queueing strategy: weighted fair
  Output queue: 0/1000/64/379 (size/max total/threshold/drops)
     Conversations  0/78/256 (active/max active/max total)
     Reserved Conversations 0/0 (allocated/max allocated)
     30 second input rate 2000 bits/sec, 3 packets/sec
     30 second output rate 0 bits/sec, 0 packets/sec
     37397441 packets input, 2190942468 bytes, 0 no buffer
     Received 0 broadcasts, 0 runts, 0 giants, 0 throttles
     55988 input errors, 47235 CRC, 0 frame, 21 overrun, 0 ignored, 8732 abort
     41191640 packets output, 1180174418 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 output buffer failures, 3581493 output buffers swapped out
     2 carrier transitions
     RTS up, CTS up, DTR up, DCD up, DSR up  

 rely 255/255 는 선로의 품질상태 표시 200/255이면 ping이 무지 빠진다
crc는 회선상태가 나뻐서 뜰수가 있고 이더넷에서 오류데이터가 많아도 나타난다
frame errors가뜨면 셋팅이 틀어져서 나타나는게 많다
fdsu에서 LL을 건다 라우터에서 Serial0 is up, line protocol is (loop)가나오면
ping 100.100.100.100을 해서 돌아오면 정상이다

(주의: 각 터미널 모드에서 작업가능한 명령어는 각각 틀립니다)

※※cisco 1000 or 1600 route password 변경
콘솔로 연결
ctrl+breack key를 누름

rommon 1&gt;
rommon 2&gt;confreg 0x41
rommon 3&gt;reset

 ----------
would you like to enter the initial configuration dialog? [yes]: n

 ----------

Router(boot)&gt;enable
Router(boot)#conf mem
Router(boot)#conf t
Router(boot)(config)#enable secret router
Router(boot)(config)#line vty 0 4
Router(boot)(config-line)#password router
Router(boot)(config-line)#config-regi 0x2102
Router(boot)(config)#^z
Router(boot)#wr
Router(boot)#sh run
재부팅 하면됩니다
password는 router입니다

</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/245/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>사이베이스 백업</title>
		<link>http://blog.boxcorea.com/wp/archives/234</link>
		<comments>http://blog.boxcorea.com/wp/archives/234#comments</comments>
		<pubDate>Fri, 04 Dec 2009 02:51:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DATABASE]]></category>
		<category><![CDATA[sybasd dump]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=234</guid>
		<description><![CDATA[사이베이스 백업 스크립트
#!/usr/bin/sh
DIR=&#8221;[SYBASE_BACKUP_DIR]&#8221;
WEEK=`date +%Y%m%d`
tgt_file=&#8221;$DIR/[database_name].$WEEK.dmp&#8221;
log_file=&#8221;$DIR/R/[database_name].$WEEK.log&#8221;
isql -Usa -P &#60;&#60;EOF
dump database [database_name] to &#8220;$tgt_file&#8221;
go
.
EOF
echo &#8220;DB DUMP END ==&#62;$tgt_file&#8221;
find [SYBASE_BACKUP_DIR]/*.dmp -mtime +2 -exec rm -rf {} \;
find [SYBASE_BACKUP_DIR]/*.log -mtime +2 -exec rm -rf {} \;
]]></description>
			<content:encoded><![CDATA[<p>사이베이스 백업 스크립트</p>
<blockquote><p>#!/usr/bin/sh<br />
DIR=&#8221;[SYBASE_BACKUP_DIR]&#8221;<br />
WEEK=`date +%Y%m%d`<br />
tgt_file=&#8221;$DIR/[database_name].$WEEK.dmp&#8221;<br />
log_file=&#8221;$DIR/R/[database_name].$WEEK.log&#8221;<br />
isql -Usa -P &lt;&lt;EOF<br />
dump database [database_name] to &#8220;$tgt_file&#8221;<br />
go<br />
.<br />
EOF<br />
echo &#8220;DB DUMP END ==&gt;$tgt_file&#8221;<br />
find [SYBASE_BACKUP_DIR]/*.dmp -mtime +2 -exec rm -rf {} \;<br />
find [SYBASE_BACKUP_DIR]/*.log -mtime +2 -exec rm -rf {} \;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/234/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>넷백업 장애코드 스크랩</title>
		<link>http://blog.boxcorea.com/wp/archives/230</link>
		<comments>http://blog.boxcorea.com/wp/archives/230#comments</comments>
		<pubDate>Fri, 04 Dec 2009 00:49:51 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Application(어플리케이션)]]></category>
		<category><![CDATA[netbackup]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=230</guid>
		<description><![CDATA[Status 6
- 원인 : The backup failed to back up the requested files
- policy의 backup selection이 정확한지 확인이 필요합니다. 해당 file이 없는 경우 발생합니다.
- DB agent의 경우 script 위치, 이름, 실행권한 등을 확인해야 합니다.
Status 21
- 원인 : A socket could not be opened
- 해결 방안
1. NetBackup log와 debug log를 생성하여 진행과정을 점검하여 장애 발생 요인 [...]]]></description>
			<content:encoded><![CDATA[<p>Status 6</p>
<p>- 원인 : The backup failed to back up the requested files</p>
<p>- policy의 backup selection이 정확한지 확인이 필요합니다. 해당 file이 없는 경우 발생합니다.</p>
<p>- DB agent의 경우 script 위치, 이름, 실행권한 등을 확인해야 합니다.</p>
<p>Status 21</p>
<p>- 원인 : A socket could not be opened</p>
<p>- 해결 방안</p>
<p>1. NetBackup log와 debug log를 생성하여 진행과정을 점검하여 장애 발생 요인 부분을 재설정한다.</p>
<p>2. Unix 장비인 경우 patch 적용이 정상적인지를 확인하고 Windows인 경우는 Service pack level을 확인한다.</p>
<p>Status 39</p>
<p>- 원인 : client name mismatch</p>
<p>- 해결 방안 : client 이름을 변경하거나 master 또는 media server에서 client 이름을 확인 후 변경한다.</p>
<p>Status 40</p>
<p>- 원인 : network connection broken</p>
<p>- 해결 방안</p>
<p>1. server에서 client로 ping test를 실행한다.</p>
<p>2. client와 server에 server list가 알맞게 설정되어 있는지를 확인한다.</p>
<p>3. mount 요청을 취소했을 경우에도 발생한다.</p>
<p>Status 54</p>
<p>- 원인 : timed out connecting to client</p>
<p>- Client와의 Network connection이 원할 하지 않을 때 발생합니다.</p>
<p>- Client의 Netbackup process가 실행 중인지 확인하고, ping등의 command를 이용해 client와 network 통신 확인</p>
<p>- 해결 방안</p>
<p>1. /etc/inetd.conf 파일에 bpcd 경로 설정이 맞는지 확인한다.</p>
<p>2. master server의 /etc/hosts 파일에 client명을 설정한다.</p>
<p>3. resolve network 통신 관련 점검한다.</p>
<p>Status 57</p>
<p>- 원인 : client connection refused</p>
<p>Status 71</p>
<p>- 원인 : none of the files in the file list exist</p>
<p>- policy에서 지정한 backup selection의 file을 찾을 수 없을 때 발생합니다.</p>
<p>- 실제 file이 존재하는지 확인합니다.</p>
<p>Status 84</p>
<p>- 원인 : media write error</p>
<p>- 미디어 write error입니다.</p>
<p>- Device 오염이나 media 불량으로 발생합니다.</p>
<p>- Device cleaning이나 media 교체로 문제를 해결할 수 있습니다.</p>
<p>Status 96</p>
<p>- 원인 : unable to allocate new media for backup, storage unit has none available</p>
<p>- 백업에 필요한 미디어가 없는 경우 발생</p>
<p>- 해결 방안</p>
<p>1.(Unix) /usr/openv/netbackup/bin/goodies/available_media</p>
<p>(Windows) install_path\netbackup\bin\goodies\available_media.cmd</p>
<p>위의 명령어로 현재 사용가능한 volume 있는지를 점검한다.</p>
<p>2. volume이 현재 FROZEN 이나 SUSPENDED 이면 bpmedia 명령어로 수정한다.</p>
<p>3. volume의 mount 최대값을 초과하였거나 모든 volume이 full발생하여 expire 되지 않았는지를 점검한다.</p>
<p>-policy에서 지정한 volume pool에 충분한 미디어가 있는지 확인합니다.</p>
<p>-미디어들이 full, frozen, suspend 상태이거나 다른 미디어 서버에 할당 되어 있으면 백업을 수행 할 수 없습니다.</p>
<p>-Tape 장비에 새 미디어를 넣거나 해당 volume pool에 미디어를 할당해서 해결할 수 있습니다.</p>
<p>Status 150</p>
<p>- 원인 : user가 강제로 job Cancel</p>
<p>Status 196</p>
<p>- 원인 : client backup was not attempted because backup window closed</p>
<p>-이전 백업 작업이 너무 오래 걸려서 schedule에 설정한 백업 윈도우 동안 백업 실행을 하지 못해서 발생합니다.</p>
<p>-Schedule을 조정해서 작업이 겹치지 않도록 하거나 백업 윈도우를 좀더 많이 주는 방법으로 해결할 수 있습니다.</p>
<p>Status 219</p>
<p>- 원인 : the required storage unit is unavailable</p>
<p>- Policy에서 지정한 storage unit이 가용하지 않은 경우입니다.</p>
<p>- 주로 system rebooting 등의 작업으로 drive상태가 down으로 되어 발생합니다.</p>
<p>- Device monitor 창에서 control column부분이 down상태인지 확인하고 down 상태이면 오른쪽 마우스를 클릭하여 up을 실행할 수 있습니다.</p>
<p>- 미디어 서버에서 NetBackup process가 정상적으로 동작 중인지 확인합니다.</p>
<p>- Up을 실행한 후에도 계속해서 down상태로 변환되면 실제 H/W장비에 이상이 있는 경우 입니다. 이 경우 장비 정비를 받으셔야 합니다.</p>
<p>-해결 방안</p>
<p>1.스케쥴에 설정된 storage unit이 맞는지 확인한다.</p>
<p>2.Device , Media Manager daemon이 구동 중인지 확인한다.</p>
<p>3.(Unix) Maximum concurrent jobs 의 값이 0 이 아닌지,</p>
<p>(Windows) Maximum concurrent drives 의 값이 0 이 아닌지를 확인한다.</p>
<p>4. storage unit이 tape이나 optical disk 일 경우 drive 상태가 UP 인지를 확인한다.</p>
<p>예제) F/S backup, Oracle Hot Backup &#8216;219&#8242; Error 발생</p>
<p>원인 : Duplicate 3개(Copy하는 작업입니다.)가 실행중이었는데 그 중 하나가 어떤 Media를 요청하였으나 장시간 대기하다 timeover로 Pending Request가 발생 -&gt; Pending Request로 상기 Backup &#8216;219&#8242; 발생</p>
<p>해결 : Device Monitor에서 Pending Request 발생한 Media를 Deny Request(해당 Media ID에서 우측버튼) 선택으로 해결</p>
<p>[출처] 베리타스 장애 코드|작성자 곤이</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/230/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netbackup 문서</title>
		<link>http://blog.boxcorea.com/wp/archives/225</link>
		<comments>http://blog.boxcorea.com/wp/archives/225#comments</comments>
		<pubDate>Wed, 11 Nov 2009 00:44:52 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Application(어플리케이션)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=225</guid>
		<description><![CDATA[넷백업 커맨드 정리 문서.
다운로드:NetBackup_Commands_UNIX
넷백업 클라이언트 관리 가이드
다운로드: VERITAS NetBackup &#8482; 6.0 Advanced Client System Administrator Guide for UNIX and Win
]]></description>
			<content:encoded><![CDATA[<p>넷백업 커맨드 정리 문서.</p>
<p>다운로드:<a href="http://blog.boxcorea.com/wp/wp-content/uploads/2009/11/NetBackup_Commands_UNIX1.pdf">NetBackup_Commands_UNIX</a></p>
<p>넷백업 클라이언트 관리 가이드</p>
<p>다운로드: <a href="http://blog.boxcorea.com/wp/wp-content/uploads/2009/11/VERITAS-NetBackup-tm-6.0-Advanced-Client-System-Administrator-Guide-for-UNIX-and-Win.pdf">VERITAS NetBackup &#8482; 6.0 Advanced Client System Administrator Guide for UNIX and Win</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/225/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mod_rewrite를 이용한 http커맨드 제어</title>
		<link>http://blog.boxcorea.com/wp/archives/219</link>
		<comments>http://blog.boxcorea.com/wp/archives/219#comments</comments>
		<pubDate>Fri, 06 Nov 2009 03:46:37 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[ETC(기타)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=219</guid>
		<description><![CDATA[PUT, TRACE, DELETE를 사용 불가능하게하기.
&#60;IfModule mod_rewrite.c&#62;
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^TRACE [OR]
RewriteCond %{REQUEST_METHOD} ^PUT   [OR]
RewriteCond %{REQUEST_METHOD} ^DELETE
RewriteRule .* &#8211; [F]
&#60;/IfModule&#62;
적용전
[root@movie conf]# telnet localhost 80
Trying 127.0.0.1&#8230;
Connected to localhost.localdomain (127.0.0.1).
Escape character is &#8216;^]&#8217;.
TRACE / HTTP/1.0
Host: localhost
HTTP/1.1 200 OK
Date: Fri, 06 Nov 2009 03:26:32 GMT
Server: Apache
Connection: close
Content-Type: message/http
TRACE / HTTP/1.0
Host: localhost
Connection closed by foreign host.
적용후
[root@localhost conf]# telnet localhost 80
Trying 127.0.0.1&#8230;
Connected [...]]]></description>
			<content:encoded><![CDATA[<p>PUT, TRACE, DELETE를 사용 불가능하게하기.</p>
<blockquote><p>&lt;IfModule mod_rewrite.c&gt;<br />
RewriteEngine on<br />
RewriteCond %{REQUEST_METHOD} ^TRACE [OR]<br />
RewriteCond %{REQUEST_METHOD} ^PUT   [OR]<br />
RewriteCond %{REQUEST_METHOD} ^DELETE</p>
<p>RewriteRule .* &#8211; [F]<br />
&lt;/IfModule&gt;</p></blockquote>
<p>적용전</p>
<blockquote><p>[root@movie conf]# telnet localhost 80<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.localdomain (127.0.0.1).<br />
Escape character is &#8216;^]&#8217;.<br />
TRACE / HTTP/1.0<br />
Host: localhost</p>
<p><span style="color: #ff6600">HTTP/1.1 200 OK</span><br />
Date: Fri, 06 Nov 2009 03:26:32 GMT<br />
Server: Apache<br />
Connection: close<br />
Content-Type: message/http</p>
<p>TRACE / HTTP/1.0<br />
Host: localhost</p>
<p>Connection closed by foreign host.</p></blockquote>
<p>적용후</p>
<blockquote><p>[root@localhost conf]# telnet localhost 80<br />
Trying 127.0.0.1&#8230;<br />
Connected to localhost.localdomain (127.0.0.1).<br />
Escape character is &#8216;^]&#8217;.<br />
TRACE / HTTP/1.0<br />
Host: localhost</p>
<p><span style="color: #ff6600">HTTP/1.1 403 Forbidden</span><br />
Date: Fri, 06 Nov 2009 03:42:21 GMT<br />
Server: Apache<br />
Content-Length: 321<br />
Connection: close<br />
Content-Type: text/html; charset=iso-8859-1</p>
<p>&lt;!DOCTYPE HTML PUBLIC &#8220;-//IETF//DTD HTML 2.0//EN&#8221;&gt;<br />
&lt;html&gt;&lt;head&gt;<br />
&lt;title&gt;403 Forbidden&lt;/title&gt;<br />
&lt;/head&gt;&lt;body&gt;<br />
&lt;h1&gt;Forbidden&lt;/h1&gt;<br />
&lt;p&gt;You don&#8217;t have permission to access /<br />
on this server.&lt;/p&gt;<br />
&lt;p&gt;Additionally, a 404 Not Found<br />
error was encountered while trying to use an ErrorDocument to handle the request.&lt;/p&gt;<br />
&lt;/body&gt;&lt;/html&gt;<br />
Connection closed by foreign host.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/219/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>이미 만든 개인키에서 비밀번호 제거하기.</title>
		<link>http://blog.boxcorea.com/wp/archives/217</link>
		<comments>http://blog.boxcorea.com/wp/archives/217#comments</comments>
		<pubDate>Fri, 06 Nov 2009 03:30:58 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Application(어플리케이션)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=217</guid>
		<description><![CDATA[ 이미 만든 key 화일에서 비밀번호 제거&#8230;
openssl rsa -in server.key -out server-nodes.key
처음부터 만들지 않을때는 -nodes옵션 사용.
]]></description>
			<content:encoded><![CDATA[<p> 이미 만든 key 화일에서 비밀번호 제거&#8230;</p>
<p>openssl rsa -in server.key -out server-nodes.key</p>
<p>처음부터 만들지 않을때는 -nodes옵션 사용.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/217/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ssh 터널 뚫기.</title>
		<link>http://blog.boxcorea.com/wp/archives/211</link>
		<comments>http://blog.boxcorea.com/wp/archives/211#comments</comments>
		<pubDate>Tue, 15 Sep 2009 09:19:51 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Application(어플리케이션)]]></category>
		<category><![CDATA[ssh 터널]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=211</guid>
		<description><![CDATA[방화벽안쪽의 서버에 ssh접속은 해야겠고, 방화역은 안열어주고. 이럴때, ssh터널을 하나 뚫어놓으면, 필요할때 접속 가능
방화벽안쪽 서버. box1, 방화벽 바깥 SSH 서버 box2, 외부의 컴퓨터 box3. box3은 윈도우에 putty를 이용.
먼저, box1 과 box2를 ssh접속해 놓는다.
box1에서 아래의 명령을 실행
ssh -f -N -g -C -R 2222:localhost:22 userid@box2_ipaddress
box3에서, command창을 열고 아래 커맨드 실행
plink -L 3333:localhost:2222 userid@box2_ipaddress
이후, putty 에서, 포트번호 3333으로 box2에 [...]]]></description>
			<content:encoded><![CDATA[<p>방화벽안쪽의 서버에 ssh접속은 해야겠고, 방화역은 안열어주고. 이럴때, ssh터널을 하나 뚫어놓으면, 필요할때 접속 가능</p>
<p>방화벽안쪽 서버. box1, 방화벽 바깥 SSH 서버 box2, 외부의 컴퓨터 box3. box3은 윈도우에 putty를 이용.</p>
<p>먼저, box1 과 box2를 ssh접속해 놓는다.</p>
<p>box1에서 아래의 명령을 실행</p>
<blockquote><p>ssh -f -N -g -C -R 2222:localhost:22 userid@box2_ipaddress</p></blockquote>
<p>box3에서, command창을 열고 아래 커맨드 실행</p>
<blockquote><p>plink -L 3333:localhost:2222 userid@box2_ipaddress</p></blockquote>
<p>이후, putty 에서, 포트번호 3333으로 box2에 접속하면, box1로 ssh 접속이 된 것을 확인 할 수 있음.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/211/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>openssl   자체인증서 만들기</title>
		<link>http://blog.boxcorea.com/wp/archives/199</link>
		<comments>http://blog.boxcorea.com/wp/archives/199#comments</comments>
		<pubDate>Tue, 28 Jul 2009 09:02:40 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Application(어플리케이션)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=199</guid>
		<description><![CDATA[openssl   자체인증서 만들기
openssl genrsa -des3 -out ca.key 4096
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt
openssl genrsa -des3 -out server.key 4096
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -CA ca.crt -CAkey ca.key -set_serial 01 -out server.crt
 여기서, set_serial   옵션이 잘못되었다고 에러. 그래서 그 옵션을 빼면,
openssl x509 -req -days 365 -in [...]]]></description>
			<content:encoded><![CDATA[<p>openssl   자체인증서 만들기</p>
<p>openssl genrsa -des3 -out ca.key 4096<br />
openssl req -new -x509 -days 3650 -key ca.key -out ca.crt<br />
openssl genrsa -des3 -out server.key 4096<br />
openssl req -new -key server.key -out server.csr<br />
openssl x509 -req -days 3650 -in server.csr -CA ca.crt -CAkey ca.key <em>-set_serial 01</em> -out server.crt<br />
 여기서, set_serial   옵션이 잘못되었다고 에러. 그래서 그 옵션을 빼면,</p>
<p>openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key  -out server.crt</p>
<p>진행중 아래 에러발생</p>
<p>ca.srl: No such file or directory</p>
<p> openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key  <em>-CAcreateserial</em> -out server.crt</p>
<p>결국 화일 생성됨</p>
<p>말그대로 ca.srl화일이 없어서 발생.</p>
<p>openssl x509 -req -days 365 -in server.csr -CA ca.crt -CAkey ca.key  -CAcreateserial -out server.crt</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/199/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>오라클 snp 백그라운드 프로세스</title>
		<link>http://blog.boxcorea.com/wp/archives/197</link>
		<comments>http://blog.boxcorea.com/wp/archives/197#comments</comments>
		<pubDate>Fri, 03 Jul 2009 11:27:12 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[DATABASE]]></category>
		<category><![CDATA[snp background process]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=197</guid>
		<description><![CDATA[다음의 parameter를 init&#60;SID&#62;.ora file에 설정한 후 oracle을 startup하면 SNP0 혹은 J000 process가 뜨게된다.
job_queue_processes = 10   &#8211;&#62; 설치시 0 으로 설정되어 있음.

sqlplus 에서는
sql&#62; alter system set job_queue_processes = 10
이렇게 해도 같은 효과.
]]></description>
			<content:encoded><![CDATA[<div>다음의 parameter를 init&lt;SID&gt;.ora file에 설정한 후 oracle을 startup하면 SNP0 혹은 J000 process가 뜨게된다.</div>
<div>job_queue_processes = <strong>10   &#8211;&gt; 설치시 0 으로 설정되어 있음.</strong></div>
<div></div>
<div>sqlplus 에서는</div>
<div>sql&gt; alter system set job_queue_processes = 10</div>
<div>이렇게 해도 같은 효과.</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/197/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>netservices</title>
		<link>http://blog.boxcorea.com/wp/archives/195</link>
		<comments>http://blog.boxcorea.com/wp/archives/195#comments</comments>
		<pubDate>Fri, 03 Jul 2009 00:39:04 +0000</pubDate>
		<dc:creator>poss</dc:creator>
				<category><![CDATA[Solaris(솔라리스)]]></category>

		<guid isPermaLink="false">http://blog.boxcorea.com/wp/?p=195</guid>
		<description><![CDATA[solaris10에서  불필요한 네트워크 서비스를 제한할 수 있는 커맨드
netservices [open &#124; limited]
open이면 모든 네트워크 서비스들이 열리고, limited로 하면, nfs같은 사용안하는 서비스는 열리지 않음.
관련커맨드는, svcadm, svccfg등..
]]></description>
			<content:encoded><![CDATA[<p>solaris10에서  불필요한 네트워크 서비스를 제한할 수 있는 커맨드</p>
<p>netservices [open | limited]</p>
<p>open이면 모든 네트워크 서비스들이 열리고, limited로 하면, nfs같은 사용안하는 서비스는 열리지 않음.</p>
<p>관련커맨드는, svcadm, svccfg등..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.boxcorea.com/wp/archives/195/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
