본문 바로가기
728x90

IT 전산/Server8

아파치 웹 "You don't have permission to access this resource" 에러 해결하기 최근에 아파치(Apache)를 이용해 워드프레스(WordPress) 웹페이지를 구축하는 과정에서 내부 네트워크에서는 문제없이 페이지에 접속할 수 있었지만, 외부에서 접속을 시도했을 때 다음과 같은 오류 메시지가 나타났습니다. [오류 내용] Forbidden You don't have permission to access this resource. Apache/2.4.58 (Win64) PHP/7.4.33 mod_fcgid/2.3.10-dev Server at 192.168.100.159 Port 80 이 오류 메시지는 대놓고 권한문제라고 친절히 안내해주기 때문에 이를 해결하기 위해, 먼저 아파치 서버의 에러 로그를 확인했습니다. 로그에는 다음과 같은 내용이 있었습니다. [에러로그] [authz_core:.. 2023. 12. 11.
그룹웨어 리눅스 서버의 용량 큰 파일 찾기 오늘 그룹웨어 서버에 용량 경고가 뜨자, 어떤 파일을 정리해야 할지 확인하기 위해 du . -h 명령어로 용량을 검사했습니다. 와 근데.. 위 사진처럼 파일이 너무 많아 효과적인 검사가 어려웠던 상황입니다. 그래서 다음 단계, 용량이 큰 상위 20개 파일을 찾기 위해 du . -h --max-depth=1 | sort -hr | head -20 명령어를 시도.. 그러나 역시 이 방법도 결과가 나오기까지 시간이 오래 걸려 더 나은 방법을 찾아보니.. du -h --threshold=1M 명령어를 사용해보니 메가바이트 단위의 파일만을 먼저 검색되더라구요? 근데 이마저도 결과가 많아서 기가바이트 단위로 필터를 변경했습니다. du -h --threshold=1G 명령어로 변경하니, 훨씬 더 관리 가능한 수준의 .. 2023. 11. 24.
윈도우에서 MySQL 설치시 오류 ("Error Number 1045 Access denied for user 'root'@'localhost' (using password: NO)") 윈도우에서 MySQL Server 설치시 이런 메세지가 뜨는 경우가 있습니다. [오류 내용] The security settings could not be applied. Error Number 1045. Access denied for user 'root'@'localhost' (using password: NO) [오류 내용] The security settings could not be applied to the database because the connection has failed with the following error. Error No. 1045 Access denied for user 'root'@'localhost' (using password: NO) If a personal f.. 2023. 11. 21.
오류해결 ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === 자빅스 실행불가 문제 [오류내용] ==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units === Authentication os required to start 'zabbix-server.service'. Authenticating as: zabbix Password: ==== AUTHENTICATING COMPLETE ==== Job for zabbix-server.service failed because the control process exited with error code. See "systemctl status zabbix-server.service" and "journalctl -xe" for details. [해결방법] 권한이 없던 것이였다. sudo s.. 2023. 11. 15.
728x90