[SYSTEMD] systemd + logrotate 환경에서 “Read-only file system” 에러

2026-02-03 KENNETH 0

OS : RockyLinux9 문제 개요 1. 특정 위치의 logrotation 이 진행되지 않음 원인 : “Read-only file system” 에러를 동반 messages log logrotate[2848371]: error: failed to rename /usr/local/httpd2/logs/test.com-access_log to /usr/local/httpd2/logs/test.com-access_log-20260202: Read-only file system logrotate[2848371]: error: failed to rename /usr/local/httpd2/logs/test.com-error_log to /usr/local/httpd2/logs/test.com-error_log-20260202: Read-only file system logrotate[2848371]: error: error opening /usr/local/php/var/log/php-fpm.log: Read-only file system logrotate[2848371]: error: error opening /usr/local/php/var/log/slow.log: Read-only file system 2. 업데이트 기록 로그 : /var/log/dnf.log /var/log/dnf.log.4:2025-12-07T20:04:21+0900 DEBUG —> Package logrotate.x86_64 3.18.0-9.el9 will be upgraded /var/log/dnf.log.4:2025-12-07T20:04:21+0900 DEBUG —> Package logrotate.x86_64 3.18.0-12.el9 will be an upgrade /var/log/dnf.log.4:2025-12-07T20:04:21+0900 DEBUG —> Package systemd.x86_64 252-51.el9_6.3.rocky.0.1 will be upgraded /var/log/dnf.log.4:2025-12-07T20:04:21+0900 DEBUG —> Package systemd.x86_64 252-55.el9_7.7.rocky.0.1 will be an upgrade 3. 로그파일 현황 -rw-r–r– 1 root root  1682882 Dec  5 23:49 access_log-20251206 -rw-r–r– 1 root root  1904115 Dec  6 23:54 access_log-20251207 -rw-r–r– 1 root root 54981516 Feb  2 21:08 access_log 업데이트가 이루어진 2025.12.07 부터 logrotation 이 수행되지 [ more… ]

[OpenClaw] OpenClaw + Google gemini + Telegram 연동

2026-02-02 KENNETH 0

설치 준비 계정생성 useradd donald su – donald EACCESS 권한 오류를 피하기 위한 환경 설정 sudo 권한 없이 전역 패키지 설치(-g 옵션)가 필요한 경우 cd ~ mkdir -p ~/.npm-global npm config set prefix ~/.npm-global echo ‘export PATH=~/.npm-global/bin:$PATH’ >> ~/.bashrc source ~/.bashrc 로컬 형태로 설치 및 운영 하면서 npx 를 사용하는 경우에는 굳이 필요가 없다는 생각 경로 구성 cd ~ mkdir openclaw cd openclaw npm init -y 설치 1. OpenClaw 설치 (LLM 없이) 로컬 LLM빌드를 거치지 않고 API모드를 위한 가벼운 설치 1. 1 로컬 설치 (추천) NODE_LLAMA_CPP_SKIP_DOWNLOAD=true npm install openclaw@latest 1.2 전역 설치 NODE_LLAMA_CPP_SKIP_DOWNLOAD=true npm install -g openclaw@latest 2. openclaw 설치 방식에 따른 명령어 차이점 2.1 로컬 설치시 npx openclaw doctor openclaw 실행을 위하여 npx 명령어 필요 2.2 전역 설치시 openclaw doctor openclaw 명령어가 리눅스 시스템 자체에 (/usr/ 와 같은 위치) 설치되므로 바로 어디서나 실행 가능 3. 명령어 실행 시 참고 [ more… ]

[MongDB] 인덱스의 expireAfterSeconds 활용으로 collection의 데이터 정리

2025-12-26 KENNETH 0

