Linux 490

ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?

# docker info Client: Context: default Debug Mode: false Plugins: app: Docker App (Docker Inc., v0.9.1-beta3) buildx: Docker Buildx (Docker Inc., v0.9.1-docker) scan: Docker Scan (Docker Inc., v0.17.0) Server: ERROR: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running? errors pretty printing info 위와 같이 ERROR: Cannot connect to the Docker daemon at uni..

Linux 2022.10.17

X11 forwarding request failed on channel 0

리눅스 환경에서 X11 을 구동을 하려 하는데 X11 forwarding request failed on channel 0 위와 가이 에러가 발생이 된다. # xclock Error: Can't open display: 당연히 X11 GUI 화면이 정상 출력이 안된다. 이럴 경우는 # vi /etc/ssh/sshd_config # X11Forwarding no 이렇게 된것을 X11Forwarding yes 로 변경 해주고 # service sshd restart 서비스를 재시작 해주면 된다. mobaxterm 에서도 X11 이 활성화 안되면 위와 같이 에러가 뜬다.

Linux 2022.10.12

jenkins jenkins.model.InvalidBuildsDir: ${ITEM_ROOTDIR}/builds does not exist and error

jenkins.model.InvalidBuildsDir: ${ITEM_ROOTDIR}/builds does not exist and probably cannot be created at jenkins.model.Jenkins.checkRawBuildsDir(Jenkins.java:3228) at jenkins.model.Jenkins.loadConfig(Jenkins.java:3150) Caused: java.io.IOException at jenkins.model.Jenkins.loadConfig(Jenkins.java:3153) at jenkins.model.Jenkins.access$1200(Jenkins.java:318) at jenkins.model.Jenkins$13.run(Jenkins.ja..

Linux 2022.10.11

WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.Collecting openpyxl Certificate did not match expected hostname: files.pythonhosted.org. Certificate

WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.Collecting openpyxl Certificate did not match expected hostname: files.pythonhosted.org. Certificate: {'subject': ((('countryName', 'US'),), (('stateOrProvinceName', 'California'),), (('localityName', 'San Francisco'),), (('organizationName', 'Fastly, Inc.'),), (('commonName', 'defau..

Linux 2022.10.10

libstdc++.so.5: cannot open shared object file: No such file or directory for centos8

libstdc++.so.5: cannot open shared object file: No such file or directory 라고 에러 뜨면서 작동이 안된다. centos8 환경은 기본 library 가 libstdc++.so.6 로 깔리기 때문에 libstdc++.so.5 버전을 설치 하려고 해도 지원이 안되서 설치가 안된다. 방법은 centos7 환경에서 해당 파일을 가져다 복사 하는 방법이 있다. # whereis libstdc++.so. libstdc++.so: /usr/lib/libstdc++.so.6 /usr/lib/libstdc++.so.5 /usr/lib64/libstdc++.so.6 /usr/lib64/libstdc++.so.5 해보면 해당 위치에 파일들이 있다. 이 파일을 cen..

Linux 2022.10.08

Serv-U upgrade & backup

Serv-U upgrade 하기 전에 백업을 진행 해야 한다. 혹시 모르니깐 백업은 일반적으로 Serv-U 설치 폴더에 데이터가 다 들어 있어서 해당 폴더를 백업 하면 된다. 리눅스는 /usr/local/Serv-U 폴더가 기본 설치 폴더이다. # cd /usr/local/ # scp -r Serv-U/ Serv-U_backup 백업이 완료 되면 https://customerportal.solarwinds.com/v2/downloads Customer Portal | SolarWinds customerportal.solarwinds.com 최신 버전을 다운 받아서 구동 서버에 복사를 하자 그리고 Serv-U 서비스 종료 # service Serv-U stop Serv-U is stopping... Ser..

Linux 2022.09.29

docker run --name docker-registry -d -p 5000:5000 registry/usr/bin/docker-current: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/b626916dfce1fe21ac8e331b7e35a23b51c804f698069008df4380f871e3c6a2-init/merged: invalid a

docker run --name docker-registry -d -p 5000:5000 registry /usr/bin/docker-current: Error response from daemon: error creating overlay mount to /var/lib/docker/overlay2/b626916dfce1fe21ac8e331b7e35a23b51c804f698069008df4380f871e3c6a2-init/merged: invalid argument. 위와 같이 에러가 발생을 한다면 서비스 종료 # systemctl stop docker docker 데이터 삭제 # rm -rf /var/lib/docker 변수 지정 # vi /etc/sysconfig/docker-storage DOCK..

Linux 2022.09.24
728x90
반응형