ETC Tip2020. 2. 7. 12:23

VirtualBox에 OS를 설치하고 Network이 되는지 확인해 보면 일반적으로 별 탈 없이 잘 되곤한다. 잘 되니까 별다르게 신경쓰는 일이 없는 것이 사실이다. 네트워크와 관련된 작업을 하지 않는 이상 별 다르게 변경해야할 필요도 없다.

 

하지만 일반 사용자를 넘어서 advanced user가 되고자 한다면 기본 설정 외에 어떤 설정이 가능한지 한 번 살펴볼 필요가 있다. 혹시 아는가. 알고 보면 나에게 최적화된 설정은 기본 설정이 아니라 생각지도 못한 다른 설정일 수도 있다. 

 

매뉴얼에 따르면 가산 머신당 총 8개까지 가상 네트워크(가상 PCI 이더넷 카드) 생성 및 설정이 가능하다. 4개는 설정 화면을 통해서 가능하고 나머지는 VboxManage command를 통해서 가능하다.

 

우선 하나의 설정만 제대로 할 줄 알면 나머지 것들은 추가하는 수준일테니 우선 하나의 가상 네트워크를 설정하는 방법을 알아보도록 하자.

 

 

가상 네트워크를 설정하기 위해서는 다음의 것들을 정해야 한다. 

 

-. 어떤 하드웨어를 통해 가상화할 것인가. 

: PC에 설치된 Ethernet 카드 중 어떤 카드를 통해 가상화하여 네트워크를 사용할 것인지 정한다.

 

-. 어떤 가상화 모드로 설정할 것인가. 

: 설정가능한 6개의 가상화 모드 중 어떤 것을 사용할 것인지 정한다. 기본으로는 NAT가 설정되어 있다.

 

(참고로 VirtualBox의 네트워크라는 표현을 사용하기는 하였지만 정확히 말하면 virtualbox manual에서 볼 수 있듯이 virtual networking, 즉  virtualbox의 가상 네트워킹이다.)

 

위 2가지 중에 "어떤 가상화 모드로 설정할 것인가"에 대해 어떤 가상화 모드가 있고, 선택이 가능한지 알아보자.

 


 

우선 기본적으로 아래와 같이 NAT로 설정되어 있다. 

 

> 처음 화면에서 확인할 수 있는 기본 설정

 

 

이를 변경하기 위해서 설정하기 원하는 가상 머신을 선택한 후 (위에서는 Ubuntu 16.04가 선택) "머신 > 설정 > 네트워크"를 선택한다.

 

"다음에 연결됨(A):" 부분 옆 Combobox를 열어보면 설정 가능한 네트워크 종류를 확인할 수 있다. 

 

 


연결되지 않음

NAT

NAT 네트워크

브리지 어댑터

내부 네트워크

호스트 전용 어댑터

일반 드라이버


 

하나씩 특징을 살펴보면 다음과 같다.

 

"연결되지 않음"


해당 모드는 네트워크 카드는 존재하지만 마치 케이블을 꼽지 않은 것과 같이 연결하지 않은 것과 같이 동작하는 것이다. 

 

 

 

NAT (Network Address Translation)


  • 가상머신 내부 네트워크 -> Host PC 외부 네트워크 단방향 통신 가능
  • Host PC 내의 가상 머신 간의 통신 불가능

해당 모드는 기본 선택사항으로 가상 머신 내에서 단순히 인터넷 사용이나 파일 다운로드와 같은 용도로만 사용할 경우 설정이 가능하다. 가상 머신 내에서는 자체 사설 IP 주소를 사용하지만 실제 외부로 나갈 때는 Host PC가 가진 IP 주소를 바꿔 달고 나가게 된다. Host PC의 외부 네트워크에서는 내부의 가상 머신에 접근 불가능하다. (일반적으로 통용되는 NAT의 개념을 적용한 부분이라 자세한 설명은 넘어간다.) 

 

즉, 아래 그림과 같이 NAT 모드일 경우 192.168.0.1의 주소를 사용하는 가상 머신은 외부 네트워크와 통신할 때 123.123.123.x 주소를 달고 외부와 통신하게 된다. 반면 192.168.0.x 의 주소를 가진 다른 가상 머신들과는 통신이 불가능하다.

 

 

 

 

NAT Network


  • 가상머신 내부 네트워크 -> Host PC 외부 네트워크 단방향 통신 가능
  • Host PC 내의 가상 머신 간의 통신 가능

해당 모드는 NAT와 거의 동일하지만 Host PC 내의 가상 머신끼리 통신이 가능하다는 점이 다르다. 가상 머신 간에 상호 통신이 필요한 작업이 있다면 해당 모드를 사용해야 한다. 

 

