전체 글
-
[Python]ffmpeg: FileNotFoundError: [WinError 2] 지정된 파일을 찾을 수 없습니다.프로그래밍/파이썬 2022. 9. 7. 17:22
1. 상황 : ffmpeg라는 파이썬 모듈을 알게되고, 동영상을 자르거나 인코딩, 효과등을 넣을 수 있는 라이브러리이다. 정도만 듣고 python -m pip install ffmpeg-python 이라는 명령어로 설치했다. 구글신에게 레퍼런스들을 검색하고, 많은 선배님들의 블로그를 읽어보았지만 처음부터 오류로 막히는게 아닌가. 상대경로, 절대경로 다 넣어보고 난리 부르스를 췄지만 찾을 수 없었다. 문제는 ffmpeg.run(stream) 부분을 실행할때만 오류가 난다는 것이었다. 꽤 삽질을 열심히 했지만 결국 해결했다. 2. 해결 오류 내역을 자세히 살펴보니 낯익은 파일이름이 눈에 보였다. subprocess.py 예전에 저걸 사용해 본 기억이 난다. 파이썬에서 자바를 실행할때, 리눅스 환경에서 리눅스..
-
[Logstash] Java::CompMicrosoftSqlserverJdbc::SQLServerException: The Driver could not establish a secure connection to SQL server by using Secure Sockets Layer (SSL) encryptionDB/기타 2022. 9. 5. 18:19
1. 상황 Logstash를 6버전에서 7버전으로 올리면서 JDK 버전이 바뀌었는데, 기존 사용하던 부분에서 여러 문제가 발생하였다. 그중 하나이다. DB에 연결하는 jdbc 모듈에서 에러가 났다. 2. 해결 https://nakanara.tistory.com/277 [Java] The server selected protocol version TLS10 is not accepted by client preferences [TLS13, TLS12] 개발 시점에 서버에 Java 설치 후 JDBC Driver를 사용하여 데이터베이스에 연결하고 있었는데 어느 정도 시점이 지난 후에 다른 서버에 yum으로 새로 설치하고 테스트하였을 때 DB 연결 부문에서 오류 nakanara.tistory.com 여러군데 돌아..
-
[JAVA] Class has been compiled by a more recent version of the Java Environment (class file version 55.0)프로그래밍/Java 2022. 9. 5. 17:38
1. 상황 JDBC 파일을 다운받았다. mssql-jdbc-11.2.0.jre11.jar 파일이었는데, JRE11에서 알수 있듯 자바 11버전 JDBC이다. java -cp 로 실행해보니 저런 메세지가 튀어나왔다. 도대체 저건 무슨 의미일까? 찾아보니 저 뒤의 class file version 55.0 이라는 의미는 https://stackoverflow.com/questions/47457105/class-has-been-compiled-by-a-more-recent-version-of-the-java-environment Class has been compiled by a more recent version of the Java Environment While running Selenium script..
-
[MySQL/MariaDB] 1045 28000 Access denied for user 'xxx@192.168.1.xxx' (using password: YES)DB 2022. 9. 5. 16:37
1. 상황 : 접속정보를 받아서 접속하려고 했더니 이렇게 떴다. 방화벽 : telnet을 해보니 잘 연결되었다. 외부서버라서 내가 어떻게 할수 없다. 단지 제공받은 정보가지고 로그인 시도만 가능하다. 2. 나의 생각 ID/PW 가 잘못되었을까? -> 검색을 해보았더니 ID/PW가 틀려도 저렇게 나온다고 했다. Connector 버전이 잘못되었나?(JDBC) -> JDBC 버전에 따른 Connection String이나 연결 방식이 다르다고 한다. Conncetion String에 문제가 있나? - 버전에 따른 차이가 있나? 3. 연결 시도 처음으로 버전에 따른 Connection String을 달리 시도해보기 시작했다. 기존 사용하던 JDBC Connection String이 jdbc:mariadb://..
-
[Logstash]Unrecognized VM option 'UseParNewGC' 에러DB/ElasticSearch 2022. 8. 31. 11:11
1. 문제 : Logstash 버전을 6버전에 7버전으로 업그레이드하면서 기존에 사용하던 Logstash conf파일을 그대로 사용했다. 그 외 각 각 개별로 정해놓은 options 파일도 그대로 사용했는데, 어느날 이 오류가 났는데 해결하는데 애를 먹었다. https://www.elastic.co/kr/support/matrix#matrix_jvm 지원 매트릭스 *Endgame 센서 3.51-3.54의 경우, 32비트 및 64비트 아키텍처가 지원되고, 3.54 이후의 버전에서는 64비트 아키텍처만 지원됩니다(아래에서 언급된 대로 Windows 7 SP1은 제외). **모든 센서 버전 Windows 7 SP1의 www.elastic.co 2. 해결 : Logstash 6.0.0 버전은 JDK 1.8버전만..
-
[랜섬웨어] 알약 2022.08.30 11:30 업데이트 버전문제해결 2022. 8. 30. 21:02
https://www.estsecurity.com/public/product/alyac 이스트시큐리티 | 알약 1,200만 명이 선택한 대한민국 국민백신 알약 공식 사이트. www.estsecurity.com 집에서 일하는데 갑자기 랜섬웨어를 탐지했고 조치했다는 알림이 떴다. 잘 조치했나보다 하고 신고를 누르고 일 마무리 하는데 컴퓨터가 미친듯이 느려져서 재부팅 해야지 했는데, 뭔가 싸한게... 진짜 랜섬웨어인가 생각이 들었다. 약간 멘붕이었는데.. ctrl + ALT + DELETE도 안먹히고 강제 재부팅을 한 다음에 랜섬웨어 조치 사항을 찾아보기 시작했다. 그러다가 혹시 랜섬웨어가 걸리면 알약에서는 어떤 조치를 취해야 하는지 홈페이지를 가보았더니 웬걸.. 전국적인 현상이었다. 근데 결국 저 프로세스로..
-
[전자담배] 나는 전자담배맨이다.이야기/정보 2022. 8. 25. 00:08
나는 전자담배 맨이다. 나는 여러 단계를 거쳐 진화되었는데 단계는 다음과 같다. 1. 아이코스1 2. 릴(아빠한테 선물로 줌) 3. 쥴 4. 글로(한달인가 세달인가 체험함) 5. 아이코스2 6. 칼리번 7. 아스파이어 8. JUSTFOG P16A 9. 하복 정확히 언제부터 아이코스를 폈는지는 기억이 나지 않는다. 한.. 3,4년 전인 것 같다. 내 첫 취업의 목표가 밥값, 담뱃값, 숙박비만 벌자 였기 때문이었고, 집에서 담배 피는 것이 필때는 좋지만, 잘때 힘들다는 것을 깨달은 뒤였다. 연초를 피면서 냄새난다고 여자친구한테 까이고, 집에서도 까이고(가끔 고향 내려갔을 때) 힘든 시간을 보내고 있을 무렵, 울산, 부산에서는 팔지도 않는 아이코스 기계가 내가 외근 나갔던 곳 근처의 편의점에 팔고 있는 것이었..