본문 바로가기

에러4

elastic search - failed to authenticate user [elastic] elastic search - failed to authenticate user [elastic] elasticsearch 7.6 버전을 잘 설치하고 기동했다. 특별히 문제가 없어보였는데, 호출시 인증 관련 에러가 발생했다. 1. 호출 curl -X GET --user elastic:tmvprxmfk1! "http://localhost:9200/_template/attic_template" Enter host password for user 'elastic': 2. 에러 발생 { "error": { "root_cause": [ { "type": "security_exception", "reason": "failed to authenticate user [elastic]", "header": { "WWW-.. 2022. 6. 15.
Spring boot - Failed to determine a suitable driver class Spring boot - Failed to determine a suitable driver class 1. 에러 내용 : 2022-05-20 14:31:06.670 DEBUG 270240 --- [ restartedMain] o.s.b.d.LoggingFailureAnalysisReporter :Application failed to start due to an exception org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException : Failed to determine a suitable driver class -------중략------ ************************.. 2022. 5. 20.
Mysql Unable to load authentication plugin 'caching_sha2_password'. Mysql Unable to load authentication plugin 'caching_sha2_password'. mysql 8.0을 설치하고 root 계정으로 접속시에 위와같은 에러가 발생한다. mysql 8.0의 기본 인증 플로그인은 "caching_sha2_password"이다. 이를 사용하려면 SSL 보안연결이나 RSA 보안을 적용한 비암호 연결을 사용해야 한다는것이고, 그래서 에러가 발생하는것이다. [해결방법] "caching_sha2_password" -> "mysql_native_password " 으로 암호 인증 방식을 변경하면된다. 즉, 기존에 흔히 알고있는 비밀번호 입력 방식 으로 변경 해서 사용하면 된다. 1. Mysql server 설치 폴더로 이동 C:\Program Fil.. 2022. 5. 13.
ora-01940 현재 접속되어 있는 사용자는 삭제할 수 없습니다 ora-01940 : 현재 접속되어 있는 사용자는 삭제할 수 없습니다 계정 삭제를 위해서 drop user 명령어를 수행했다. 그런데 삭제 할수 없다고 아래와 같은 에러가 발생한다. ora-01940 : cannot drop a user that is currently connected. ora-01940 : 현재 접속되어 있는 사용자는 삭제할 수 없습니다. 오라클 계정을 삭제하려는데 위와같은 에러만 나오면서, 삭제가 안될때가 있다. 세션을 조회 한다. select sid, serial#, username,status from v$session where username = 'SITEADMIN_DEV'; 6개나 조회 되는걸 보니, 어디선가 접속중인것으로 보인다. ( 삭제여부는 당연히 충분히 검토 했으리라.. 2021. 10. 29.