NAT Network의 경우는 아래 그림과 같이 NAT 와 다 동일하지만 192.168.0.x 의 주소를 가진 다른 가상 머신들과도 통신이 가능하다는 점이 다르다. 

 

 

 

 

 

브리지 어댑터 (Bridged Adapter)


  • Host PC와 동등한 수준의 네트워크 구성
  • 추가의 IP 할당이 필요함

해당 모드는 가상 머신의 네트워크를 Host PC 와 동등 수준으로 구성할 수 있게 해준다. 즉, 예를 들어 Host PC의 네트워크가 192.168.0.2로 설정이 되어 있다면 가상 머신의 네트워크 또한 192.168.0.4 정도로 같은 네트워크로 설정할 수 있는 것이다. 근데 잘 생각해 보면 실제 물리적인 네트워크 인터페이스는 Host PC의 Ethernet 카드 하나밖에 없다. 그렇다면 어떻게 Host PC와 가상 머신의 네트워크를 구분해 내는 것일까. VirtualBox 의 Manual에 따르면 소위 "net filter"라 불리는 Host PC의 network device driver를 사용하여 구분해 낸다고 한다. 해당 net filter를 통해 가상 머신은 자신의 data를 Host PC의 네트워크 카드로 부터 분리해내고 삽입하기도 한다. 

 

브리지 어댑터의 경우 아래 그림과 같이 물리적으로는 Host PC 내에 존재하지만 Host PC의 주소와 동등한 수준의 별도의 주소를 가지고 외부와 통신한다. 

 

 

 

 

 

 

내부 네트워크 (Internal Network)


  • Host PC와 독립적인 내부 네트워크
  • 같은 Host PC 내의 가상 머신 간 연결이 가능

해당 모드는 브리지 어댑터와 많은 부분에서 유사하지만 가장 큰 차이점으로 외부와 통신이 되지 않는다는 점이 있다. 즉, Host PC의 네트워크와 분리되어 있고, Host PC 내 가상 머신 간에만 상호 연결하여 통신이 가능하다. Host PC의 물리적인 네트워크 인터페이스와 연결되어 있지 않다. 

 

아래 그림과 같이 내부 네트워크는 Host PC 네트워크와 분리되어 있고, 가상 머신 간에만 통신이 가능하다.

 

 

 

 

 

호스트 전용 어댑터 (Host-only Adapter)


  • Host PC를 포함한 내부 네트워크 (외부 네트워크와는 단절)
  • 같은 Host PC 내의 가상 머신 간 연결이 가능

해당 모드는 "브리지 어댑터"모드와 같이 Host PC와 내부 가상 머신들과 통신이 가능하고, "내부 네트워크"모드와 같이 외부 네트워크와는 통신이 불가능하다. Host PC의 물리 네트워크 어댑터외에 별도의 Loopback 어댑터를 생성하여 해당 어댑터를 통해 통신한다.

 

호스트 전용 어댑터의 경우는 아래 그림과 같이 외부 네트워크가 단절되어 있다. 

 

 

 

 

 

일반 드라이버 (Generic Driver)


  • 거의 사용되지 않는 모드
  • UDP Tunnel networking과 VDE(Virtual Distributed Ethernet) 지원

 

 

참고로 아래 6개 종류의 Ethernet card만 위의 가상화 모드 설정이 가능하다.

    • AMD PCNet PCI II (Am79C970A)
    • AMD PCNet FAST III (Am79C973, the default)
    • Intel PRO/1000 MT Desktop (82540EM)
    • Intel PRO/1000 T Server (82543GC)
    • Intel PRO/1000 MT Server (82545EM)
    • Paravirtualized network adapter (virtio-net)



출처: https://technote.kr/213 [TechNote.kr]

Posted by 항아리고미
ETC Tip2012. 2. 7. 11:41
Question

I have used spring framework 3 for my application.  Everything is ok while developed in
Netbeans  But i need a custom build  and   done for the same The build created without any
issue, but i got the following error The error occurred while calling the following method

@RequestMapping(value = "/security/login", method = RequestMethod.POST)
public ModelAndView login(@RequestParam String userName, @RequestParam String password,
    HttpServletRequest request) {
    ......................

But There is no issue while creating the war with  netbeans
(I am sure it is about the compilation issue)
have you any experiance on this issue ...
There is any additional javac argument for compile the same (netbeans used there custom task for the compilation)

type Exception report

message

description The server encountered an internal error () that prevented it from fulfilling this request.

exception

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.springframework.web.bind.annotation.support.HandlerMethodInvocationException: Failed to invoke handler method [public org.springframework.web.servlet.ModelAndView com.mypackage.security.controller.LoginController.login(java.lang.String,java.lang.String,javax.servlet.http.HttpServletRequest)]; nested exception is java.lang.IllegalStateException: No parameter name specified for argument of type [java.lang.String], and no parameter name information found in class file either.
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:659)
 org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 com.mypackage.security.controller.AuthFilter.doFilter(Unknown Source)
 org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
 org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

