Linux 488

cacti upgrade for ubuntu 20.04 LTS

기존 서버에 있는 데이터 백업 자신의 cacti 버전이 낮은 버전이고 mysql 버전도 낮으면 ubuntu 18.04 나 16.04 로 설치를 권장한다. #!/bin/sh curtime=`date +%Y_%m%d_%H` curdate=`date +%Y_%m%d` export_curdate=`date +%Y-%b-%d` prevdate=`date --date "14 days ago" +%Y_%m%d` export_prevdate=`date --date "1 days ago" +%Y-%b-%d` expiredate=`date --date "120 days ago" +%Y_%m%d` # mysql backup mysqldump -u cactiuser -p 암호 cacti|gzip > /data/home/bac..

Linux 2021.10.14

Controller ID: 0 Reminder: Potential non-optimal configuration due, PD commissioned as Emergency Spare

Controller ID: 0 Reminder: Potential non-optimal configuration due, PD commissioned as Emergency Spare Port 0 - 3:0:1 라는 에러 메세지가 뜬다. 찾아보니깐 기능상에 문제 없다라는 내용이다. 저 에러가 거슬리면 알람 설정을 해제 해주자. change individual events 선택 406 항목 System log 체크해제 https://www.ibm.com/support/pages/serveraid-event-potential-non-optimal-configuration-due-drive-pd-x-commissioned-emergency-spare-ibm-system-x 참고사이트

Linux 2021.09.16

리눅스 환경에서 특정 명령어 사용시 재부팅 증상

위와 같이 특정 명령어 사용시 재부팅이 발생한다. 혹시 몰라 SSD, HDD 모두 변경해봤지만 개선이 없어다. 혹시나 해서 메모리 4개 장착된 메모리를 테스트 진행, 모든 메모리를 제거 후 하나씩 꼽아보면서 테스트 진행 마지막 메모리 테스트 하는데 재부팅 발생!! 정말 메모리 불량인지 확인해보자. 인터넷으로 검색해보면 Goldmemory 라는 프로그램이 있다. 이 프로그램으로 구동해보자 프로그램으로 구동을 해봤는데 역시나 메모리 에러가 출력이 된다. 메모리 불량 확정!!

Linux 2021.09.13

SELinux is preventing /usr/bin/bash from using the dac_override capability

SELinux is preventing /usr/bin/bash from using the dac_override capability 위와 같이 에러가 뜬다면 에러와 같이 뜬 내용을 확인해보면 된다. # journalctl -xe SELinux is preventing /usr/bin/bash from using the dac_override capability. ***** Plugin dac_override (91.4 confidence) suggests ********************** If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system..

Linux 2021.08.20

centos 8 subversion 1.7.x install

혹시나 해서 나같이 삽질 하는 사람이 없길 바람에 적는다.. centos 8 버전에서 subversion 1.7.x 를 설치를 하려고 삽질을 했다. 결론 부터 말하자만 설치 불가!! # cat /etc/*-release CentOS Linux release 8.3.2011 NAME="CentOS Linux" VERSION="8" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="8" PLATFORM_ID="platform:el8" PRETTY_NAME="CentOS Linux 8" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:8" HOME_URL="https://bugs.centos.org/" CENTOS_MANTISBT_PROJ..

Linux 2021.08.11
728x90
반응형