반응형

Linux 6

[Linux] 실시간 Catalina Log 확인

Catalina Log tail -f catalina.out - 리눅스 환경에서 tomcat 실시간 로그를 확인할 수 있습니다. - catalina 파일은 보통 logs 디렉터리에 위치합니다. - 실시간 에러 메세지 확인에 용이합니다. tail -2000f catalina.out - '-f' 사이에 라인 수를 입력하면 해당 수 만큼의 라인까지 볼 수 있습니다. tail -f catalina.out | grep -i 'exception,error' - grep을 이용해 원하는 옵션으로 검색되도록 할 수 있습니다. - exception이나 error가 걸리는 부분만 로그가 뜨게 됩니다. grep [클래스 명] catalina.* - catalina의 모든 파일 중 schedulerun이 실행되는 모든 로그를..

Linux 2023.02.02

putty 접속 에러 (No supported authentication methods available)

private key를 이용하여 putty 접속 시도 시 위와 같은 에러(No supported authentication methods available)가 발생 puttygen으로 변환 후 pem파일을 key로 넣어 주었는데도 발생한다. 해결 방법은 다음과 같다 puttygen에서 key > Parameters for saving key files 클릭 PPK file version을 2로 선택 후 확인 이후 private key로 다시 변환하면 접속이 된다. https://superuser.com/questions/1647896/putty-key-format-too-new-when-using-ppk-file-for-putty-ssh-key-authentication "PuTTY key format ..

Linux 2022.07.11
반응형