• 카테고리

    질문 & 답변
  • 세부 분야

    데브옵스 · 인프라

  • 해결 여부

    미해결

varant up cent2 시 mariadb 다운로드 time out

22.09.02 00:33 작성 조회수 232

0

cent2: MariaDB 0.0 B/s | 0 B 02:04

cent2: Errors during downloading metadata for repository 'mariadb':

cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30757 milliseconds]

cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30727 milliseconds]

cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30464 milliseconds]

cent2: - Curl error (28): Timeout was reached for https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64/repodata/repomd.xml [Connection timed out after 30723 milliseconds]

cent2: Error: Failed to download metadata for repo 'mariadb': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

cent2: No repository match: AppStream

위와 같이 마리아 디비를 다운로드 받지 못하네요..

답변 1

답변을 작성해보세요.

0

로그를 보니 https://ftp.harukasan.org/mariadb/mariadb-10.4.26/yum/rhel/8/x86_64 이곳에서 mariadb 설치 패키지를 다운받으려고 하는데 이 사이트에 접속이 안되는 것이 에러의 원인인 것 같습니다.

다음과 같은 방법으로 다시 설치를 해보셨으면 합니다.

1. 실행한 vagrant로 만들어진 모든 서버를 삭제(destroy)

2. Varantfile을 문서편집기로 열고 58번째줄의

sudo dnf -y install nano vim git net-tools tar binutils psmisc wget sysstat dialog epel-release

이 부분에서 epel-release 를 삭제하고 저장

주의) Vagrantfile에 epel-release가 3개 들어가있는데 그 중에서 58라인만 해당합니다.

3. vagrant up 다시 실행.

이렇게 실행해보시고 안되면 로그와 함께 다시 질문을 올려주세요.