MongoDB 설정 확인 TTL 모니터 활성화 상태 확인 > db.adminCommand({getParameter: 1, ttlMonitorEnabled: 1}); { “ttlMonitorEnabled” : true, “ok” : 1 } false인 경우 활성화 설정 필요 db.adminCommand({setParameter: 1, ttlMonitorEnabled: true}); DB현황 확인 > show dbs admin            0.000GB monitor     0.948GB local            0.000GB jiraknet        24.964GB > show dbs jiraknet        24.964GB > use jiraknet switched to db jiraknet > db.stats() { “db” : “jiraknet”, “collections” : 6, “views” : 0, “objects” : 56691366, “avgObjSize” : 1156.0611780636932, “dataSize” : 65538687364, “storageSize” : 22406041600, “numExtents” : 0, “indexes” : 22, “indexSize” : 4399296512, “ok” : 1 } db.getCollectionNames() [ “coll_a”, “coll_b”, “coll_c”, “coll_d”, “coll_e”, “coll_f” ] collect의 사용량 확인 명령어는 mongdb 콘솔에서 바로 붙여넣기 가능 var collections = db.getCollectionNames(); var stats = []; collections.forEach(function (n) { var s [ more… ]

[PHP] openssl and TLS versions by PHP version

2025-07-10 KENNETH 0

PHP 버전별 OpenSSL / TLS 지원   1. PHP 버전별 지원 현황 PHP Support OpenSSL Support TLS 5.2.x OpenSSL 0.9.6 이상 TLS 1.0 까지만 (TLS 1.1/1.2 불가) 5.3.x OpenSSL 0.9.8 이상 TLS 1.0 (패치로 TLS 1.1 일부 지원 가능) 5.4.x OpenSSL 0.9.8 이상 TLS 1.0 / 1.1 (불안정) 5.5.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 5.6.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.0.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.1.x OpenSSL 1.0.1 이상 TLS 1.0 / 1.1 / 1.2 7.2.x OpenSSL 1.0.2 이상 TLS 1.0 / 1.1 / 1.2 7.3.x OpenSSL 1.0.2 / 1.1.1 TLS 1.0 / 1.1 / 1.2 / (1.3 일부 지원) 7.4.x OpenSSL 1.1.1 필수 TLS 1.0~1.3 모두 지원 8.0.x OpenSSL 1.1.1 또는 3.0 TLS 1.0~1.3 모두 지원 8.1.x+ OpenSSL 1.1.1 / 3.0 TLS 1.0~1.3 (1.0/1.1 비활성 가능) [ more… ]

[chrome] 업데이트를 확인하는 동안 오류가 발생했습니다. 9(오류 코드: 0).

2024-09-19 KENNETH 0

개요 Mac에서 구글 크롬 설치 후 업데이트를 시도할 때 오류 발생     에러 로그 로그파일 : /Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/updater.log [3226:259:0919/005741.113215:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –install –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2 [3226:259:0919/005741.114284:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 2881 [3228:259:0919/005741.130649:VERBOSE1:updater.cc(331)] Version: 129.0.6651.0, opt, 64 bits, command line: /Applications/Google Chrome.app/Contents/Frameworks/Google Chrome Framework.framework/Versions/129.0.6668.59/Helpers/GoogleUpdater.app/Contents/MacOS/GoogleUpdater –crash-handler –database=/Users/Your_Account_Name/Library/Application Support/Google/GoogleUpdater/129.0.6651.0/Crashpad –url=https://clients2.google.com/cr/report –annotation=prod=Update4 –annotation=ver=129.0.6651.0 –handshake-fd=5 –enable-logging –vmodule=*/components/update_client/*=2,*/chrome/updater/*=2 [3228:259:0919/005741.131483:VERBOSE1:updater.cc(333)] OS version: 15.0.0, System uptime (seconds): 1933, parent pid: 1 [3226:259:0919/005741.135794:VERBOSE1:crash_reporter.cc(121)] Crash handler launched and ready. [3226:259:0919/005741.136759:VERBOSE1:crash_client.cc(106)] Found 0 completed crash reports [3226:259:0919/005741.136872:VERBOSE1:crash_client.cc(124)] Found 0 pending crash reports [3226:259:0919/005741.137786:VERBOSE1:updater.cc(101)] Crash reporting initialized. [3226:259:0919/005741.140023:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.140056:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.140940:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists. [3226:259:0919/005741.140970:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected [3226:259:0919/005741.141018:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.141034:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.141161:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to UpdateService remote. No updater exists. [3226:259:0919/005741.141238:VERBOSE1:update_service_proxy_posix.cc(395)] OnConnected [3226:259:0919/005741.141259:VERBOSE1:update_service_proxy_posix.cc(230)] GetVersion [3226:259:0919/005741.141272:VERBOSE1:update_service_proxy_posix.cc(435)] EnsureConnecting [3226:12291:0919/005741.141369:VERBOSE1:update_service_proxy_posix.cc(202)] Failed to connect to [ more… ]