root cause

java.lang.IllegalStateException: No parameter name specified for argument of type [java.lang.String], and no parameter name information found in class file either.
 org.springframework.web.bind.annotation.support.HandlerMethodInvoker.getRequiredParameterName(HandlerMethodInvoker.java:618)
 org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveRequestParam(HandlerMethodInvoker.java:417)
 org.springframework.web.bind.annotation.support.HandlerMethodInvoker.resolveHandlerArguments(HandlerMethodInvoker.java:277)
 org.springframework.web.bind.annotation.support.HandlerMethodInvoker.invokeHandlerMethod(HandlerMethodInvoker.java:163)
 org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.invokeHandlerMethod(AnnotationMethodHandlerAdapter.java:414)
 org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter.handle(AnnotationMethodHandlerAdapter.java:402)
 org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
 org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
 org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647)
 org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 com.mypackage.security.controller.AuthFilter.doFilter(Unknown Source)
 org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
 org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)

note The full stack trace of the root cause is available in the Apache Tomcat/6.0.18 logs.


Answer

Argument names are stored in the compiled code only when it's compiled in debug mode, so you should either compile it in debug mode or supply @RequestParam with explicit parameter names. The latter approach is more reliable because it doesn't depend on the environment:

@RequestMapping(value = "/security/login", method = RequestMethod.POST)  
public ModelAndView login(@RequestParam("userName") String userName,  
    @RequestParam("password") String password,   
    HttpServletRequest request) {  
    ...................... 


Solution

I have a java class and I need to debug it (put breakpoints and continue using F6). I am using ANT script to init, build, deploy and run the code. I am using:

<javac srcdir="${src.dir}" destdir="${classes.dir}" debug="true" debuglevel="lines,vars,source"> 
 .......... 
 
</javac> 

But when I place the breakpoint in a line in my foo.java class and I run the ant script (the run part,
Right Click on run-->Debug As-->Ant Build), Eclipse does not stop at that line of code.

Posted by 항아리고미
ETC Tip2009. 3. 6. 18:43
crond 데몬 /etc/rec.d/init.d/crond 스크립트에 의해 시작, 종료,재시작될 수 있다

기본 명령의 위치 :/user/bin/crontab

 =>아무곳에서도 실행 가능 함 등록,수정, 보기



사용형식

crontab [ -u 사용자 id] 파일

crontab [-u 사용자 id] { -l | -r | -e}


crontab -l : 예약된 작업리스트

crontab -e : 예약된 작업 수정

crontab -r : 예약된 작업 삭제



crond 실행 확인

=> ps -ef | grep crond



crond 시작

=> /etc/rc.d/init.d/crond start{restart | stop}


일반사용자에게 crontab 명령어 사용하도록 설정 허가

=> /etc/cron.allow 여기에 ID 등록


일반사용자의 crontab 명령어사용을 제한하고자 한다면

=>/etc/cron.deny  에 ID를 등록

즉,

=> /etc/cron.allow : 허용할 사용자 ID 목록
=> /etc/cron.deny  : 거부할 사용자 ID 목록

cron.allow 파일이 있으면 이 파일에 들어있는 ID만 사용 가능
cron.deny  파일이 있으면 이 파일에 들어있는 ID는 사용 불가

따라서 cron.deny에 truefeel ID를 추가해주면 됩니다.



등록 내용 설정

"분,시,일,월,요일, 실행명령" 순으로 설정



crontab 파일 형식
------    --------  ---------------------------------------------------
필  드    의  미    범  위
------    --------  ---------------------------------------------------
첫번째    분        0-59
두번째    시        0-23
세번째    일        0-31
네번째    월        1-12
다섯번째  요일      0-7 (0 또는 7=일요일, 1=월, 2=화,...)
여섯번째  명령어    실행할 명령을 한줄로 쓴다.
------    --------  ---------------------------------------------------

- 한 줄당 하나의 명령 (두줄로 나눠서 표시할 수 없음)
- # 으로 시작하는 줄은 실행하지 않는다 (주석)

 

 

crontab -e 을 하면 vi 에디터가 나온다.(환경변수 EDITOR에 따라 다른 에디터를 사용할 수 있다.)


  $ crontab -e
  # /home 디렉토리를 /BACKUP/home 으로 백업해둠
  # 30분, 새벽 4시와 낮 12시, 모든 일, 모든 월, 모든 요일
  30 4,12 * * *  /usr/bin/rsync -avxH --delete /home /BACKUP/home > /dev/null 2>&1

  # 파일/디렉토리 퍼미션 설정
  # 40분, 새벽 1시, 매주 일요일
  40 1    * * 0  /root/bin/perm_set.sh   > /dev/null 2>&1


  # 20분마다 실행

  */20 * * * * /shell/mrtg


위는 매일 4:30분과 12:30분에 rsync 명령을, 매주 일요일 1:40분에 perm_set.sh를 실행함을 의미한다.

vi 에디터를 통해 설정을 하므로 중요한 몇 가지 에디터 사용법은 익혀야 한다.

----  -----------------------------------------------------------------------------
키    의미
----  -----------------------------------------------------------------------------
i     현재 칸에 글을 넣는다.
o     다음줄에 글을 넣는다.
dd    한줄을 삭제한다.
:wq   저장하고 빠져나온다.
ESC   설정중에 명령어 모드(위의 i, o, dd 등을 사용할 수 있는 상태)로 빠져 나온다.
----  -----------------------------------------------------------------------------


설정 예

시간 설정에서 몇가지 의미있는 것들을 알아보자.

- '*'표시는 해당 필드의 모든 시간을 의미한다.
- 3,5,7 와 같이 콤마(,)로 구분하여 여러 시간대를 지정할 수 있다.
- 2-10와 같이 하이픈(-)으로 시간 범위도 지정할 수 있다.
- 2-10/3와 같이 하이픈(-)으로 시간 범위를 슬래쉬(/)로 시간 간격을 지정할 수 있다.
  (2~10까지 3간격으로. 즉, 3,6,9를 의미함)

=>  > /dev/null  2>&1 이 무슨 뜻입니까?
  지정한 명령어 처리 결과와 발생할지 모르는 에러메시지를 출력하지 않고 모두 버린다는(/dev/null)는
  뜻입니다. 만약 결과와 에러를 파일로 저장하려면 /dev/null 대신 파일명을 적어주면 됩니다.


예)

