반응형
아파치 재시작 시 AH00023 오류 날 때 명령어 command
1.
ipcs -s | tail -n +4 | head -n -1 | tr -s ' ' | cut -d' ' -f3 | sort | uniq -c | sort -nr
2.
ipcs -s | tail -n +4 | head -n -1 | tr -s ' ' | cut -d' ' -f2,3 | while read -r id owner; do [[ $owner == "apache" ]] && ipcrm -s "$id"; done
반응형
'Linux 리눅스 CentOs' 카테고리의 다른 글
centOs 7 톰캣 tomcat 날짜별 로그 삭제 스케줄 생성 방법 (0) | 2021.01.15 |
---|---|
apache tomcat log 톰캣 로그 날짜별 나누는 방법 (0) | 2021.01.05 |
Apache 아파치 javascript https 리다이렉션 redirect rewrite 설정 방법 (0) | 2020.12.07 |
CentOs7 hosts 특정 ip 만 허용하는 방법 (0) | 2020.12.01 |