본문 바로가기

Linux/※에러※

(6)
ssh 접속 에러: REMOTE HOST IDENTIFICATION HAS CHANGED! ssh 접속 시 해당 에러가 발생하는 경우가 있다.     같은 ip인데 호스트 정보가 다른 경우에 볼 수 있는 에러다. 보통 같은 ip를 사용하면서서버를 지웠다 만들었다 하는 테스트 환경에서 자주 보인다.  ~/.ssh/known_hosts 파일에서 기존 ssh 호스트 키를 삭제하면 해결된다. 또는 아예 파일 자체를 삭제하는 방법도 있다. 삭제해도 무방하다면 이 방법이 제일 편하다.  rm ~/.ssh/known_hosts
No such command: https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 더 이상 저 주소로 EPEL repository를 설치할 수 없다.  바뀐 url:yum install https://dl.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm      만약 인터넷 사용이 불가한 환경이라면 직접 repo 파일 구성:[epel]name=Extra Packages for Enterprise Linux 7 - $basearch# It is much more secure to use the metalink, but if you wish to use a local mirror# place its address here.#baseurl=http://download.example/pub/..
mirror.centos.org HTTP Error 404 - Not Found 에러메세지:  http://mirror.centos.org/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not FoundTrying other mirror.To address this issue please refer to the below wiki articlehttps://wiki.centos.org/yum-errorsIf above article doesn't help to resolve this issue please use https://bugs.centos.org/. One of the configured repositories failed (CentOS 7 - BaseOS), and yum doesn't have e..
nslookup connection timed out; no servers could be reached systemd-resolved 서비스가 동작중인지 확인. systemctl status systemd-resolved 다시 실행시켜준다. systemctl start systemd-resolved.service 확인.
systemctl 에러: journalctl 로 에러 로그 확인하는 방법(Failed to start Vsftpd ftp daemon) Rocky Linux 9 CentOS-7-x86 Subnet IP: 10.0.0.0 Subnet Mask: 255.255.255.0 Gateway IP: 10.0.0.254 10.0.0.1/24 문제 /etc/vsftpd/vsftpd.conf 파일 작업 후 systemctl enable --now vsftpd 명령어로 부팅 시 자동으로 시작하도록 했으나 에러 발생 원인 문제의 원인을 알기 위해서 위의 에러메세지를 다시 확인해봅시다. See "systemctl status vsftpd.service" and "journalctl -xeu vsftpd.service" for details. 에러를 확인하는 두 가지 방법을 알려줬습니다. 해결 방법1. systemctl status vsftpd.service ..
Rocky Linux 9 패키지 install 오류 해결(none of the providers can be installed) Rocky Linux 9 CentOS-7-x86 Subnet IP: 10.0.0.0 Subnet Mask: 255.255.255.0 Gateway IP: 10.0.0.254 10.0.0.1/24 문제 dnf install -y vsftpd 실행 시 none of the providers can be installed 에러 발생. 패키지 및 각종 파일이 설치가 안된다는 메세지가 뜹니다. 다른 패키지는 설치가 되는데 vsftpd만 말썽입니다. 원인 repository 파일을 잘못 건드려서 발생한 문제로 보입니다. 해결 scp /etc/yum.repos.d/* root@10.0.0.1:/etc/yum/repos.d/ scp 명령어는 원격서버에 있는 파일과 폴더를 보내고 가져올 수 있는 명령어입니다. 다른 정상..