20  2     *  *  6  명령어 => 매주 토요일 새벽 2:20

0  4-6   *  *  *  명령어 => 매일 오후 4,5,6시

5  */2 *  *  * 명령어 => 매일 2시간간격으로 5분대에

15  1   1  *  *  명령어 => 매월 1일 새벽 1:15

30  0   1  1,7  *  명령어 => 1,7월 1일 새벽 0:30


10 2 * * * /app11/minsang/APP/ldap/run.sh > /app11/minsang/APP/ldap/cron_error.log
55 13 * * * /run.sh > /mail_cron_error.log
0,30 8-19 * * * /sendAdmin.sh > /cron_admin_error.log

출처 : http://program.egloos.com/802690

Posted by 항아리고미
ETC Tip2009. 1. 15. 11:03

1. vi에서 대소문자 변환.
 
대문자에서 소문자로의 변환은 %s/.*/L&/g
소문자에서 대문자로의 변환은 %s/.*/U&/g
 
그외 html의 < 태그안에 있는 문자들의 변환은 %s/<=(w*)/U&/g


2. tab 자동 입력 방지

:set noai
Posted by 항아리고미
ETC Tip2009. 1. 9. 11:00

파일에서 특정문자가 들어간경우 그 문자를 삭제하고 파일을 생성해 내는 방법이다.
 
grep에서 -v 옵션은 해당문자를 삭제하는 옵션이다.
 
Example) MLB.SUB.UPS.20060111 파일에서 ';;'가 들어간 라인을 삭제한 결과는 MLB.SUB.UPS.20060111.DELETED 파일에 저장된다.
grep -v ';;' MLB.SUB.UPS.20060111 > MLB.SUB.UPS.20060111.DELETED
Posted by 항아리고미
ETC Tip2009. 1. 6. 10:59

Generating a Thread Dump with 1.3.x_x JRE/JDK

  1. Use the command # ps -ef | grep jrun to find the JRun server process id:
    [root@linuxbox2 bin]# ps -ef | grep jrun
    root 9291 1 6 14:30 pts/1 00:00:05 ./jrun -start -nohup default
    root 9292 9291 0 14:30 pts/1 00:00:00 ./jrun -start -nohup default
    root 9293 9292 0 14:30 pts/1 00:00:00 ./jrun -start -nohup default
    ....................................................................................................
  2. From the list of returned processes, find the process ID with a parent id of 1 -in this case it is 9291 (the parent process ID is listed in the third column, immediately after the process ID itself)
    ....................................................................................................
  3. Using the java process id, send a kill - 3 signal as follows to cause the JVM to generate the thread dump (the kill -3 will not stop the process):
    [root@linuxbox2 bin]# kill -3 9291
    ....................................................................................................
  4. Look in the dump-out.log for the output of the thread dump
