Tag Archives: 에러

구글 drive api 사용기

구글 drive api 사용기 python 구글 drive api 홈페이지 : https://developers.google.com/drive/ 죄측 메뉴 Quickstart > python : https://developers.google.com/drive/quickstart-python 비디오 https://developers.google.com/drive/quickstart-python#optional_view_a_quickstart_video 1단계 : Enable the Drive API 1. Create an API project in the Google APIs Console. 2. Select the Services … Continue reading

Posted in Python/Ruby/Perl, Util/Tools | Tagged , , , , , , | Leave a comment

redmine 실행시 에러( warning: Insecure world writable dir /path in PATH, mode 040777 )

  redmine 구동을 위해 ctlscript.sh start 시 mysql 이 뜨면서 아래와 같은 에러 발생. warning: Insecure world writable dir /path in PATH, mode 040777 /path에 권한 변경 ]# chmod go-w /path 그리고 방화벽 허용 ]# iptables -F ]# iptables -A … Continue reading

Posted in SCM/ITS | Tagged , , , | Leave a comment

톰캣 힙 메모리 조정하기(java.lang.OutOfMemoryError: Java heap space)

  톰캣서버의 로그에서 아래와 같은 에러가 발생하면.. 톰켓의 힙 메모리가 부족해서 발생하는 에러다. java.lang.OutOfMemoryError: Java heap space 톰캣 실행 파일 catalina.sh(Linux) catalina.bat(Windows) 파일 내에 해당 내용을 입력한다. set JAVA_OPTS=-server -Xms1024m -Xmx1024m  

Posted in WEB/WAS | Tagged , , , | Leave a comment

svn https 접속 안됨(Failed to load JavaHL Library)

  Failed to load JavaHL Library. 에러 발생. javahl 설치 yum install subversion-javahl 설치된 위치 확인 find /usr/lib -name *javahl* eclipse.ini에 library path 추가 -vmargs -Djava.library.path=/usr/lib window > preferrences > team > svn 의 svn interface 의 client 가 javaHL(JNI) … Continue reading

Posted in SCM/ITS, Util/Tools | Tagged , , , , , , | 1 Comment

PuTTY Connection Manager 에러..

  PuTTY Connection Manager 를 사용하다보면 아래와 같이 에러가 발생하는 경우가 있었다.. RUNTIME ERROR : Unknown exception occured Error : Object reference not set to an instance of an object. StackTrace : at x650e12b2512cbeed.x7fbe3d3b15648174.x765e6a19136b68b9() 도데체가 뭔문제인가 좀 고생을 해서 알아낸건.. … Continue reading

Posted in Util/Tools | Tagged , | Leave a comment

Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost.

  mysql 접속시에 자꾸 아래와 같은 에러가 나서.. Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. context.xml의 설정을 아래와 같이 바꿔주니 해결된듯하다. <Resource auth=”Container” driverClassName=”com.mysql.jdbc.Driver” url=”jdbc:mysql://xxx.xxx.xxx.xxx:3306/dbname?characterEncoding=utf-8&amp;interactiveClient=true&amp;autoReconnect=true&amp;autoReconnectForPools=true&amp;useUnicode=true&amp;characterSetResults=UTF-8″ type=”javax.sql.DataSource” name=”jdbc/xxxxx” username=”userid” … Continue reading

Posted in Database, Java/JSP | Tagged , , , , | Leave a comment

DBCP + JDBC(MySQL) 사용시 간혹 뜨는 Could not open JDBC Connection for transaction

  DBCP(Database Connection Pool)을 사용하다 보면 가끔씩 만나게 되는 에러가 있다. 내 추측에는 DBCP의 특성상 많은 수의 커넥션을 미리 맺어 놓고, 어플리케이션이 풀에서 커넥션을 빌려다 사용하고 환원하는 식인데, 맺어놓은 커넥션을 MySQL의 커넥터가 끊어버리는듯 하다. 그래서 풀에 정상적으로 요청을 하였지만 그것이 … Continue reading

Posted in Database, Java/JSP | Tagged , , , | Leave a comment

java.sql.SQLException Io exception: Connection reset

  Connection reset은 DB 서버측에서 커넥션이 종료되었으나 WAS는 그것을 알아차리지 못할때 발생합니다. TOMCAT의 경우 , evicator라는 것이 있어 정기적으로 비정상종료된 커넥션을 없애주는 옵션이 있습니다. 아래 스크립트를 참고하세요 – validationQuery=”SELECT 1 FROM DUAL” – testWhileIdle=”true” – timeBetweenEvictionRunsMillis=”3000″ <Resource name=”WmsPool” auth=”Container” type=”javax.sql.DataSource” … Continue reading

Posted in Database, Java/JSP, WEB/WAS | Tagged , , , , | Leave a comment

apache2 configure: error: Cannot use an external APR-util with the bundled APR

  httpd2.0  configure 시에 아래와 같은 에러가 나면 configure: error: Cannot use an external APR-util with the bundled APR configure 에 –with-included-apr  이 옵션을 집어 넣어 APR 위치를 강제 지정함 좋은 방법같진 않으나 잘돌아가네요 ㅡㅡ;; ./configure –prefix=/data/apache2 –with-included-apr  

Posted in WEB/WAS | Tagged , , , | Leave a comment

Sendmail 에러 코드 표

  R.Code S.Code Explain Comment 553 5.1.3 Syntax illegal for recipient addresses Special case error msg. User Address required @speedup.amail.co.kr Hostname required Speedupamail.co.kr@ Colon illegal in host name part Speedup@amail:co.kr Invalid route address Speedup@amail@amail.co.kr Invalid route address Speedup@amail~co.kr 5.1.2 Invalid … Continue reading

Posted in System | Tagged , , | Leave a comment