본문 바로가기

전체 글121

CentOS 7.9 dmesg 시간 출력 에러 내용 message로그에서 디스크가 죽은(☠) 시간 확인이 가능하지만 dmesg에서 시간이 나오는 방법을 찾아보기로 했다.[root@localhost log]# dmesg ...생략[95876422.622650] megaraid_sas 0000:0b:00.0: megasas_disable_intr_fusion is called outbound_intr_mask:0x40000009 [95876422.622684] megaraid_sas 0000:0b:00.0: FW in FAULT state Fault code:0x10000 subcode:0x0 func:megasas_wait_for_outstanding_fusion [95876422.622784] megaraid_sas 0000:0b:00.0: r.. 2024. 5. 24.
2024.03.27 나에게 버섯등이 생겼다! A. 100개 중 99개가 맞고 1개가 틀린 데이터 B. 100개 중 50개가 맞고 50개가 틀린 데이터 C. 100개 중 49개가 맞고 51개가 틀린 데이터 D. 100개 중 1개가 맞고 99개가 틀린 데이터 A나 D나 똑같다. 틀린 데이터가 들어간 신뢰도가 깨진 데이터는 좋은 데이터가 될 수 없다.(고 생각한다) 2024. 3. 27.
2024.03.18 wsl + mariadb + spring boot 미니 프로젝트를 진행 중. DB 최대 연결 수를 10개로 셋팅했는데 spring boot 실행 시 에러 발생 'error: 1040-hy000: too many connections' DB 최대 연결 수를 100개로 변경 후 해결. set global max_connections=100; vi my.cnf 수정 max_connections = 100 spring boot에는 따로 DB 연결에 대한 max를 설정하지 않았는데, default가 10개인가보다! 오늘 공부하면서 느낀 어? 싶었던 일 🤨😮 참고 : https://velog.io/@korea3611/Spring-Boot-%EC%99%9C-default-DBCP%EB%8A%94-10%EA%B0%9C.. 2024. 3. 19.
[Windows11] wsl2 + ubuntu 22.04 LTS 초기 기본 설정 내용 > sudo apt update > sudo apt upgrade > apt install net-tools > sudo apt remove openssh-server > sudo apt install openssh-server > vi /etc/ssh/sshd_config PasswordAuthentication yes PermitRootLogin yes > vi /etc/wsl.conf [boot] systemd=true > vi /etc/profile HISTTIMEFORMAT="%Y-%m-%d_%H:%M:%S " export HISTTIMEFORMAT > cd ~ > vi .bashrc 55라인 수정 (수정 전 내용 : PS1='${debian_chroot:+($debian_chroot)}\.. 2024. 3. 14.
[Windows11] wsl2 + ubuntu 22.04 LTS 설치 중 에러 - WslRegisterDistribution failed with error: 0x800701bc 에러 내용 Installing, this may take a few minutes... WslRegisterDistribution failed with error: 0x800701bc Error: 0x800701bc WSL 2? ?? ?? ?? ????? ?????. ??? ??? https://aka.ms/wsl2kernel? ??????. Press any key to continue... 해결법 WSL2 Linux Kernel Update 를 설치 다운로드 링크: https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi 시행착오 1) 오랜시간 동안 윈도우10을 고집했다가 wsl 설치 하루 전에 윈도우11로 업그레이드 했는데.... 2024. 3. 14.