yum 혹은 rpm 관련 명령 실행시 발생함 (centos7 64bit 에서 자주 목격하였음) 에러 메세지 내용 BDB2053 Freeing read locks for locker 0x1d6: 14243/140615845144384 세그멘테이션 오류google 상에 검색하여 모든 명령어를 해봤지만 rpmdb --rebuilddb yum clean all 해결되지 않음 syslog message yum\[11672\]: segfault at 7fff34adc9c5 ip 00007fa64490c00c sp 00007fff348bc1a0 error 4 in libsqlite3.so.0.8.6\[7fa64487a000+b1000\] libsqlite3.so.0.8.6 파일이 이상한가? 어떤파일인가? # find..
remi 사이트 https://blog.remirepo.net/원문 https://blog.remirepo.net/post/2019/09/24/CentOS-8-repositoryepel 저장소 설치 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm or dnf install epel-release설치 dnf install https://rpms.remirepo.net/enterprise/remi-release-8.rpm dnf module install php:remi-7.4 dnf install php php-common 필요한거 있음 php-mysqlnd 이런식으로 해서 추가 하면 됨 딴 버전 설치 (마..
ssl 인증서 갱신이 안되어 https 접근시 에러 발생 Recipe: letsencrypt::http_authorization * letsencrypt_certificate[도메인] action create * acme_certificate[staging] action create * file[도메인 SSL key] action create_if_missing (up to date) ================================================================================ Error executing action `create` on resource 'acme_certificate[staging]' ====================..

홈페이지 https://www.zabbix.com/다운로드 https://www.zabbix.com/download4.0 LTS (centos7 with mariadb) # rpm -Uvh https://repo.zabbix.com/zabbix/4.0/rhel/7/x86_64/zabbix-release-4.0-2.el7.noarch.rpm # yum clean all # yum -y install zabbix-server-mysql zabbix-web-mysql zabbix-agent # yum install mariadb-server # service mariadb start zabbix DB 생성 # mysql -uroot -p 패스워드 mysql> create database zabbix chara..
database 정보 다운로드 받기 (bin 이 아닌 csv 타입) wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City-CSV.zip csv 로 다운받아야 사람이 아이피 읽을수 있음 압축풀기 unzip GeoLite2-City-CSV.zip파일 목록 -rw-r--r-- 1 root root 55 11월 20 04:17 COPYRIGHT.txt -rw-r--r-- 1 root root 192599767 11월 20 04:17 GeoLite2-City-Blocks-IPv4.csv -rw-r--r-- 1 root root 29386490 11월 20 04:17 GeoLite2-City-Blocks-IPv6.csv -rw-r--r-- 1..
clamav with centos6 atomic repo 설치 wget -q -O - http://www.atomicorp.com/installers/atomic | shclamav, clamd 설치 yum install clamav clamd clamd 는 clamav 를 데몬형식으로 띄워서 사용 가능하게 하는 패키지 clamdscan 은 clamscan 보다 속도가 빠름 clamd 가 메모리 상주형이며 500M ~ 1G 정도 메모리 필요 /etc/clamd.conf #Example PidFile /var/run/clamd.pid LocalSocket /tmp/clamd.socket/etc/freshclam.conf #Examplefreshclam (업데이트) /etc/cron.daily/freshcl..
cat /var/log/messgaes Oct 24 17:16:52 ip-172-31-35-71 named[23893]: client @0x7fb1580c6370 101.xx.xx.159#40860 (PEACECORPS.GOV): query (cache) 'PEACECORPS.GOV/ANY/IN' denied 정상적인 질의로는 보이지 않음 (PEACECORPS.GOV) 는 관련없는 도메인임 기본적으로 /etc/named.conf 에 리커즌은 노로 무조건 /etc/named.conf recursion no; logging { channel default_debug { file "/var/log/queries"; severity dynamic; };불법 접근 아이피 수집 /root/depend..
centos7 /tmp 디렉토리에 존재하는 파일 clamav scan 에 대한 에러 파일 권한 [root@ip-172-31-46-175 tmp]# ll /tmp/green.exe -rw------- 1 root root 573440 10월 23 16:31 /tmp/green.exe green.exe 는 악성코드 파일 발생 에러 [root@ip-172-31-46-175 tmp]# /bin/clamdscan /tmp/green.exe /tmp/green.exe: lstat() failed: No such file or directory. ERROR조치사항 [root@ip-172-31-46-175 tmp]# /bin/clamdscan --fdpass /tmp/green.exe /tmp/green.exe: Wi..
centos6.10 에서 php 5.3.3 과 mysql connect시 발생하는 문제점 헤더와 클라이언트 버전이 다르다는 소리인데 php -i | grep 'Client API' Client API version => 5.3.12-MariaDB Client API library version => 5.3.12-MariaDB Client API header version => 5.1.73 Client API version => 5.3.12-MariaDB Client API 의 라이브러리 버전과 헤더 버전이 달라서 발생하는 문제 기존 centos6.4 에서 php 5.2 이용시에는 php-mysqlnd-5.3.27-3.el6.x86_64 5.3 버전에는 mysqlnd 를 찾을수 없음 php-..
- Total
- Today
- Yesterday
- mariadb
- centOS7
- GeoIP
- WAF
- galera
- glusterfs
- HAProxy
- Apache
- softether
- 인증서
- MySQL
- ntp
- virtualbox
- OpenVPN
- IPSEC
- pptp
- yum
- php
- 베이어다이나믹
- L2TP
- iptables
- NGINX
- ssh
- kvm
- cURL
- gitlab
- centos8
- SSL
- 리눅스
- mod_security
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |