젠킨스 파이프라인 Jenkinsfile 을 이용해 도커 빌드를 해야하는데권한 설정을 해주지 않으면 아래와 같은 에러가 발생하게 된다. [Pipeline] sh+ docker build -t test:1.0 -f Dcokerfile .ERROR: permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Head "http://%2Fvar%2Frun%2Fdocker.sock/_ping": dial unix /var/run/docker.sock: connect: permission denied 딱봐도 권한 에러도커 데몬은 root 권한에서 실행하며 /var/run/docker.soc..
레드헷 계열 리눅스에 도커를 설치하려고 하면 내가 원하는 도커는 없고 이상한 녀석이 있다. [root@localhost ~]# dnf install dockerLast metadata expiration check: 1:09:09 ago on Tue 28 Oct 2025 04:00:26 PM KST.Dependencies resolved.===================================================================================================================== Package Arch Version ..
노드 템플릿을 하나 사용하게 되어 셋팅 후 npm install 을 수행했는데아래와 같이 오류가 났다. npm error code 3221225477 npm error path D:\...\node_modules\node-sass npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js npm error A complete log of this run can be found in: C:\...\AppData\Local\npm-cache\_logs\2025-08-18T03_06_28_934Z-debug-0.log node-sass의 문제인건 아는데 정확하게 뭔지 알 수 없기에 ..
버전 낮은 리눅스에서 아파치 웹서버의 일부 설정만 변경 후 설정 갱신만 하고자 할때reload 명령어를 수행하면 아래와 같은 실패 메세지를 출력할 것이다. [root@localhost /]# systemctl reload httpdFailed to reload httpd.service: Job type reload is not applicable for unit httpd.service.See system logs and 'systemctl status httpd.service' for details. 그렇다고 운영중인 서비스를 내렸다 올릴 수 없지 않은가.... * 단, 모듈 추가나 포트변경은 내렸다 올려야함. 이럴때는 apachectl 명령어로 우아하게 갱신해주면 된다 [root@loca..
jenkins 에서 git 자동배포를 잘해주다가 배포 브런치를 푸시했는데 jenkins 가 아무 반응이 없었다. GitHub Hook Log 를 확인 했더니 아래와 같았다. FATAL: hudson.plugins.git.GitException: Failed to setup credentials... 뭔가 인증쪽에서 문제가 발생한 것 같다.해결하고보니 나는 2가지가 문제였다. 1. github > Personal Access Token 이 만료되지 않았지만 git api 와 커넥션 실패 : Failed to connect to repository : Failed to setup credentials 2. git repository 에 설정한 계정문제 : Invalid username ..
앞단에 웹서버를 Nginx 를 사용하고 있는 상태에서어플리케이션서버의 용량을 아무리 늘려봤자 Nginx 에 설정 된 요청크기를 초과하면 request 를 받을 수 없다. 그래서 어플리케이션서버의 용량과 동일하거나 더 크게 설정해야 한다. 어플리케이션 서버에서는 프로퍼티에 최대 파일 사이즈를 100MB 로 설정하였다. spring: servlet: multipart: max-file-size: 100MB location: /data/uploadFiles Nginx 의 default body size 는 1MB 이다.그래서 Nginx 의 설정없이 사이트를 운영하면 1MB 이상의 요청이 있을때 에러메세지를 낼 것이다. Nginx의 구성에 따라 사이즈를 조정해줘야..