Posted by 항아리고미
ETC Tip2009. 1. 2. 11:00
data1_orabackup.tar  파일의 사이즈가 대용량(2GB)인 경우..
낮은버젼의 gzip 으로는 압축이 안되는 경우가 있다.
 
이럴경우 아래와 같은 방법으로 압축을 한후 파일을 지우면 된다.

cat {압축할파일명} | gzip -9 -c > {압축할파일명}.gz
ex) cat data1_orabackup.tar | gzip -9 -c > data1_orabackup.tar.gz
 
압축을 해제하는 법 :

gzip -c -d {압축된파일명} > {해제될파일명}
ex) gzip -c -d TMLBTM00_200512_1.dmp.gz > TMLBTM00_200512_1.dmp

gzip 옵션설명
-9 : 최대의 압축률로 압축
-c : cat 으로 들어온 내용을 압축.
Posted by 항아리고미
ETC Tip2008. 12. 23. 16:55

Myeclipse 의 기능이 제대로 동작이 되지 않을때는 Eclipse 로그를 먼저 확인한다.
로그는 Eclipse workspace 디렉토리 내에 \.metadata\.log 파일을 확인하면 된다.

아래와 같은 오류가 뜨면,
Myeclipse와 Eclipse 버젼이 맞지 않아서 제대로 동작하지 않는 경우이다.

이때는 Eclipse와 MyEclipse버젼을 확인해서 한쪽을 기준으로 맞는 버젼으로 upgrade할 필요가 있다.

참고로 Eclipse 3.2 -> Eclipse 3.2.X로 upgrade 하고자 할때는

도움말 > 소프트웨어 갱신 > 찾기 및 설치 > 설치할 새 기능에 대해 검색 하여
upgrade하고자 하는 버젼을 선택하고 설치하면 된다.

ex> error sample
---------------------------------------------------------------------------------
!ENTRY org.eclipse.ui 4 0 2008-12-23 15:31:51.708
!MESSAGE Invalid Eclipse Base Version.
!STACK 0
com.genuitec.eclipse.core.GenuitecCoreRTException: Invalid Eclipse Base Version.
 at com.genuitec.eclipse.core.A.훱(Unknown Source)
 at com.genuitec.eclipse.core.A.훲(Unknown Source)
 at com.genuitec.eclipse.core.A.훯(Unknown Source)
 at com.genuitec.eclipse.core.C.훯(Unknown Source)
 at com.genuitec.eclipse.core.C.훯(Unknown Source)
 at com.genuitec.eclipse.core.C.훺(Unknown Source)
 at com.genuitec.eclipse.core.C.<init>(Unknown Source)
 at com.genuitec.eclipse.core.ViperCore.훮(Unknown Source)
 at com.genuitec.eclipse.core.ViperCore.훮(Unknown Source)
 at com.genuitec.eclipse.core.ViperCore.훱(Unknown Source)
 at com.genuitec.eclipse.core.ViperCore.isLicenseValid(Unknown Source)
 at com.genuitec.eclipse.core.vU.훮(Unknown Source)
 at com.genuitec.eclipse.core.vU.A__111164asdfae2342fa(Unknown Source)
 at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
 at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:244)
 at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
 at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:539)
 at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
 at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:441)
 at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
 at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
 at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
 at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
 at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
 at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
 at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
 at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
 at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
 at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
 at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
 at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:324)
 at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
 at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
 at org.eclipse.core.launcher.Main.run(Main.java:977)
 at org.eclipse.core.launcher.Main.main(Main.java:952)

!ENTRY org.eclipse.ui 4 4 2008-12-23 15:32:14.484
!MESSAGE Unhandled event loop exception
---------------------------------------------------------------------------------

Posted by 항아리고미
ETC Tip2008. 12. 15. 16:59

Ftp 로 SUN System에 접속을 하면 목록이 안보일 때가 있다.

그럴때는 /etc/rc2.d/S72inetsvc에 아래와 같은 것을 추가 해주고 Restart하면 된다.

# vi /etc/rc2.d/S72inetsvc

LANG=C;export LANG  <===  추가

* Restart 방법
# /etc/rc2.d/S72inetsvc stop
# /etc/rc2.d/S72inetsvc start

Posted by 항아리고미